Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
[AUDIO] lastfm script (bookmarks, auto-login, etc.)
02-05-2009, 06:50 PM
Post: #31
RE: [AUDIO] lastfm script (bookmarks, auto-login, etc.)
don't work anymore Sad

same with the msp Plugin, did last.fm change something?
Find all posts by this user
02-05-2009, 06:52 PM
Post: #32
RE: [AUDIO] lastfm script (bookmarks, auto-login, etc.)
Mine quit working the last day or two. Is there something up with Last.FM? Other machines on my network can use Last.FM, but not the PCH or another computer running SwissCenter for Last.FM on the PCH.
Find all posts by this user
02-05-2009, 08:25 PM
Post: #33
RE: [AUDIO] lastfm script (bookmarks, auto-login, etc.)
(02-05-2009 06:52 PM)ricocarlos Wrote:  Mine quit working the last day or two. Is there something up with Last.FM? Other machines on my network can use Last.FM, but not the PCH or another computer running SwissCenter for Last.FM on the PCH.

The script indeed stopped working (also for me). The problem is rather with the method (i.e., the script), not the computer -- I tried running the script on my laptop: the handshake is successful and I get the stream url, but then attempting to play the stream stops with "connection refused".

Which players work for you?
Find all posts by this user
02-05-2009, 08:49 PM
Post: #34
RE: [AUDIO] lastfm script (bookmarks, auto-login, etc.)
Well, it will run on every computer on my network...except the one that I have SwissCenter running on...which accesses Last.Fm. BTW, if I go to the site on that computer, it will error out when buffering.
Find all posts by this user
02-05-2009, 09:02 PM (This post was last modified: 02-05-2009 09:55 PM by mk11.)
Post: #35
RE: [AUDIO] lastfm script (bookmarks, auto-login, etc.)
It seems that SwissCenter has the same problem -- somebody posted a message on their forum. For me only the flash player on the last.fm web site works -- any other player I tried on linux fails. So this might be a more general problem.
I've found a solution, but porting it to NMT might take a while. As I don't have much time now, if anyone wants to experiment a bit, here is a hint: take the source code of shell-fm (which apparently works), and have a look at the files "service.c" and "playlist.c". I'm afraid, however, that implementing the protocol from those files won't be possible with a simple shell script (like the one I posted).
Find all posts by this user
02-13-2009, 06:20 PM (This post was last modified: 02-13-2009 06:23 PM by wickedgame76.)
Post: #36
RE: [AUDIO] lastfm script (bookmarks, auto-login, etc.)
AAAAH noo... Can anyone confirm that this CGI script not working anymore. I have tried to install it but it gives me the 'request cannot be processed' page.

I would really like if this script is working again, for me the MSP plugin is to much work to start a station or watsoever, therefore i hope this can be fixed somehow...

Kind regards.
Find all posts by this user
02-14-2009, 11:45 PM (This post was last modified: 02-14-2009 11:51 PM by empatico.)
Post: #37
RE: [AUDIO] lastfm script (bookmarks, auto-login, etc.)
As mk11 said, It don't works.

Just be patient. mk11 said he don't have much time now, so wait until he can fix the problem.

