First, great job on PS3 Media Server, it's an amazing and convenient software.
I just took a premium account on di.fm (which give high quality from to di.fm and sky.fm) and I wasn't able to stream the webradios to the PS3 (data damaged).
The links are like this : http://listen.di.fm/premium_high/trance.pls?xxxxxxxxxxx (x's are hex a numbers, for authentication).
Here is the pls file :
- Code: Select all
[playlist]
NumberOfEntries=3
File1=http://72.26.216.106:80/trance_hi?xxxxxxxxxxx
Title1=Digitally Imported - Trance
Length1=-1
File2=http://72.26.204.32:80/trance_hi?xxxxxxxxxxx
Title2=Digitally Imported - Trance
Length2=-1
File3=http://72.26.204.18:80/trance_hi?xxxxxxxxxxx
Title3=Digitally Imported - Trance
Length3=-1
Version=2
When I run
- Code: Select all
./mplayer -cache 1024 http://listen.di.fm/premium_high/trance.pls?xxxxxxxxxxx
mplayer just "reads" the file and exit.
If I run
- Code: Select all
./mplayer -cache 1024 -playlist http://listen.di.fm/premium_high/trance.pls?xxxxxxxxxxx
mplayer reads and plays the stream !
For info, mplayer is the osx build found in the PS3 Media Server.app (1.50.1)
Looking at the source code, in the MPlayerAudio.java file, no reference to the -playlist argument is found.
I tried to add it manually in the source code, and compile it, but it didn't work, but I guess it's because I'm not a java guy...
Is there any way to add the -playlist argument in a nice way ?
Thanks,
Adrien
edit://
mplayer doesn't handle playlist if we do not ask him:
http://code.google.com/p/ps3mediaserver ... il?id=1151
