Old 19th July 2011, 14:14   #1
Puck1982
Junior Member
 
Join Date: Jul 2011
Posts: 1
Random format response for Radio Api

Hi, I have just noticed a strange behaviour for the genre search api ( http://dev.aol.com/SHOUTcast/documentation#34 )
For this api seem to be impossible to specify the response format, but when I call it I receive as response a random format, sometimes JSON, sometimes XML.
Puck1982 is offline   Reply With Quote
Old 19th July 2011, 14:19   #2
DrO
 
Join Date: Sep 2003
Posts: 27,873
i believe that's an internally noted issue with that api as its one which replicates the prior apis and as such is meant to be xml only (as of it's current implementation).

i've made a note about it again though i cannot say when someone will get around to looking into the issue with that and looking to expand it to support a response format (as i've seen asked once elsewhere).

also as a note, all current documentation is now at http://wiki.winamp.com/wiki/SHOUTcast_Developer instead of the dev.aol.com link

-daz
DrO is offline   Reply With Quote
Old 20th July 2011, 21:46   #3
DrO
 
Join Date: Sep 2003
Posts: 27,873
as a quick update, this issue is internally fixed and will be available when an update to the api code is pushed to production over the next few days (along with fixing the 20022 error which keeps happening).

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

Tags
json, xml

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