Also the MSP plugin and SwissCenter don't work.
(02-05-2009 09:02 PM)mk11 Wrote:  For me only the flash player on the last.fm web site works -- any other player I tried on linux fails. So this might be a more general problem.
Banshee player works for me (http://banshee-project.org/). As far as i know this player can not be compiled to work with NMT.
Find all posts by this user
02-21-2009, 05:50 PM
Post: #38
RE: [AUDIO] lastfm script (bookmarks, auto-login, etc.)
The new version of the script is ready (see the first post). It should now work. If not for this bug http://www.networkedmediatank.com/showth...?tid=17025 the script would be much simpler, faster, and ready many days ago.
Find all posts by this user
02-21-2009, 07:01 PM
Post: #39
RE: [AUDIO] lastfm script (bookmarks, auto-login, etc.)
Thank you for your great job. I will try and provide some feedback.
Find all posts by this user
02-22-2009, 07:37 PM
Post: #40
RE: [AUDIO] lastfm script (bookmarks, auto-login, etc.)
(02-21-2009 07:01 PM)empatico Wrote:  Thank you for your great job. I will try and provide some feedback.

Works fine. I will try to edit the code because i need to do it easy to use for my parents, and translate to Spanish.
Find all posts by this user
02-22-2009, 10:36 PM
Post: #41
RE: [AUDIO] lastfm script (bookmarks, auto-login, etc.)
(02-22-2009 07:37 PM)empatico Wrote:  Works fine. I will try to edit the code because i need to do it easy to use for my parents, and translate to Spanish.

If you manage to improve the script, please share the updated code on the forum, so that others (including me) can benefit from that.

Also, if you want to translate the script to Spanish, it would be nice if you first extracted the English messages into some variables in the config file -- this would make further translations a lot easier.
Find all posts by this user
02-23-2009, 10:58 AM
Post: #42
RE: [AUDIO] lastfm script (bookmarks, auto-login, etc.)
hi, me again,

i cant get the new script to work :/

when i start the lastfm-bookmarks.html the PCH load some time an then i see the text from the cgi script an my TV...

I copy alle files via Filezilla and set mode 755, same way i do it with the old files.

any idea?
Find all posts by this user
02-23-2009, 02:02 PM
Post: #43
RE: [AUDIO] lastfm script (bookmarks, auto-login, etc.)
(02-23-2009 10:58 AM)meowmoo Wrote:  when i start the lastfm-bookmarks.html the PCH load some time an then i see the text from the cgi script an my TV...

I've had the same problem, the solution is to change url in last-fmbookmarks.html to full path: http://localhost.drives:8883/HARD_DISK/l...?bookmarks .
I'm not sure what's the reason here...
Find all posts by this user
[+] 1 user says Thank You to jesion for this post
02-23-2009, 02:42 PM (This post was last modified: 02-23-2009 03:44 PM by meowmoo.)
Post: #44
RE: [AUDIO] lastfm script (bookmarks, auto-login, etc.)
thanks now i'm happy again !Big Grin
Find all posts by this user
02-23-2009, 04:53 PM
Post: #45
RE: [AUDIO] lastfm script (bookmarks, auto-login, etc.)
(02-22-2009 10:36 PM)mk11 Wrote:  If you manage to improve the script, please share the updated code on the forum, so that others (including me) can benefit from that.

Sure i will upload if i succeed. I really don't know if i have enough skills to do the same changes i did to first script, because the first script was easier than the second one.

(02-22-2009 10:36 PM)mk11 Wrote:  Also, if you want to translate the script to Spanish, it would be nice if you first extracted the English messages into some variables in the config file -- this would make further translations a lot easier.

I will try but i really don't know how to use variables. Usually i just edited the html and cgi files translating English to Spanish.
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Bierdopje auto-sub for A-110 BeeVee 19 5,587 12-27-2013 09:12 AM
Last Post: Djiest
  Pure Web Remote Control or Listening Audio with switched off TV pompon 170 86,014 10-08-2013 03:24 PM
Last Post: alkr
Star [Apps] Bierdopje 4 NMT PHP script SilverViper 4 2,426 11-26-2012 04:57 PM
Last Post: Djiest
  Audio App to play lists or whole directories? danielfm 1 1,297 01-24-2012 12:55 AM
Last Post: geerten
  PCH Audio playlist format? Nono 4 2,364 10-05-2011 10:10 PM
Last Post: Nono
  Need help debugging a simple script to enable NTFS write on HDD user33 10 4,396 04-05-2011 06:05 PM
Last Post: nuke12
  Help with Server Timeout Error running a script hindibuff 0 2,152 03-29-2011 06:21 AM
Last Post: hindibuff
Bug Executing a script on the server from the NMT? johnk 6 4,142 02-21-2011 10:59 PM
Last Post: johnk
  Stream movie audio over network Irri 0 1,740 11-06-2010 11:52 AM
Last Post: Irri
  help with auto unrar script. kiranos 0 2,084 05-15-2010 10:24 AM
Last Post: kiranos

Forum Jump: