I installed Mopidy and the GMusic extension successfully on my Raspberry Pi according to the instructions. I can use the Musicbox web client to browse my music and such. (Note: I didn’t use the Pi Musicbox image, as I already have a working setup with a bunch of stuff installed.)
When selecting a track, I get the following error:
** (mopidy:6465): WARNING **: Cannot autolaunch D-Bus without X11 $DISPLAY (repeated about 10 times)
ERROR GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure. Debug message: gstplaysink.c(1899): gen_audio_chain (): /GstPlayBin2:playbin20/GstPlaySink:playsink0
Of course, as a result I don’t get any music. I’m not even sure if the two (warning and error) are related. I start Modipy in a ‘screen’ session via SSH, so I’m not surprised it can’t find a $DISPLAY.
Aside from that, I have no clue on how to even begin to debug this issue. Some help is much appreciated!
(And apologies if this is not the correct forum. If it is a bug, I can post it to the project issue tracker, but before I do so, I would like to know what’s going on.)
Some extra info:
$ mopidy deps
Platform: Linux-3.12.26±armv6l-with-debian-7.6
Python: CPython 2.7.3 from /usr/lib/python2.7
Mopidy: 0.19.4 from /usr/local/lib/python2.7/dist-packages
setuptools: 5.7 from /usr/local/lib/python2.7/dist-packages/setuptools-5.7-py2.7.egg
Pykka>=1.1: 1.2.0 from /usr/lib/python2.7/dist-packages
tornado>=2.3: 4.0.1 from /usr/local/lib/python2.7/dist-packages
certifi: 14.05.14 from /usr/local/lib/python2.7/dist-packages
backports.ssl-match-hostname: 3.4.0.2 from /usr/local/lib/python2.7/dist-packages
Mopidy-GMusic: 0.3.0 from /usr/local/lib/python2.7/dist-packages
setuptools: 5.7 from /usr/local/lib/python2.7/dist-packages/setuptools-5.7-py2.7.egg
Mopidy>=0.18: 0.19.4 from /usr/local/lib/python2.7/dist-packages
setuptools: 5.7 from /usr/local/lib/python2.7/dist-packages/setuptools-5.7-py2.7.egg
Pykka>=1.1: 1.2.0 from /usr/lib/python2.7/dist-packages
tornado>=2.3: 4.0.1 from /usr/local/lib/python2.7/dist-packages
certifi: 14.05.14 from /usr/local/lib/python2.7/dist-packages
backports.ssl-match-hostname: 3.4.0.2 from /usr/local/lib/python2.7/dist-packages
Pykka>=1.1: 1.2.0 from /usr/lib/python2.7/dist-packages
gmusicapi>=4.0.0: 4.0.0 from /usr/local/lib/python2.7/dist-packages
validictory>=0.8.0,!=0.9.2: 1.0.0a2 from /usr/local/lib/python2.7/dist-packages
decorator>=3.3.1: 3.4.0 from /usr/local/lib/python2.7/dist-packages
mutagen>=1.18: 1.24 from /usr/local/lib/python2.7/dist-packages
protobuf>=2.4.1: 2.6.0 from /usr/local/lib/python2.7/dist-packages
setuptools: 5.7 from /usr/local/lib/python2.7/dist-packages/setuptools-5.7-py2.7.egg
requests>=1.1.0,!=1.2.0,!=2.2.1: 2.4.0 from /usr/local/lib/python2.7/dist-packages
certifi: 14.05.14 from /usr/local/lib/python2.7/dist-packages
python-dateutil>=1.3,!=2.0: 2.2 from /usr/local/lib/python2.7/dist-packages
six: 1.7.3 from /usr/local/lib/python2.7/dist-packages
proboscis>=1.2.5.1: 1.2.6.0 from /usr/local/lib/python2.7/dist-packages
oauth2client>=1.1: 1.2 from /usr/local/lib/python2.7/dist-packages
httplib2>=0.8: 0.9 from /usr/local/lib/python2.7/dist-packages
mock>=0.7.0: 1.0.1 from /usr/local/lib/python2.7/dist-packages
appdirs>=1.1.0: 1.4.0 from /usr/local/lib/python2.7/dist-packages
GStreamer: 0.10.36.0 from /usr/lib/python2.7/dist-packages/gst-0.10/gst
Detailed information:
Python wrapper: gst-python 0.10.22.0
Relevant elements:
Found:
uridecodebin
souphttpsrc
appsrc
alsasink
osssink
oss4sink
id3demux
id3v2mux
lame
mad
mp3parse
vorbisdec
vorbisenc
vorbisparse
oggdemux
oggmux
oggparse
flacdec
flacparse
shout2send
Not found:
pulsesink
flump3dec
$ mopidy
INFO Starting Mopidy 0.19.4
INFO Loading config from: builtin defaults, /etc/xdg/mopidy/mopidy.conf, /home/mpd/.config/mopidy/mopidy.conf, command line options
INFO Enabled extensions: mpd, http, stream, gmusic, softwaremixer, local
INFO Disabled extensions: none
INFO Starting Mopidy mixer: SoftwareMixer
INFO Mixing using GStreamer software mixing
INFO Starting Mopidy audio
INFO Starting Mopidy backends: GMusicBackend, LocalBackend, StreamBackend
INFO Mopidy uses Google Music
INFO Audio output set to “alsasink”
INFO Loaded 0 local playlists from /home/mpd/.local/share/mopidy/local/playlists
INFO No local library metadata cache found at /home/mpd/.local/share/mopidy/local/library.json.gz. Please runmopidy local scan
to index your local music library. If you do not have a local music collection, you can disable the local backend to hide this message.
INFO Loaded 0 local tracks using json
INFO Starting Mopidy core
INFO Start refreshing Google Music library
INFO Starting Mopidy frontends: HttpFrontend, MpdFrontend
INFO MPD server running at [::ffff:127.0.0.1]:6600
INFO HTTP server running at [::]:6680
INFO Loaded 0 playlists from Google Music
INFO Finished refreshing Google Music content in 13s
** (mopidy:6465): WARNING **: Cannot autolaunch D-Bus without X11 $DISPLAY
** (mopidy:6465): WARNING **: Cannot autolaunch D-Bus without X11 $DISPLAY
** (mopidy:6465): WARNING **: Cannot autolaunch D-Bus without X11 $DISPLAY
** (mopidy:6465): WARNING **: Cannot autolaunch D-Bus without X11 $DISPLAY
** (mopidy:6465): WARNING **: Cannot autolaunch D-Bus without X11 $DISPLAY
** (mopidy:6465): WARNING **: Cannot autolaunch D-Bus without X11 $DISPLAY
** (mopidy:6465): WARNING **: Cannot autolaunch D-Bus without X11 $DISPLAY
** (mopidy:6465): WARNING **: Cannot autolaunch D-Bus without X11 $DISPLAY
** (mopidy:6465): WARNING **: Cannot autolaunch D-Bus without X11 $DISPLAY
** (mopidy:6465): WARNING **: Cannot autolaunch D-Bus without X11 $DISPLAY
ERROR GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure. Debug message: gstplaysink.c(1899): gen_audio_chain (): /GstPlayBin2:playbin20/GstPlaySink:playsink0
^CINFO Interrupted. Exiting…
INFO Stopping Mopidy frontends
INFO Stopping Mopidy core
INFO Stopping Mopidy backends
INFO Stopping Mopidy audio
INFO Stopping Mopidy mixer