ptgkc / tv-maxe

Automatically exported from code.google.com/p/tv-maxe
0 stars 0 forks source link

Mplayer2 breaks radio #81

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open TVmaxe, select mplayer as backend.
2. Got to Radio Tab, select a radio channel and wait.
3. The channel doesn't start playing.

What is the expected output? What do you see instead?
It should play the radio channel. Mplayer(1) works, mplayer2 breaks the radio.

What version of the product are you using? On what operating system?
Ubuntu Linux 14.10, but it's mplayer dependant.

Please provide any additional information below.

mplayer http://80.86.106.35:800/listen.pls 
MPlayer2 2.0-728-g2c378c7-2ubuntu3 (C) 2000-2012 MPlayer Team
Cannot open file '/home/cristi/.mplayer/input.conf': No such file or directory
Failed to open /home/cristi/.mplayer/input.conf.

Playing http://80.86.106.35:800/listen.pls.
Resolving 80.86.106.35 for AF_INET6...
Couldn't resolve name for AF_INET6: 80.86.106.35
Connecting to server 80.86.106.35[80.86.106.35]: 800...

This looks like a playlist, but playlist support will not be used automatically.
MPlayer's playlist code is unsafe and should only be used with trusted sources.
Playback will probably fail.

Cache size set to 320 KiB
Cache fill:  0.00% (0 bytes)   
Failed to recognize file format.

Exiting... (End of file)

===

The fix is to use `-playlist` in the command line.

mplayer -playlist http://80.86.106.35:800/listen.pls 
Resolving 80.86.106.35 for AF_INET6...
Couldn't resolve name for AF_INET6: 80.86.106.35
Connecting to server 80.86.106.35[80.86.106.35]: 800...
MPlayer2 2.0-728-g2c378c7-2ubuntu3 (C) 2000-2012 MPlayer Team
Cannot open file '/home/cristi/.mplayer/input.conf': No such file or directory
Failed to open /home/cristi/.mplayer/input.conf.

Playing http://80.86.106.35:8064/.
Resolving 80.86.106.35 for AF_INET6...
Couldn't resolve name for AF_INET6: 80.86.106.35
Connecting to server 80.86.106.35[80.86.106.35]: 8064...
Name   : Rock FM Romania - Classic Rock
Genre  : Rock
Website: http://www.rockfm.ro
Public : yes
Bitrate: 32kbit/s
Cache size set to 320 KiB
Cache fill:  0.00% (0 bytes)   
ICY Info: StreamTitle='Rock FM';StreamUrl='';

Detected file format: AAC
Selected audio codec: AAC (Advanced Audio Coding) [libavcodec]
AUDIO: 44100 Hz, 2 ch, floatle, 0.0 kbit/0.00% (ratio: 0->352800)
AO: [pulse] 44100Hz 2ch floatle (4 bytes per sample)
Video: no video
Starting playback...

Original issue reported on code.google.com by howerkr...@gmail.com on 18 Dec 2014 at 6:03