Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Reading playlist files for streaming (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: does SaveInfo care about drive letters?
Next thread: Apple Events And FolderItems


Win32 API Declares   -   Berg, Heath
  Reading playlist files for streaming   -   Joel Newport
   Re: Reading playlist files for streaming   -   Frank Bitterlich
   Re: Reading playlist files for Streaming   -   Joel Newport

Reading playlist files for streaming
Date: 18.08.05 17:37 (Thu, 18 Aug 2005 12:37:29 -0400)
From: Joel Newport
I am trying to figure out the .pls files so that I can create a small app
that only goes to one internet radio station (that my company will
eventually create) and listen to content. What I don't understand is that
sometimes the MoviePlayer1.movie=OpenURLMovie("") works and sometimes it
doesn't. I can't find a reason for it not. I am just trying it with
different url links I am finding on the internet.

For example

This one works.

http://www.live365.com/play/321397?SaneID 7.179.92.52-1123791678667'

This one doesn't

http://67.159.5.101:8206/

Both were extracted from a .pls file and both work in itunes.

What more does itunes do then the OpenURLMovie do?

Thanks for input.

Joel

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Reading playlist files for streaming
Date: 19.08.05 14:25 (Fri, 19 Aug 2005 15:25:51 +0200)
From: Frank Bitterlich
Hmm. The first URl just sends the stream. The second one checks the
"User-Agent"; if you go there with Safari, you het a HTML page. If
you call that URl with e.g. curl, you'll get this...
> ICY 200 OK
> icy-notice1:<BR>This stream requires <a href="http://
> www.winamp.com/">Winamp</a><BR>
> icy-notice2:SHOUTcast Distributed Network Audio Server/Linux
> v1.9.5<BR>
> icy-name:[radio.wazee] modern alternative rock (www.wazee.org)
> icy-genre:Alternative Rock
> icy-url:http://www.wazee.org
> content-type:audio/mpeg
> icy-pub:1
> icy-br:128

... and then the stream data.

Maybe launch TCPFlow or something and check what the server actually
send when you call it from a MoviePlayer. Might be a "User-Agent" issue.

Cheers,
Frank+++




Am 18.08.2005 um 18:37 schrieb Joel Newport:

> I am trying to figure out the .pls files so that I can create a
> small app
> that only goes to one internet radio station (that my company will
> eventually create) and listen to content. What I don't understand
> is that
> sometimes the MoviePlayer1.movie=OpenURLMovie("") works and
> sometimes it
> doesn't. I can't find a reason for it not. I am just trying it with
> different url links I am finding on the internet.
>
> For example
>
> This one works.
>
> http://www.live365.com/play/321397?SaneID=207.179.92.52-1123791678667'
>
> This one doesn't
>
> http://67.159.5.101:8206/
>
> Both were extracted from a .pls file and both work in itunes.
>
> What more does itunes do then the OpenURLMovie do?
>

Re: Reading playlist files for Streaming
Date: 19.08.05 20:51 (Fri, 19 Aug 2005 15:51:50 -0400)
From: Joel Newport
Thanks, I'll check it out. So iTunes is doing some communication with the
remote site, not just connecting to a stream?

Thanks so much Frank,

Joel

On 8/19/05 9:26 AM, "<email address removed>"
<<email address removed>> wrote:

> Subject: Re: Reading playlist files for streaming
> From: Frank Bitterlich <<email address removed>>
> Date: Fri, 19 Aug 2005 15:25:51 +0200
>
> Hmm. The first URl just sends the stream. The second one checks the
> "User-Agent"; if you go there with Safari, you het a HTML page. If
> you call that URl with e.g. curl, you'll get this...
>> ICY 200 OK
>> icy-notice1:<BR>This stream requires <a href="http://
>> www.winamp.com/">Winamp</a><BR>
>> icy-notice2:SHOUTcast Distributed Network Audio Server/Linux
>> v1.9.5<BR>
>> icy-name:[radio.wazee] modern alternative rock (www.wazee.org)
>> icy-genre:Alternative Rock
>> icy-url:http://www.wazee.org
>> content-type:audio/mpeg
>> icy-pub:1
>> icy-br:128
>
> ... and then the stream data.
>
> Maybe launch TCPFlow or something and check what the server actually
> send when you call it from a MoviePlayer. Might be a "User-Agent" issue.
>
> Cheers,
> Frank+++
>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>