Old 27th June 2012, 13:53   #1
Keith777
Junior Member
 
Join Date: Jun 2012
Posts: 1
Current Track Problem

Hi,

I'am currently accessing a radio station using the ShoutCast API and I can see the current track for stations by accessing this URL: http://api.shoutcast.com/legacy/stationsearch?k=[My ID]&search=[a station]

However it seems that the current track information is often wrong and changes far too often.

Anybody else noticed this problem?
Keith777 is offline   Reply With Quote
Old 27th June 2012, 14:12   #2
DrO
 
Join Date: Sep 2003
Posts: 27,873
it depends on the station and what version of the DNAS they are using as to how good the information is.

if using a v1 DNAS for the stream then the title reported can be up to 10minutes out from what is actually playing since the v1 DNAS only updates the title to the YP when it is touched.

if using a v2 DNAS then that will generally update the title when the title changes and so should be a minute or so out at most.


i take it you're doing something like comparing against what is reported on the DNAS status page vs the API response to come to the above observation?

-daz
DrO is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > SHOUTcast > SHOUTcast Technical Support

Tags
api, current track, shoutcast

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