# Mopidy error on local scan - gst-stream-error-quark: Could not determine type of stream

**URL:** <https://discourse.mopidy.com/t/mopidy-error-on-local-scan-gst-stream-error-quark-could-not-determine-type-of-stream/4311>\
**Category:** Misc\
**Created:** [September 13, 2020, 7:05pm UTC](https://discourse.mopidy.com/t/mopidy-error-on-local-scan-gst-stream-error-quark-could-not-determine-type-of-stream/4311 "2020-09-13T19:05:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hiker\_LT](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/hiker_lt/32/1716_2.png) [@Hiker\_LT](https://discourse.mopidy.com/u/Hiker_LT)\
**Post date:** [September 13, 2020, 7:05pm UTC](https://discourse.mopidy.com/t/mopidy-error-on-local-scan-gst-stream-error-quark-could-not-determine-type-of-stream/4311/1 "2020-09-13T19:05:52Z")

</div>

running Mopidy on Raspberry pi 4

seeing some errors as shown below - any advice on this is appreciated :

* * *

pi@raspberrypi:~ $ sudo mopidyctl local scan  
Running “/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf local scan” as user mopidy  
INFO [MainThread] mopidy. **main** Starting Mopidy 3.0.2  
INFO [MainThread] mopidy.config Loading config from builtin defaults  
INFO [MainThread] mopidy.config Loading config from file:///usr/share/mopidy/conf.d/mopidy.conf  
INFO [MainThread] mopidy.config Loading config from file:///etc/mopidy/mopidy.conf  
INFO [MainThread] mopidy.config Loading config from command line options  
INFO [MainThread] mopidy. **main** Enabled extensions: iris, file, local, softwaremixer, m3u, stream, http  
INFO [MainThread] mopidy. **main** Disabled extensions: none  
INFO [MainThread] mopidy\_local.commands Finding files in file:///home/pi/Music …  
INFO [MainThread] mopidy\_local.commands Found 871 files in file:///home/pi/Music  
INFO [MainThread] mopidy\_local.commands Checking 863 tracks from library  
INFO [MainThread] mopidy\_local.commands Removing 0 missing tracks  
INFO [MainThread] mopidy\_local.commands Found 7 tracks which need to be updated  
INFO [MainThread] mopidy\_local.commands Scanning…  
WARNING [MainThread] mopidy\_local.commands Failed scanning file:///home/pi/Music/10%2C000%20Maniacs%20-%20In%20My%20Tribe/City%20of%20Angels.mp3: gst-stream-error-quark: Could not determine type of stream. (4)  
WARNING [MainThread] mopidy\_local.commands Failed scanning file:///home/pi/Music/10%2C000%20Maniacs%20-%20In%20My%20Tribe/Don%27t%20Talk.mp3: gst-stream-error-quark: Could not determine type of stream. (4)  
WARNING [MainThread] mopidy\_local.commands Failed scanning file:///home/pi/Music/10%2C000%20Maniacs%20-%20In%20My%20Tribe/Gun%20Shy.mp3: gst-stream-error-quark: Could not determine type of stream. (4)  
WARNING [MainThread] mopidy\_local.commands Failed scanning file:///home/pi/Music/10%2C000%20Maniacs%20-%20In%20My%20Tribe/Like%20the%20Weather.mp3: gst-stream-error-quark: Could not determine type of stream. (4)  
WARNING [MainThread] mopidy\_local.commands Failed scanning file:///home/pi/Music/10%2C000%20Maniacs%20-%20In%20My%20Tribe/My%20Sister%20Rose.mp3: gst-stream-error-quark: Could not detect type of contents (4)  
WARNING [MainThread] mopidy\_local.commands Failed scanning file:///home/pi/Music/10%2C000%20Maniacs%20-%20In%20My%20Tribe/Peace%20Train.mp3: gst-stream-error-quark: Could not determine type of stream. (4)  
WARNING [MainThread] mopidy\_local.commands Failed scanning file:///home/pi/Music/10%2C000%20Maniacs%20-%20In%20My%20Tribe/Verdi%20Cries.mp3: gst-stream-error-quark: Could not determine type of stream. (4)  
INFO [MainThread] mopidy\_local.commands Scanned 7 of 7 files in 0.318s.  
INFO [MainThread] mopidy\_local.commands Done scanning  
INFO [MainThread] mopidy\_local.storage Cleaning up image directory

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [September 13, 2020, 10:02pm UTC](https://discourse.mopidy.com/t/mopidy-error-on-local-scan-gst-stream-error-quark-could-not-determine-type-of-stream/4311/2 "2020-09-13T22:02:55Z")

</div>

Perhaps you are missing the mp3 decoder gstreamer plugin. Our troubleshooting page suggests running `sudo mopidyctl deps` to see what’s installed, that would help understand.

---

<div class="post-metadata">

**Author:** ![Hiker\_LT](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/hiker_lt/32/1716_2.png) [@Hiker\_LT](https://discourse.mopidy.com/u/Hiker_LT)\
**Post date:** [September 13, 2020, 10:23pm UTC](https://discourse.mopidy.com/t/mopidy-error-on-local-scan-gst-stream-error-quark-could-not-determine-type-of-stream/4311/3 "2020-09-13T22:23:38Z")

</div>

Thanks for the help.  
Here is result:

```auto
pi@raspberrypi:~ $ sudo mopidyctl deps
Running "/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf deps" as user mopidy
Executable: /usr/bin/mopidy
Platform: Linux-5.4.51-v7l+-armv7l-with-debian-10.4
Python: CPython 3.7.3 from /usr/lib/python3.7
Mopidy: 3.0.2 from /usr/lib/python3/dist-packages
Mopidy-Iris: 3.52.4 from /usr/local/lib/python3.7/dist-packages
  setuptools: 40.8.0 from /usr/lib/python3/dist-packages
  Pykka: 2.0.2 from /usr/lib/python3/dist-packages
  Mopidy: 3.0.2 from /usr/lib/python3/dist-packages
Mopidy-Local: 3.1.1 from /usr/local/lib/python3.7/dist-packages
  uritools: 3.0.0 from /usr/local/lib/python3.7/dist-packages
  setuptools: 40.8.0 from /usr/lib/python3/dist-packages
  Pykka: 2.0.2 from /usr/lib/python3/dist-packages
  Mopidy: 3.0.2 from /usr/lib/python3/dist-packages
GStreamer: 1.14.4.0 from /usr/lib/python3/dist-packages/gi
  Detailed information: 
    Python wrapper: python-gi 3.30.4
    Relevant elements:
      Found:
        uridecodebin
        souphttpsrc
        appsrc
        alsasink
        osssink
        oss4sink
        pulsesink
        flump3dec
        id3demux
        id3v2mux
        lamemp3enc
        mpegaudioparse
        mpg123audiodec
        vorbisdec
        vorbisenc
        vorbisparse
        oggdemux
        oggmux
        oggparse
        flacdec
        flacparse
        shout2send
      Not found:
        mad
pi@raspberrypi:~ $

```

---

<div class="post-metadata">

**Author:** ![shameerariff](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/shameerariff/32/1999_2.png) [@shameerariff](https://discourse.mopidy.com/u/shameerariff)\
**Post date:** [April 4, 2021, 4:29am UTC](https://discourse.mopidy.com/t/mopidy-error-on-local-scan-gst-stream-error-quark-could-not-determine-type-of-stream/4311/4 "2021-04-04T04:29:03Z")

</div>

I am unable to locate the installer for mad

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [April 7, 2021, 8:57am UTC](https://discourse.mopidy.com/t/mopidy-error-on-local-scan-gst-stream-error-quark-could-not-determine-type-of-stream/4311/5 "2021-04-07T08:57:47Z")

</div>

You normally don’t need it as there are other decoders available. Do you have the exact same error as originally posted? Let’s see your `deps` please.
