Old 18th June 2012, 23:53   #1
Junior Member
Join Date: Jun 2012
Posts: 1
/admin.cgi?sid=1&mode=viewxml <ARTIST>

Under <SONGHISTORY> there is <TITLE> how would I go about adding a spot for just the <ARTIST> ?

so I can display the artist and song separately on my website
CanadianJeff is offline   Reply With Quote
Old 19th June 2012, 01:24   #2
Join Date: Sep 2003
Posts: 27,873
there's no means for you to add additional output to the xml provided by the DNAS (at least that's how i'm interpreting what you're asking).

you should be able to split the title value down into the parts you want assuming your files / DJ titles are all formatted consistently then you probably should be able to split it into artist and title. since the usual SHOUTcast title formatting style is artist - title.

though it almost sounds like you might be better off querying /admin.cgi?sid=1&mode=viewxml&page=5 (assuming you're using v2 sources) and you should then be able to pull the specific title parts as wanted (as long as the source is providing v2 metadata which usually tries to provide the titles in their constituent parts). details on the common values can be found in the docs.

DrO is offline   Reply With Quote
Go Back   Winamp & Shoutcast 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