Gst-stream-error-quark

On a fresh Buster install on a Raspberry Pi 3, I can run mopidy as a service, Mopidy Mobile can connect to the RPi3, and prior to doing anything, sudo systemctl status mopidyhas no warnings nor errors. However whenever I try to play a song, it does not work and sudo systemctl status mopidy yields:

● mopidy.service - Mopidy music server
   Loaded: loaded (/lib/systemd/system/mopidy.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2020-09-22 23:29:26 CEST; 3min 25s ago
  Process: 1503 ExecStartPre=/bin/mkdir -p /var/cache/mopidy (code=exited, status=0/SUCCESS)
  Process: 1504 ExecStartPre=/bin/chown mopidy:audio /var/cache/mopidy (code=exited, status=0/SUCCESS)
 Main PID: 1505 (mopidy)
    Tasks: 24 (limit: 2063)
   CGroup: /system.slice/mopidy.service
           └─1505 /usr/bin/python2 /usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf

Sep 22 23:29:28 raspberrypi mopidy[1505]: INFO     Starting Mopidy audio
Sep 22 23:29:28 raspberrypi mopidy[1505]: INFO     Starting Mopidy backends: StreamBackend, M3UBackend, FileBackend, LocalBackend
Sep 22 23:29:28 raspberrypi mopidy[1505]: INFO     Audio output set to "autoaudiosink"
Sep 22 23:29:28 raspberrypi mopidy[1505]: INFO     Loaded 0 local tracks using json
Sep 22 23:29:28 raspberrypi mopidy[1505]: INFO     Starting Mopidy core
Sep 22 23:29:28 raspberrypi mopidy[1505]: INFO     Starting Mopidy frontends: MpdFrontend, HttpFrontend
Sep 22 23:29:28 raspberrypi mopidy[1505]: INFO     MPD server running at [::ffff:127.0.0.1]:6600
Sep 22 23:29:28 raspberrypi mopidy[1505]: INFO     HTTP server running at [::]:6680
Sep 22 23:29:28 raspberrypi mopidy[1505]: INFO     Starting GLib mainloop
Sep 22 23:29:34 raspberrypi mopidy[1505]: WARNING  Failed looking up file:///media/pi/MUMAK/Musik/BO/Grindhouse%20_%20Planet%20Terror%20-%20Acceso%20directo.lnk: gst-stream-error-quark: Could not determine type of stream. (4)
pi@raspberrypi:~ $ 

I DO have the gstreamer plugs in place, as per sudo mopidyctl deps, which yields:

Running "/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf deps" as user mopidy
/usr/lib/python2.7/dist-packages/mopidy/ext.py:202: PkgResourcesDeprecationWarning: Parameters to load are deprecated.  Call .resolve and .require separately.
  extension_class = entry_point.load(require=False)
Executable: /usr/bin/mopidy
Platform: Linux-5.4.65-v7+-armv7l-with-debian-10.4
Python: CPython 2.7.16 from /usr/lib/python2.7
Mopidy: 2.2.2 from /usr/lib/python2.7/dist-packages
GStreamer: 1.14.4.0 from /usr/lib/python2.7/dist-packages/gi
  Detailed information: 
    Python wrapper: python-gi 3.30.4
    Relevant elements:
      Found:
        uridecodebin
        souphttpsrc
        appsrc
        alsasink
        osssink
        oss4sink
        pulsesink
        id3demux
        id3v2mux
        lamemp3enc
        mpegaudioparse
        mpg123audiodec
        vorbisdec
        vorbisenc
        vorbisparse
        oggdemux
        oggmux
        oggparse
        flacdec
        flacparse
        shout2send
      Not found:
        flump3dec
        mad

Can anyone see what is wrong here ? Note that depending on the type of music file I try to play, sometimes the specific warning is different, e.g. I’ve also had:

● mopidy.service - Mopidy music server
   Loaded: loaded (/lib/systemd/system/mopidy.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2020-09-22 23:11:51 CEST; 15min ago
  Process: 1154 ExecStartPre=/bin/mkdir -p /var/cache/mopidy (code=exited, status=0/SUCCESS)
  Process: 1155 ExecStartPre=/bin/chown mopidy:audio /var/cache/mopidy (code=exited, status=0/SUCCESS)
 Main PID: 1156 (mopidy)
    Tasks: 26 (limit: 2063)
   CGroup: /system.slice/mopidy.service
           └─1156 /usr/bin/python2 /usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf

Sep 22 23:11:53 raspberrypi mopidy[1156]: INFO     Starting Mopidy core
Sep 22 23:11:53 raspberrypi mopidy[1156]: INFO     Starting Mopidy frontends: MpdFrontend, HttpFrontend
Sep 22 23:11:53 raspberrypi mopidy[1156]: INFO     MPD server running at [::ffff:127.0.0.1]:6600
Sep 22 23:11:53 raspberrypi mopidy[1156]: INFO     HTTP server running at [::]:6680
Sep 22 23:11:53 raspberrypi mopidy[1156]: INFO     Starting GLib mainloop
Sep 22 23:12:44 raspberrypi mopidy[1156]: WARNING  Failed looking up file:///media/pi/MUMAK/Musik/01%20-%20Killing%20Me%20Softly%20With%20His%20Song.mp3: Timeout after 1000ms
Sep 22 23:12:46 raspberrypi mopidy[1156]: WARNING  Failed looking up file:///media/pi/MUMAK/Musik/03%20Give%20my%20life.wma: gst-stream-error-quark: The stream is encrypted and decryption is not supported. (12)
Sep 22 23:12:47 raspberrypi mopidy[1156]: WARNING  Failed looking up file:///media/pi/MUMAK/Musik/05%20protection.wma: gst-stream-error-quark: The stream is encrypted and decryption is not supported. (12)
Sep 22 23:12:48 raspberrypi mopidy[1156]: WARNING  Failed looking up file:///media/pi/MUMAK/Musik/06%20Why%20Do%20I.wma: gst-stream-error-quark: The stream is encrypted and decryption is not supported. (12)
Sep 22 23:12:51 raspberrypi mopidy[1156]: WARNING  Failed looking up file:///media/pi/MUMAK/Musik/BO/Grindhouse%20_%20Planet%20Terror%20-%20Acceso%20directo.lnk: gst-stream-error-quark: Could not determine type of stream. (4)

Any help would be appreciated. I’m going a tad nuts here, and I’m afraid that after hours on this I’ve reached the limit of my ability to solve this problem by myself (in particular I’ve looked at various related threads, but to no avail).

Thanks in advance, love this piece of software and 'been using it for years.

You are running Mopidy v2 but we don’t support that any more. You need to add apt.mopidy.com to your APT sources and install Mopidy v3. See the docs for the install guide.

Regarding the files. I’ve no idea what a lnk file is or if gstreamer supports playing that. The wma files need an extra plugin probably, make sure you have gstreamer good, bad and ugly plugin packages installed.

Thanks for answering. As I said, I do have all the gstreamer plugs installed (good, bad and ugly).

I did follow the install guidelines in the docs; will try again I guess.

OK I just did it all again, and when I do sudo apt install mopidy it will install the v2.2.2-1.

Is something wrong ?

EDIT: realized my default python is 2.7. I made it switch to 3.7 as the default python then uninstalled mopidy with purge and, subsequently, followed the install guide again (note I have to manually fetch the gpg key from your website and add it, since wget does not seem to find it, but anyway). Bottom line is: it still only wants to install mopidy v2 … I am dead stuck.

Good God: I purged and installed with PiPy, which went fine and it says it has installed the v3, but no way to start / enable running as a service.

Any help appreciated.

(please let me know if I should open a new thread for this)

I started a new thread since the problem has evolved. I guess this can be closed. Sorry for the hassle.