Go Back   Winamp Forums > SHOUTcast > SHOUTcast Technical Support

Reply
Thread Tools Search this Thread Display Modes
Old 8th April 2012, 16:04   #1
gavin2812
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!
gavin2812 is offline   Reply With Quote
Old 8th April 2012, 16:14   #2
gavin2812
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
gavin2812 is offline   Reply With Quote
Old 8th April 2012, 20:53   #3
DrO
-
 
DrO's Avatar
 
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
DrO is offline   Reply With Quote
Old 8th April 2012, 22:15   #4
gavin2812
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.
gavin2812 is offline   Reply With Quote
Old 8th April 2012, 22:26   #5
gavin2812
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.
gavin2812 is offline   Reply With Quote
Old 9th April 2012, 09:41   #6
DrO
-
 
DrO's Avatar
 
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
DrO is offline   Reply With Quote
Old 9th April 2012, 09:55   #7
gavin2812
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.
gavin2812 is offline   Reply With Quote
Old 9th April 2012, 10:17   #8
DrO
-
 
DrO's Avatar
 
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
DrO is offline   Reply With Quote
Old 17th April 2012, 11:17   #9
gavin2812
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?
gavin2812 is offline   Reply With Quote
Old 17th April 2012, 11:30   #10
DrO
-
 
DrO's Avatar
 
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
DrO is offline   Reply With Quote
Reply
Go Back   Winamp Forums > SHOUTcast > SHOUTcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump