Re: Retrieving stream title from playlist
Re: Retrieving stream title from playlist
- Subject: Re: Retrieving stream title from playlist
- From: Arnab Ganguly <email@hidden>
- Date: Tue, 2 Jun 2009 18:39:50 +0530
Hi All,
When my player is launched it is able to stream the pls files form the Shoutcast and I get the following outputs in the standard console "StreamTitle='Lene Marlin - Sitting Down Here';StreamUrl='';I am using CFRunLoopRunInMode.I searched in the code couldn't find the string "StreamTitle".Can anybody help how this string is coming from the play list file?Is it possible to output this string to some standard file?
Thanks in advance.
Arnab
On Sat, May 23, 2009 at 12:13 AM, Chris Adamson
<email@hidden> wrote:
I implemented this Shoutcast streaming-MP3-over-HTTP years ago in Java, and abandoned it almost immediately when Sun pulled MP3 out of Java. I wrote some articles on parsing ID3 and Shoutcast/ICY tags that were never published. They're available at:
Presumably, if you're reading a stream with URL Loading Service, CFNetwork, or some other Mac/iPhone API, you'll need to parse out the ICY stuff by hand and handle the non-ICY bytes to Audio File Stream Services.
--Chris
On
May 20, 2009 10:35:03 PM EDT,
Arnab Ganguly <email@hidden> wrote:
Any pointers can be provided to proceed on this?
-A
On Thu, May 21, 2009 at 8:03 AM, Kyle Sluder
<email@hidden> wrote:
On Wed, May 20, 2009 at 10:32 PM, Arnab Ganguly <
email@hidden> wrote:
> Would like to know while playing is it possible to retrieve the StreamTitle
> being played and the StreamURL ?Is there any AQ functions available which
> already does this?
No, that's part of the ICY protocol. You need to extract that info yourself.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden