Skip to content

mplayer / cvlc not responding #72

@s-n-g

Description

@s-n-g

Hi again
While testing my "-u, --use-player" command line implementation on my laptop, I found out that although I can run and play through mplayer and cvlc, I cannot control them (i.e. change the volume)

I tested so many cases, going back to upstream 559daf5 but no joy.

This is my pyradio.log

2018-11-16 16:58:03,780 - pyradio.radio - DEBUG - GUI initialization
2018-11-16 16:58:03,780 - pyradio.player - DEBUG - Probing available multimedia players...
2018-11-16 16:58:03,780 - pyradio.player - INFO - Implemented players: mpv, mplayer, cvlc
2018-11-16 16:58:03,781 - pyradio.player - DEBUG - <class 'pyradio.player.MpPlayer'> supported.
2018-11-16 16:58:07,210 - pyradio.player - DEBUG - updateStatus thread started.
2018-11-16 16:58:07,211 - pyradio.player - DEBUG - Player started
2018-11-16 16:58:07,318 - pyradio.player - DEBUG - User input: Resolving somafm.com for AF_INET6...
2018-11-16 16:58:07,358 - pyradio.player - DEBUG - User input: 
2018-11-16 16:58:07,358 - pyradio.player - DEBUG - User input: Couldn't resolve name for AF_INET6: somafm.com
2018-11-16 16:58:07,359 - pyradio.player - DEBUG - User input: Resolving somafm.com for AF_INET...
2018-11-16 16:58:07,362 - pyradio.player - DEBUG - User input: Connecting to server somafm.com[74.217.192.206]: 80...
2018-11-16 16:58:07,768 - pyradio.player - DEBUG - User input: 
2018-11-16 16:58:07,769 - pyradio.player - DEBUG - User input: Cache size set to 320 KBytes
2018-11-16 16:58:07,770 - pyradio.player - DEBUG - User input: Unknown entry type Version=2
2018-11-16 16:58:07,770 - pyradio.player - DEBUG - User input: MPlayer SVN-r38101 (C) 2000-2018 MPlayer Team
2018-11-16 16:58:07,790 - pyradio.player - DEBUG - User input: 225 audio & 464 video codecs
2018-11-16 16:58:07,793 - pyradio.player - DEBUG - User input: do_connect: could not connect to socket
2018-11-16 16:58:07,795 - pyradio.player - DEBUG - User input: connect: No such file or directory
2018-11-16 16:58:07,795 - pyradio.player - DEBUG - User input: Failed to open LIRC support. You will not be able to use your remote control.
2018-11-16 16:58:07,796 - pyradio.player - DEBUG - User input: 
2018-11-16 16:58:07,797 - pyradio.player - DEBUG - User input: Playing http://ice1.somafm.com/groovesalad-128-mp3.
2018-11-16 16:58:07,798 - pyradio.player - DEBUG - User input: Resolving ice1.somafm.com for AF_INET6...
2018-11-16 16:58:07,814 - pyradio.player - DEBUG - User input: 
2018-11-16 16:58:07,815 - pyradio.player - DEBUG - User input: Couldn't resolve name for AF_INET6: ice1.somafm.com
2018-11-16 16:58:07,815 - pyradio.player - DEBUG - User input: Resolving ice1.somafm.com for AF_INET...
2018-11-16 16:58:07,832 - pyradio.player - DEBUG - User input: Connecting to server ice1.somafm.com[173.239.76.148]: 80...
2018-11-16 16:58:08,252 - pyradio.player - DEBUG - User input: 
2018-11-16 16:58:08,253 - pyradio.player - DEBUG - User input: Name   : Groove Salad: a nicely chilled plate of ambient beats and grooves. [SomaFM]
2018-11-16 16:58:08,254 - pyradio.player - DEBUG - User input: Genre  : Ambient Chill
2018-11-16 16:58:08,255 - pyradio.player - DEBUG - User input: Website: http://somafm.com
2018-11-16 16:58:08,255 - pyradio.player - DEBUG - User input: Public : no
2018-11-16 16:58:08,256 - pyradio.player - DEBUG - User input: Bitrate: 128kbit/s
2018-11-16 16:58:08,256 - pyradio.player - DEBUG - User input: Cache size set to 320 KBytes
2018-11-16 16:58:08,665 - pyradio.player - DEBUG - User input: Cache fill:  0.00% (0 bytes)   Cache fill:  0.00% (0 bytes)   Cache fill: 10.00% (32768 bytes)
2018-11-16 16:58:08,666 - pyradio.player - DEBUG - User input: ICY Info: StreamTitle='Ulrich Schnauss & Mark Peters - Gift Horse's Mouth';StreamUrl='';
2018-11-16 16:58:08,858 - pyradio.player - DEBUG - User input: 
2018-11-16 16:58:08,859 - pyradio.player - DEBUG - User input: Audio only file format detected.
2018-11-16 16:58:08,866 - pyradio.player - DEBUG - User input: ==========================================================================
2018-11-16 16:58:08,867 - pyradio.player - DEBUG - User input: Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
2018-11-16 16:58:08,867 - pyradio.player - DEBUG - User input: AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
2018-11-16 16:58:08,867 - pyradio.player - DEBUG - User input: Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
2018-11-16 16:58:08,868 - pyradio.player - DEBUG - User input: ==========================================================================
2018-11-16 16:58:08,868 - pyradio.player - DEBUG - User input: [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
2018-11-16 16:58:08,886 - pyradio.player - DEBUG - User input: AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
2018-11-16 16:58:08,887 - pyradio.player - DEBUG - User input: Video: no video
2018-11-16 16:58:08,887 - pyradio.player - DEBUG - User input: Starting playback...
2018-11-16 16:58:10,725 - pyradio.player - DEBUG - Command: /
2018-11-16 16:58:11,295 - pyradio.player - DEBUG - Command: /
2018-11-16 16:58:11,330 - pyradio.player - DEBUG - Command: /
2018-11-16 16:58:11,358 - pyradio.player - DEBUG - Command: /
2018-11-16 16:58:11,391 - pyradio.player - DEBUG - Command: /
2018-11-16 16:58:18,345 - pyradio.player - DEBUG - Command: q
2018-11-16 16:58:18,346 - pyradio.player - DEBUG - User input: 
2018-11-16 16:58:18,346 - pyradio.player - DEBUG - User input: MPlayer interrupted by signal 15 in module: play_audio
2018-11-16 16:58:18,356 - pyradio.player - DEBUG - User input: 
2018-11-16 16:58:18,357 - pyradio.player - DEBUG - User input: Exiting... (Quit)
2018-11-16 16:58:18,373 - pyradio.player - DEBUG - updateStatus thread stopped.

Normally, each "Command: /" and "Command: q" would have a response like:
Volume: 33 % (or similar)

So, here's my situation:

            mpv    mplayer   cvlc
Home PC     Ok     Ok        NOk
Laptop      Ok     NOk       NOk

I'm pretty sure this is not a pyradio error, but...
Has anyone had any such problem?
How was it fixed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions