PDA

View Full Version : AlienBBC and WMA Streaming



Patrick Delamere
2004-11-28, 16:28
Incidentally, I just ran



wget http://love.str3am.com/asx/xpn.asx



in my /var/slimserver/playlists/AlienStream folder and it is streaming
through beautifully. :-)



To get this working properly though, I did have to edit the xpn.asx file to
remove the first wma stream, which kept on looping round.......asking me to
become a member etc.......



However, I only just got it working today.......read on.......



I use SUSE Linux 9.1, Slimserver 5.4 and Alienstream 0.11. I just followed
the instructions on the following website:



http://www.antfarm.co.za/clients/5fm/linux.asp



And I now have an ASX stream broadcasting from my Squeezebox via Mplayer.



Incidentally, I didn't change anything in my config as I already had WMA's
playing through my Squeezebox - however, the above site did provide me with
a bit of a Eureka moment. ;-)



I just tried putting



SWR3 Radio (German)

mms://213.200.75.252/swr3$livestream.wma



in a .pls before and it didn't work.



The solution ended up being simple. The wma URL only works if it is
contained within a ".asx" file.



You MUST ensure that you can play WMA files before you've even got a hope of
playing WMA streams.



See the following site for more details if you don't yet have this working:



http://www.pfarrell.com/music/slimserver/tips.html



Follow the instructions in the "WMA and Slim" section. Once you have played
a WMA file successfully, you should also be able to play WMA streams.



If you want to test your WMA streaming, run the following command on your
Linux box.



Mplayer -playlist xpn.asx



I hope the above helps. :-)



The problem I have with most WMA streams though, is that they operate on
some form of redirection, which isn't accessible via Mplayer - but then
that's my guess as I am no expert in how WMA streaming URLs really work. ;-)



For example, see the URL below, which I would dearly like to get working.



Radio Hamburg (Hamburg)

http://lsd.newmedia.tiscali-business.com/bb/redirect.lsc?adid=0
<http://lsd.newmedia.tiscali-business.com/bb/redirect.lsc?adid=0&stream=radi
ohamburg$livestream.wma&content=live&media=ms>
&stream=radiohamburg$livestream.wma&content=live&media=ms



Jules, I meant to give you my streams that I tried to get working last time
for your "Other Streams" section.



WDR 5 (German)

http://www.wdr.de/wdrlive/media/wdr5.smil



WDR2 (German)

http://www.wdr.de/wdrlive/media/wdr2.smil



WDR Eins Live (German)

http://www.wdr.de/wdrlive/media/einslive.smil



Cheers!



Patrick





-----Original Message-----

From: discuss-bounces (AT) lists (DOT) slimdevices.com
[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of Meshoulam, Arnon

Sent: 28 November 2004 20:30

To: Slim Devices Discussion

Subject: [slim] AlienBBC and WMA Streaming



I am a bit confused here.

I have a list of WMA internet stations that I can't get mplayer to play,

but using wmatool on windows they work fine.

Given this logic, why can't AlienBBC play on Windows using wmatool? ...

And any advice on getting mplayer to play these stations? Using Fedora

Core 2



Arnon



-----Original Message-----

From: discuss-bounces (AT) lists (DOT) slimdevices.com

[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of Jules Taplin

Sent: Sunday, November 28, 2004 5:46 PM

To: Slim Devices Discussion

Subject: [slim] AlienBBC and WMA Streaming



Hi Michael.



The honest answer is 'maybe'. AlienBBC uses mplayer to transcode for

you... so... if mplayer can play WXPN, then I think AlienBBC will see

you right.



Does that tell you what you need to know, or do you need more

information?





-- Jules







Michael J. Tarr wrote:



> A query. On a linux box will AlienBBC enable listening to WMA streams?



> Specifically, WXPN?

>

> I assume Slimserver does not have the ability to play WMA streams

> except on Windows machines...

>

> Thanks, Mike

>

>

Arnon Meshoulam
2005-01-11, 16:23
Patrick, thanks for those details. hit it right on.

Jules, can you add the .asx details to your web page. Something like:

To add other WMA stations:
1. Create a .asx file in AlienBBC playlist directory
2. Test using mplayer .asx file

BTW, one station I can't get to work is mms://stream.msn.co.il/glz-stream
Any ideas why?

Arnon

Patrick Delamere
2005-01-11, 21:09
Hi Arnon,

I think I have got the link working for you. :-)

The only thing is though, I am away from home connecting to my server using ssh, so I am relying on log output and not sound from the Squeezebox to determine the success or otherwise..........I am pretty confident though.&nbsp; ;-)

The stange thing is that whilst your stream seemed to work when calling the stream directly from the command line using mplayer.&nbsp; eg

mplayer -playlist http://stream.msn.co.il/glz-stream

It didn't work when I put the above stream URL into a playlist file.&nbsp; eg.&nbsp; Glz_Radio.asx.

