View previous topic :: View next topic |
Author |
Message |
calmradio
Joined: 30 Dec 2009 Posts: 10 Location: Toronto, ON, Canada
|
Posted: Thu Jan 07, 2010 7:06 pm Post subject: Song Title and Artist Code |
|
|
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 |
|
![](templates/subRebel/images/spacer.gif) |
karlH Code Warrior
![Code Warrior Code Warrior](templates/subRebel/images/ranks/rank_dev.gif)
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Jan 07, 2010 7:51 pm Post subject: |
|
|
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 |
|
![](templates/subRebel/images/spacer.gif) |
calmradio
Joined: 30 Dec 2009 Posts: 10 Location: Toronto, ON, Canada
|
Posted: Thu Jan 07, 2010 8:14 pm Post subject: |
|
|
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 |
|
![](templates/subRebel/images/spacer.gif) |
karlH Code Warrior
![Code Warrior Code Warrior](templates/subRebel/images/ranks/rank_dev.gif)
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Jan 07, 2010 9:20 pm Post subject: |
|
|
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 |
|
![](templates/subRebel/images/spacer.gif) |
|