PDA

View Full Version : Wma support in server



Tapani Jarvinen
2003-12-06, 07:01
Cheers,

I have experimented with the server a bit to add WMA
support into it.

I am using updated wmatool (that WmaStream plugin
uses) to do the conversion from WMA to MP3, and the
new transcoding framework. I can now play WMA streams
using playlists like this (note the mms URL):

[playlist]
numberofentries=1
File1=mms://62.49.59.50:8000
Title1=Monkeyfunk
Length1=-1
Version=2

and I can play WMA files. I have added a few lines
to types.conf, convert.conf and Slim/Music/Info.pm.
I have also written a dummy file Slim/Formats/Wma.pm
(returns constant info for every file).

Do you think this is the right way to proceed with
the WMA support, integrating it with the server, or
should the WmaStream plugin be developed further?

If the server integration is the way to go, the file
Slim/Formats/Wma.pm should be written properly. So, does
anyone know if the WMA file format is documented somewhere?
(Being a microsoft proprietary format, i wouldn't be
surprised if it was not.) Quick search on the internet
did not reveal anything.

I saw an earlier post by Dan Sully. Looks like he is doing
something similar. Should these efforts be coordinated somehow?

br,
Tapani Jarvinen

Dan Sully
2003-12-06, 11:34
* Tapani Jarvinen <jewel.tapsta (AT) kolumbus (DOT) fi> shaped the electrons to say...

> I have experimented with the server a bit to add WMA
> support into it.
>
> I am using updated wmatool (that WmaStream plugin
> uses) to do the conversion from WMA to MP3, and the
> new transcoding framework. I can now play WMA streams
> using playlists like this (note the mms URL):
>
> and I can play WMA files. I have added a few lines
> to types.conf, convert.conf and Slim/Music/Info.pm.
> I have also written a dummy file Slim/Formats/Wma.pm
> (returns constant info for every file).
>
> Do you think this is the right way to proceed with
> the WMA support, integrating it with the server, or
> should the WmaStream plugin be developed further?
>
> If the server integration is the way to go, the file
> Slim/Formats/Wma.pm should be written properly. So, does
> anyone know if the WMA file format is documented somewhere?
> (Being a microsoft proprietary format, i wouldn't be
> surprised if it was not.) Quick search on the internet
> did not reveal anything.
>
> I saw an earlier post by Dan Sully. Looks like he is doing
> something similar. Should these efforts be coordinated somehow?

Tapani - I checked in an Audio::WMA and Slim::Formats::WMA the other day.

My change requires the use off ffmpeg, which runs on all the supported SlimServer platforms.

I've unfortunately not had time to tackle the streaming issue like you have.

-D
--
<Zim> I am the neighbourhood baby inspector. I have come to inspect the baby.
<Mother> Oh, goodness! Inspect him for what?
<Zim> YOUR RESISTANCE WILL BE NOTED!