mplayer -playlist Glz_Radio.asx

However, when mplayer did play the stream correctly (by calling it outside of the ASX file), it did reveal another URL which did indeed work when place into an ASX playlist file.

To get the correct stream address, I completed the following tasks:

1.&nbsp; Played the original stream by launching the following command (Linux):

mplayer -playlist mms://stream.msn.co.il/glz-stream

2.&nbsp; Found the line that begins "Playing........"

In this case:

Playing http://stream.msn.co.il/glz-stream?MSWMExt=.asf.

3.&nbsp; Created a new ASX file in my AlienStream playlists directory and inserted the above "playing" URL.

Note:&nbsp; The AlienBBC bit is very important.&nbsp; The Squeezebox itself cannot stream the above URL.&nbsp; AlienBBC (from v10 onwards) can, as it uses "mplayer" for connecting to the RealPlayer and Windows Media streams.

4.&nbsp; Finally, I tested it on my Squeezebox and it seemed to work..........although the only way I could really test it was to connect directly to the saved ASX files via the transcoder_proxy.pl as I am not at home this week!&nbsp; :-)

http://stream.msn.co.il/glz-stream?MSWMExt=.asf.&nbsp; &nbsp;&nbsp; &nbsp; [worked via AlienBBC proxy]
mms://stream.msn.co.il/glz-stream&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; [didn't work via AlienBBC proxy][/url]

Hope it works as I couldn't actually listen to the output from the Squeezebox itself!&nbsp; :-)

Cheers,

Patrick






Arnon Meshoulam wrote: Patrick, thanks for those details. hit it right on.

Jules, can you add the .asx details to your web page. Something like:

To add other WMA stations:
1. Create a .asx file in AlienBBC playlist directory
2. Test using mplayer .asx file

BTW, one station I can't get to work is mms://stream.msn.co.il/glz-stream
Any ideas why?

Arnon

_______________________________________________
Discuss mailing list
[url="mailto:Discuss (AT) lists (DOT) slimdevices.com"]Discuss (AT) lists (DOT) slimdevices.com (mms://stream.msn.co.il/glz-stream)
http://lists.slimdevices.com/lists/listinfo/discuss

Arnon Meshoulam
2005-01-12, 02:21
Patrick,

am at work, so I can't try it out, but sounds right on the spot!!!
Thanks a bunch...


Patrick Delamere wrote:
> Hi Arnon,
>
> I think I have got the link working for you. :-)
>
> The only thing is though, I am away from home connecting to my server
> using ssh, so I am relying on log output and not sound from the
> Squeezebox to determine the success or otherwise..........I am pretty
> confident though. ;-)
>
> The stange thing is that whilst your stream seemed to work when calling
> the stream directly from the command line using mplayer. eg
>
> mplayer -playlist http://stream.msn.co.il/glz-stream
>
> It didn't work when I put the above stream URL into a playlist file.
> eg. Glz_Radio.asx.
>
> mplayer -playlist Glz_Radio.asx
>
> However, when mplayer did play the stream correctly (by calling it
> outside of the ASX file), it did reveal another URL which did indeed
> work when place into an ASX playlist file.
>
> To get the correct stream address, I completed the following tasks:
>
> 1. Played the original stream by launching the following command (Linux):
>
> mplayer -playlist mms://stream.msn.co.il/glz-stream
>
> 2. Found the line that begins "Playing........"
>
> In this case:
>
> Playing http://stream.msn.co.il/glz-stream?MSWMExt=.asf.
>
> 3. Created a new ASX file in my AlienStream playlists directory and
> inserted the above "playing" URL.
>
> Note: The AlienBBC bit is very important. The Squeezebox itself cannot
> stream the above URL. AlienBBC (from v10 onwards) can, as it uses
> "mplayer" for connecting to the RealPlayer and Windows Media streams.
>
> 4. Finally, I tested it on my Squeezebox and it seemed to
> work..........although the only way I could really test it was to
> connect directly to the saved ASX files via the transcoder_proxy.pl as I
> am not at home this week! :-)
>
> http://stream.msn.co.il/glz-stream?MSWMExt=.asf. [worked via
> AlienBBC proxy]
> _mms://stream.msn.co.il/glz-stream_
> [didn't work via AlienBBC proxy]
>
> Hope it works as I couldn't actually listen to the output from the
> Squeezebox itself! :-)
>
> Cheers,
>
> Patrick
>
>
>
>
>
>
> Arnon Meshoulam wrote:
>
>> Patrick, thanks for those details. hit it right on.
>>
>> Jules, can you add the .asx details to your web page. Something like:
>>
>> To add other WMA stations:
>> 1. Create a .asx file in AlienBBC playlist directory
>> 2. Test using mplayer .asx file
>>
>> BTW, one station I can't get to work is mms://stream.msn.co.il/glz-stream
>> Any ideas why?
>>
>> Arnon
>>
>>