Go Back   Winamp Forums > SHOUTcast > SHOUTcast Site Design,Widgets and Toolbar

Reply
Thread Tools Search this Thread Display Modes
Old 15th October 2009, 22:33   #1
Killzone_Kid
Member
 
Join Date: Jan 2009
Posts: 88
yp.shoutcast.com station IDs are wrong!!!!

If you do the search using yp.shoutcast.com API, the results for smaller stations have wrong ids and because of that corresponding pls files are empty.

Search for 'manga'

API
http://yp.shoutcast.com/sbin/newxml.phtml?search=manga

gives this:

PHP Code:
<station name="Radio Marimanga - Danimark - ***91;SHOUTcast.com***93;" mt="audio/mpeg" id="***91;b***93;239937***91;/b***93;" br="24" genre="shqip   albanian   any" ct="Vesa Luma - Edhe nje Fundvit" lc="537"/>

<
station name="Radio Marimanga  Danimark - ***91;SHOUTcast.com***93;" mt="audio/mpeg" id="***91;b***93;895880***91;/b***93;" br="24" genre="shqip albanian   any" ct="" lc="409"/>

<
station name="Radio Marimanga  Danimark - ***91;SHOUTcast.com***93;" mt="audio/mpeg" id="***91;b***93;556921***91;/b***93;" br="56" genre="shqip albanian   any" ct="03 Elvana Gjata - Mames" lc="144"/> 
Website gives this:

PHP Code:
manga Radio Stations
Loading
...
Bitrate:All|Broadband|128|56|28
more
Station
Radio Marimanga Danimark
Now Playing
:
-
Genreshqip albania...
291 Listeners24 kbpsMP3

http
://yp.shoutcast.com/sbin/tunein-station.pls?id=***91;b***93;599692***91;/b***93;

StationRadio Marimanga Danimark
Shrink
Now Playing
: -
Genreshqip albanian any
Listeners
291
Bitrate
:24 kbps
Type
:MP3
more

http
://yp.shoutcast.com/sbin/tunein-station.pls?id=***91;b***93;503117***91;/b***93;

StationRadio Marimanga Danimark
Now Playing
:
Trix Zeshkanja
Genre
shqip albania...
145 Listeners56 kbpsMP3
Station
Radio Marimanga Danimark
Shrink
Now Playing
Trix Zeshkanja
Genre
shqip albanian any
Listeners
145
Bitrate
:56 kbps
Type
:MP3
more

http
://yp.shoutcast.com/sbin/tunein-station.pls?id=***91;b***93;773153***91;/b***93; 
All popular stations have correct ids and valid playlists.

PHP Code:
<station name=".977 The Hitz Channel - ***91;SHOUTcast.com***93;" mt="audio/mpeg" id="6956" br="128" genre="Pop Rock Top 40" ct="Sean Kingston - Fire Burning" lc="10353"/> 

<
station name=".977 The 80s Channel - ***91;SHOUTcast.com***93;" mt="audio/mpeg" id="6740" br="128" genre="80s Pop Rock" ct="ProviderA - WebEx" lc="6051"/> 
PHP Code:
Station.977 The Hitz Channel 977...
Now Playing:
Jennifer Lopez Je...
GenrePop Rock Top...
6,899 Listeners128 kbpsMP3


http
://yp.shoutcast.com/sbin/tunein-station.pls?id=6956

Station.977 The 80s Channel 977M...
Now Playing:
Sheena Easton Mor...
Genre80s Pop Rock
3
,382 Listeners128 kbpsMP3

http
://yp.shoutcast.com/sbin/tunein-station.pls?id=6740 
Killzone_Kid is offline   Reply With Quote
Old 16th October 2009, 03:55   #2
medicalsounds
Junior Member
 
Join Date: Jul 2009
Posts: 18
Same here! Please if someone with some information would be perfect!

This is high priority for me right now....

Thanks!
medicalsounds is offline   Reply With Quote
Old 16th October 2009, 10:17   #3
Killzone_Kid
Member
 
Join Date: Jan 2009
Posts: 88
Someone was messing with the API because now it has [SHOUTcast.com] added to every search result which wasn't there before. As a result this API doesn't update any more and the only reason the most popular stations still work is because they do not change their IDs that often. This is my theory anyway, but it really is a shame that someone decided to improve it and broke it.
Killzone_Kid is offline   Reply With Quote
Old 16th October 2009, 13:27   #4
SC_faisal
Shoutcast Dev Team
 
Join Date: Sep 2008
Posts: 163
Have you guys tried to shut down your DNAS, wait for it to send a rem srv and then restarted it? This will cause the old stale ID from the ID to be removed and repopulated with a new one.

The [SHOUTcast.com] added to APIs has no effect on the IDs and shouldnt matter.

f.
SC_faisal is offline   Reply With Quote
Old 16th October 2009, 13:35   #5
Killzone_Kid
Member
 
Join Date: Jan 2009
Posts: 88
Sorry my initial post was made in a haste I havent hhad a chance to investigate. After looking at the problem...

...the API is just doesn't update period. It is frozen on the god knows how old information. Even the popular stations are frozen, the IDs are right for them because they don't change often, but everything else is incorrect like the song titles and the listener count.

The website search directly from shoutcast.com works. It is the API that doesn't.

If you are using the same database for both API and website scripts then API is somehow lost access to that database and is stuck on cached information.

Sorry I wasn't too clear before.
Killzone_Kid is offline   Reply With Quote
Old 16th October 2009, 13:42   #6
Killzone_Kid
Member
 
Join Date: Jan 2009
Posts: 88
Try API:

http://yp.shoutcast.com/sbin/newxml.phtml?search=[yourkeyword]

Then try the same keyword at

http://www.shoutcast.com

The same station information would different on both searches, which should be the same.
Killzone_Kid is offline   Reply With Quote
Old 16th October 2009, 13:53   #7
medicalfix
Junior Member
 
Join Date: Nov 2008
Location: Philadelphia, PA
Posts: 24
I agree same issue here, and I have tried to do the same check... APIs are a little mess-up!
medicalfix is offline   Reply With Quote
Old 16th October 2009, 14:16   #8
SC_faisal
Shoutcast Dev Team
 
Join Date: Sep 2008
Posts: 163
Thanks for the headz up guys... Looking into it and fixing it ASAP!

f.
SC_faisal is offline   Reply With Quote
Old 16th October 2009, 15:02   #9
medicalfix
Junior Member
 
Join Date: Nov 2008
Location: Philadelphia, PA
Posts: 24
Great! Thanks so much! Please keep us posted
medicalfix is offline   Reply With Quote
Old 16th October 2009, 15:12   #10
SC_faisal
Shoutcast Dev Team
 
Join Date: Sep 2008
Posts: 163
This should now be fixed... Check it out and let us know!

f.
SC_faisal is offline   Reply With Quote
Old 16th October 2009, 15:18   #11
Killzone_Kid
Member
 
Join Date: Jan 2009
Posts: 88
Yep, works like a charm Thanks a lot!
Killzone_Kid is offline   Reply With Quote
Reply
Go Back   Winamp Forums > SHOUTcast > SHOUTcast Site Design,Widgets and Toolbar

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