PDA

View Full Version : How do I set a "Now Playing" title for an MMS stream?



Steve Baumgarten
2004-11-20, 13:54
WMA streaming is working like a charm with the 5.4 server. I'm listening
to one of my favorite Internet stations as I write this:

http://www.solarradio.com

and it's rock solid -- a huge improvement over having to run things
through Winamp and Shoutcast, that whole Rube Goldberg system. So before I
complain, let me say, wow, great job everyone!

I do have one question, though. When I either listen either via the "tune
in now" field in the Help->Internet Radio page or by putting the .asx file
in my playlists directory:

<asx version = "3.0">
<title>solar2</title>
<entry>
<ref href = "http://62.25.96.7/solar2"/>
</entry>
</asx>

which I got from here:

http://www.solarradio.com/solar2.asx

and which ultimately expands to this MMS stream:

mms://62.25.96.7:80/solar2?MSWMExt=.asf

the entry shows up as that mms:// URL in the web interface and on the
player display. This is an aesthetic issue only -- the stream is playing
perfectly, but when I look at the "Now Playing" display what I see is
"mms://62.25 ..." when what I'd rather see is something like "Solar
Radio".

I tried fooling around with a .m3u file that had title info in it, but
regardless of what I did the Slimserver parsed everything perfectly and
played the stream perfectly -- but in no case could I get it to display a
human understandable title.

Any ideas?

SBB

Daniel Cohen
2004-11-21, 00:38
On 20/11/04 at 3:54 pm -0500, Steve Baumgarten wrote
>WMA streaming is working like a charm with the 5.4 server. I'm listening
>to one of my favorite Internet stations as I write this:
>
>http://www.solarradio.com
>
>and it's rock solid -- a huge improvement over having to run things
>through Winamp and Shoutcast, that whole Rube Goldberg system. So before I
>complain, let me say, wow, great job everyone!
>
>I do have one question, though. When I either listen either via the "tune
>in now" field in the Help->Internet Radio page or by putting the .asx file
>in my playlists directory:
>
><asx version = "3.0">
> <title>solar2</title>
> <entry>
> <ref href = "http://62.25.96.7/solar2"/>
> </entry>
></asx>
>
>which I got from here:
>
>http://www.solarradio.com/solar2.asx
>
>and which ultimately expands to this MMS stream:
>
>mms://62.25.96.7:80/solar2?MSWMExt=.asf
>

Does WMA streaming work with SlimServer under mac OS X? If not, how
difficult will it be to make it work? I haven't yet moved up to 5.4so
haven't tried.

Windows Media Player does exist for the Mac. I tried the .asx
address, which didn't seem to do anything (same applied to going to
solarradio and then selecting the stream). However the related mms:
file played without a problem under Windows Media Player.

--
Daniel Cohen

Daryle A. Tilroe
2004-11-21, 18:44
On 20/11/04 at 3:54 pm -0500, Steve Baumgarten wrote

> WMA streaming is working like a charm with the 5.4 server. I'm listening
> to one of my favorite Internet stations as I write this:
....
> and it's rock solid -- a huge improvement over having to run things
> through Winamp and Shoutcast, that whole Rube Goldberg system. So before I
> complain, let me say, wow, great job everyone!

I have to whole heatedly second this. I have not had time to fool
around lately so I was staying away from the nightlies and this is
my first look at the wma streaming; it looks great! I can now
pretty much get rid of my tuner.

> I do have one question, though. When I either listen either via the "tune
> in now" field in the Help->Internet Radio page or by putting the .asx file
> in my playlists directory:
....
> the entry shows up as that mms:// URL in the web interface and on the
> player display. This is an aesthetic issue only -- the stream is playing
> perfectly, but when I look at the "Now Playing" display what I see is
> "mms://62.25 ..." when what I'd rather see is something like "Solar
> Radio".
>
> I tried fooling around with a .m3u file that had title info in it, but
> regardless of what I did the Slimserver parsed everything perfectly and
> played the stream perfectly -- but in no case could I get it to display a
> human understandable title.

I would also like to know if there is any easy way to do this in a .m3u or
..pls file?

--
Daryle A. Tilroe

dean
2004-11-23, 11:07
You should be able to save a PLS playlist with the URL in it and add
the title there.


On Nov 21, 2004, at 5:44 PM, Daryle A. Tilroe wrote:

> On 20/11/04 at 3:54 pm -0500, Steve Baumgarten wrote
>
>> WMA streaming is working like a charm with the 5.4 server. I'm
>> listening
>> to one of my favorite Internet stations as I write this:
> ...
>> and it's rock solid -- a huge improvement over having to run things
>> through Winamp and Shoutcast, that whole Rube Goldberg system. So
>> before I
>> complain, let me say, wow, great job everyone!
>
> I have to whole heatedly second this. I have not had time to fool
> around lately so I was staying away from the nightlies and this is
> my first look at the wma streaming; it looks great! I can now
> pretty much get rid of my tuner.
>
>> I do have one question, though. When I either listen either via the
>> "tune
>> in now" field in the Help->Internet Radio page or by putting the .asx
>> file
>> in my playlists directory:
> ...
>> the entry shows up as that mms:// URL in the web interface and on the
>> player display. This is an aesthetic issue only -- the stream is
>> playing
>> perfectly, but when I look at the "Now Playing" display what I see is
>> "mms://62.25 ..." when what I'd rather see is something like "Solar
>> Radio".
>> I tried fooling around with a .m3u file that had title info in it, but
>> regardless of what I did the Slimserver parsed everything perfectly
>> and
>> played the stream perfectly -- but in no case could I get it to
>> display a
>> human understandable title.
>
> I would also like to know if there is any easy way to do this in a
> .m3u or
> .pls file?
>
> --
> Daryle A. Tilroe
>
>
>

Steve Baumgarten
2004-11-23, 18:03
> You should be able to save a PLS playlist with the URL in it and add
> the title there.

OK, I figured it out. If I put an entry in for an MMS style stream:

mms://62.25.96.7:80/solar2?MSWMExt=.asf

it works fine. If, however, I put in an entry for the original URL (copied
from the web site):

http://62.25.96.7/solar2?MSWMExt=.asf

it doesn't work. And it doesn't work because that URL actually returns an
ASX file that includes two MMS-style URLs (one with a :80 port and one
without, otherwise identical, but I guess the idea is that you can have a
primary and a failover stream).

If I use the original HTTP style URL in the playlist, this is what I see
in the browser window:

The current playlist: Solar (2 Songs)

Save | Download | Clear

1. mms://62.25.96.7:80/solar2?MSWMExt=.asf
2. mms://62.25.96.7:80/solar2?MSWMExt=.asf

If I use the MMS style URL, I get the title from the pls file, as expected.

So it looks like the title from the pls file is used when the URL expands
to a single playable entry but gets lost when the URL expands to multiple
playable entries. Easy enough to work around for now.

Another minor aesthetic crisis averted! ;-)

SBB