Wishlist: mp3-stream (*.pls) playing without option -playlist (autodetect if it's a playlist)

Bug #336668 reported by pjw
46
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mplayer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Description: Ubuntu 8.10
Release: 8.10
mplayer: 2:1.0~rc2-0ubuntu17
w32codecs: 1:20071007-0.1

Playing a normal pls-file works fine, but not http://loudcity.com/stations/cinemix/files/show/mp3-High.pls. Why is there a error-message about w32codecs/avisynth.dll. It's MP3 (Icecast?).
Althrough it works, if I use the direct url inside the pls.

<ERROR-Message>
$ mplayer http://loudcity.com/stations/cinemix/files/show/mp3-High.pls
MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing http://loudcity.com/stations/cinemix/files/show/mp3-High.pls.
Resolving loudcity.com for AF_INET...
Connecting to server loudcity.com[67.207.148.83]: 80...
Cache size set to 320 KBytes
Cache fill: 0.03% (99 bytes)
Win32 LoadLibrary failed to load: avisynth.dll, /usr/lib/win32/avisynth.dll, /usr/local/lib/win32/avisynth.dll

Exiting... (End of file)
</ERROR-Message>

<Working-Direct-URL>
$ mplayer $(lynx --dump http://loudcity.com/stations/cinemix/files/show/mp3-High.pls | grep "File1=" | cut -d= -f2)
MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

.laying http://88.191.61.118:8000
Connecting to server 88.191.61.118[88.191.61.118]: 8000...
Name : CINEMIX - The Spirit of Soundtracks - All requestable
Genre : Soundtracks Classical Original Score New age
Website: http://www.cinemix.us
Public : yes
Bitrate: 128kbit/s
Cache size set to 320 KBytes
Cache fill: 7.50% (24576 bytes)
ICY Info: StreamTitle='John Williams-Marion's Theme-Raiders of the lost Ark';StreamUrl='http://www.cinemix.us';
Cache fill: 10.00% (32768 bytes)
Audio file file format detected.
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
...
</Working-Direct-URL>

Tags: wishlist
Revision history for this message
pjw (pjw1965) wrote :

Still not working in karmic.
Does anyone care about this bug?

Revision history for this message
Ben Blout (bdb-new) wrote :

I don't know if it is a bug exactly, but rather the method mplayer uses to play playlists.
Try this command:

mplayer -playlist URL

so for your example:

mplayer -playlist http://loudcity.com/stations/cinemix/files/show/mp3-High.pls

That works on my 8.04 machine. If it works for you, I would say this is perhaps
a wishlist item - that mplayer handles .pls files more gracefully, even if not given
the -playlist option explicitly.

Revision history for this message
pjw (pjw1965) wrote :

Thanx Ben

That works on my Karmic too.
I'll use that command for all *.pls and *.m3u.

Althrough it would be nice, if mplayer handels this better or give a better error message.

pjw (pjw1965)
summary: - mp3-stream (*.pls) not playing (direct url is working)
+ Wishlist: mp3-stream (*.pls) playing without option -playlist
+ (autodetect if it's a playlist)
tags: added: wishlist
Changed in mplayer (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.