|
|
#1 |
|
Senior Member
Join Date: Jan 2006
Posts: 128
|
Force 'now playing' update to shoutcast server
Hi all,
A while back I recall findout out how to force an update to the shoutcast server to modify the ';now playing' artist and song info that is later displayed on the client players. I can't for the life of me remember how I did this! I rememeber it was a single url that included the user/pass of the server and also the title I wanted to give the item playing. The reason for doing this is that we have some shows playing taht have irrelevant titles and I want to update to give them a 'pretty' name... Can Anyone remind me how this was done? Thanks! |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Jan 2006
Posts: 128
|
I've just tried this (i found it earlier) but it doesnt seem to work...
http://ip:port/admin.cgi?pass=my_pas...=Spencer_James |
|
|
|
|
|
#3 |
|
-
Join Date: Sep 2003
Location: UK
Posts: 22,278
|
what version of the DNAS are you using?
if it's a v2 DNAS then you need sid=# in there as well e.g. /admin.cgi?sid=1&pass=my_password&mode=updinfo&song=Spencer_James for stream #1 -daz |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Jan 2006
Posts: 128
|
Hi, it is version 1.9.8
The reply I get is Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data. |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Jan 2006
Posts: 128
|
Hi, sorry, the above does work, I was expecting it to do it immediately and it takes a few seconds to come through, I obviously wasnt counting on the buffer time, etc... Thanks for responding.
|
|
|
|
|
|
#6 |
|
-
Join Date: Sep 2003
Location: UK
Posts: 22,278
|
yeah, the buffers will cause the update to be delayed, with it taking longer if running at a lower bitrate. at least you're seeing it working which is the main thing.
-daz |
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Jan 2006
Posts: 128
|
Hi, yes, it does work, thank you.
One question, is there a more elegant way of actually sending the updates as at the moment I am writing .bat files in DOS scheduled by task manager (which is fine), which launches a browser window which I then have to kill. I'm sure there's an easier way!? Thanks again. |
|
|
|
|
|
#8 |
|
-
Join Date: Sep 2003
Location: UK
Posts: 22,278
|
sorry i have zero experience with the Windows task scheduler, though it could be down to how you're calling the bat file which should generally close once the command(s) have completed. but it really depends on what / how you're sending it via the batch file.
-daz |
|
|
|
|
|
#9 |
|
Senior Member
Join Date: Jan 2006
Posts: 128
|
hmm, is there any other way to pass meta data? what I am doing (above) seems to work on winamp players, yet doesnt seem to be picked pu by other players or systems (specifically TunedIn for mobile devices.
Any ideas? |
|
|
|
|
|
#10 |
|
-
Join Date: Sep 2003
Location: UK
Posts: 22,278
|
if the DNAS is getting and showing there is metadata and some clients are able to display it, then it points towards the other players not being able to cope with the in-stream metadata sent. there is no other way unless the players directly access information from the DNAS (which is just not a real solution).
-daz |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|