Mike Anderson Wrote: 
> Oh, BTW, what's the hack for streaming other formats?

To play WindowsMedia Stream I make the following changes:

where it says:

my $musicurl = "$directory_url?when=$when\&type=music\&sty=mp3";
my $nonmusicurl =
"$directory_url?when=$when\&type=non-music\&sty=mp3";

Change To:

my $musicurl = "$directory_url?when=$when\&type=music\&sty=wm";
my $nonmusicurl =
"$directory_url?when=$when\&type=non-music\&sty=wm";

Where it says:

if ($showwalker->look_down('alt','[MP3]'))

Change To:

if ($showwalker->look_down('alt','[WM]'))

To play RealAudio, the change is to &sty=ra and [RA]

You will need to restart SlimServer after the changes.  I generally
keep mine set to WindowsMedia since all of my local NPRs stream that
way. 

This change will play about 90% of the streams it parses out since some
stream urls are "wrapped" in a playlist.  If you pick one of these
streams it won't crash, it simply wont start the stream.  I then just
move on an pick another station that is streaming the show in
question.

--Tom Malsbury


-- 
malsbury
_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to