Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Song Title and Artist Code

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Dev Branches
View previous topic :: View next topic  
Author Message
calmradio



Joined: 30 Dec 2009
Posts: 10
Location: Toronto, ON, Canada

PostPosted: Thu Jan 07, 2010 7:06 pm    Post subject: Song Title and Artist Code Reply with quote

I've got an iPhone app in development. How can I get Song Title and Artist information from Icecast?
I need to provide it to the developer.

Thanks

Eric
Back to top
View user's profile Send private message Send e-mail Visit poster's website
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Jan 07, 2010 7:51 pm    Post subject: Reply with quote

for ogg, the title is in the header packet, for non-ogg then you would have to request shoutcast metadata inserts and filter them out before decoding.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
calmradio



Joined: 30 Dec 2009
Posts: 10
Location: Toronto, ON, Canada

PostPosted: Thu Jan 07, 2010 8:14 pm    Post subject: Reply with quote

Thank you

Am I correct in my interpretation of your reply, that I would need to relay from an Icecast mountpoint, then create another Shoutcast server...then extract?

I since have found XML Stats for Icecast, is this only for ogg types?

<?xml version="1.0"?>
<icestats>
<artist></artist>
<title></title>
</source>
</icestats>

Eric
Back to top
View user's profile Send private message Send e-mail Visit poster's website
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Jan 07, 2010 9:20 pm    Post subject: Reply with quote

Ah, again vague question issue. Reading just the artist and title information from icecast can be done via stats, where I was talking about the stream. The problem you have with non-ogg types is that there is no such thing as separate artist and title, only metadata, generally in the form of artist - title where the for format is open to interpretation. You should be able to retrieve the information from the xsl if it is provided. No other server is required for that.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Dev Branches All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber