Old 12th September 2018, 02:04   #1
anuka
Junior Member
 
Join Date: Sep 2018
Posts: 1
Metadata Retrieval

Hi All,

Apologies for the super basic questions, but this space is completely new to me. I'm working with a client who wants to incorporate a radio stream onto their website and mobile application.

The client is using Station Playlist and sending that out to Shoutcast. I have access to the clients SHOUTcast Streaming Service Radio Manager dashboard where I can see the station details. I can also listen to the station live via the Shoutcast public URL and free HTML5 player provided as well.

My questions are more in-line with metadata and how to retrieve that information. We are looking to grab song title, artist and cover art. I noticed in the documentation that the data can be pulled from XML outputs. I tested /admin.cgi?mode=viewxml&page=1&sid=1 and successfully saw the station metadata after entering admin and the password for the account. However, when I do this for any other URL, for example /admin.cgi?mode=viewxml&page=5 this does not work and the information cannot be accessed. I saw in the docs it states use the path http://<serverip>:<port>, for this I am using master.shoutcast.com and port 8000. Is this the incorrect information to be using? Is there a different IP and port that should be called?

I feel there may be steps that are being completed missed here, and any information or help would be greatly appreciated.

Thanks!
anuka is offline   Reply With Quote
Old 13th September 2018, 18:44   #2
RussianHacker
Junior Member
 
Join Date: Sep 2018
Posts: 4
Check out the shoutcast api documentation im certain that will help you out.
RussianHacker is offline   Reply With Quote
Old 13th September 2018, 18:46   #3
RussianHacker
Junior Member
 
Join Date: Sep 2018
Posts: 4
http://wiki.shoutcast.com/wiki/SHOUT..._Specification
RussianHacker is offline   Reply With Quote
Old 24th September 2018, 10:27   #4
milosz
Senior Member
 
Join Date: Apr 2006
Location: chicago
Posts: 112
I have a similar question. How do I get the EXTENDED SPECIFICATION DETAILS as noted on http://wiki.shoutcast.com/wiki/SHOUT...cation_Details

When I put http://198.245.61.123:8000/admin.cgi...l&page=1&sid=1 into a browser, the server returns some basic info in XML format. So, ok, this s good.

But how do I get the server to return the EXTENDED SPECIFICATION DETAILS?

And how do I configure what the server will return? The XML specification says:

Quote:
The extended section goes instead the <metadata/> block and is formatted as follows:

<extension>
<!-- Title of the currently playing media -->
<title seq="1">Artist - Title</title>
<title seq="2">The Next Artist - The Next Title</title>
.
<!-- Titles go upto the maximum number of titles the source knows off -->
<title seq="XX">The Last Artist - The Last Title</title>

<!-- Title of the next item to be played -->
<soon>The Next Artist - The Next Title</soon>
</extension>


I see "The extended section goes instead the <metadata/> block" - What? WHERE? Where is this <metadata/> block? WHERE do I edit this so I can put the HTML that is given by the XML documentation? Is there some HTML on my stream server somewhere I can't find? I don't see anything on the stream server where I could edit/configure that. What am I missing here?

And is there some documentation on the admin.cgi ?
milosz is offline   Reply With Quote
Reply
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