Scanner fails on Debian


#1

Hi

Debian testing x64 installed it via Mopidy repo. I believe I have the python gst etc all installed.

mopidy local scan produces this result

INFO     Loading config from builtin defaults
INFO     Loading config from /root/.config/mopidy/mopidy.conf
INFO     Loading config from command line options
INFO     Disabled extension iris: Dependency pytest-timeout==1.2.0 not found
INFO     Enabled extensions: mpd, alsamixer, http, stream, beets, spotify_tunigo, mobile, local-sqlite, dleyna, tunein, internetarchive, musicbox_webclient, mpris, softwaremixer, podcast-itunes, file, local-images, somafm, podcast, local, m3u
INFO     Disabled extensions: spotify, dirble, soundcloud, iris
WARNING  Found dirble configuration errors, the extension has been automatically disabled:
WARNING    dirble/api_key must be set.
WARNING  Found soundcloud configuration errors, the extension has been automatically disabled:
WARNING    soundcloud/auth_token must be set.
WARNING  Found spotify configuration errors, the extension has been automatically disabled:
WARNING    spotify/username must be set.
WARNING    spotify/client_secret must be set.                                                                                                                                                                      WARNING    spotify/password must be set.
WARNING    spotify/client_id must be set.
WARNING  Please fix the extension configuration errors or disable the extensions to silence these messages.
INFO     Found 11 files in media_dir.
WARNING  Encountered 1 errors while scanning media_dir.
INFO     No local library metadata cache found at /var/lib/mopidy/local/library.json.gz. Please run `mopidy 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     Checking 0 tracks from library.
INFO     Removing 0 missing tracks.
INFO     Found 11 tracks which need to be updated.
INFO     Scanning...

** (python:11751): WARNING **: can't find typefind element, decodebin will not work
ERROR    Argument 1 does not allow None as a value
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/mopidy/__main__.py", line 134, in main
    return args.command.run(args, proxied_config)
  File "/usr/lib/python2.7/dist-packages/mopidy/local/commands.py", line 142, in run
    result = scanner.scan(file_uri)
  File "/usr/lib/python2.7/dist-packages/mopidy/audio/scan.py", line 67, in scan
    pipeline, signals = _setup_pipeline(uri, self._proxy_config)
  File "/usr/lib/python2.7/dist-packages/mopidy/audio/scan.py", line 96, in _setup_pipeline
    _setup_decodebin(src, src.get_static_pad('src'), pipeline, signals)
  File "/usr/lib/python2.7/dist-packages/mopidy/audio/scan.py", line 124, in _setup_decodebin
    pipeline.add(element)
  File "/usr/lib/python2.7/dist-packages/gi/overrides/Gst.py", line 62, in add
    if not Gst.Bin.add(self, arg):
TypeError: Argument 1 does not allow None as a value
Traceback (most recent call last):
  File "/usr/bin/mopidy", line 11, in <module>
    load_entry_point('Mopidy==2.1.0', 'console_scripts', 'mopidy')()
  File "/usr/lib/python2.7/dist-packages/mopidy/__main__.py", line 134, in main
    return args.command.run(args, proxied_config)
  File "/usr/lib/python2.7/dist-packages/mopidy/local/commands.py", line 142, in run
    result = scanner.scan(file_uri)
  File "/usr/lib/python2.7/dist-packages/mopidy/audio/scan.py", line 67, in scan
    pipeline, signals = _setup_pipeline(uri, self._proxy_config)
  File "/usr/lib/python2.7/dist-packages/mopidy/audio/scan.py", line 96, in _setup_pipeline
    _setup_decodebin(src, src.get_static_pad('src'), pipeline, signals)
  File "/usr/lib/python2.7/dist-packages/mopidy/audio/scan.py", line 124, in _setup_decodebin
    pipeline.add(element)
  File "/usr/lib/python2.7/dist-packages/gi/overrides/Gst.py", line 62, in add
    if not Gst.Bin.add(self, arg):
TypeError: Argument 1 does not allow None as a value

#2

What is the output of mopidy deps ?


#3
Executable: /usr/bin/mopidy
Platform: Linux-4.3.0-1-amd64-x86_64-with-debian-9.0
Python: CPython 2.7.13 from /usr/lib/python2.7
Mopidy: 2.1.0 from /usr/lib/python2.7/dist-packages
Mopidy-MusicBox-Webclient: 2.4.0 from /usr/local/lib/python2.7/dist-packages
  setuptools: 36.5.0 from /usr/local/lib/python2.7/dist-packages
    wincertstore==0.2: not found
    certifi==2016.9.26: 2016.9.26 from /usr/local/lib/python2.7/dist-packages
  Mopidy>=1.1.0: 2.1.0 from /usr/lib/python2.7/dist-packages
Mopidy-MPRIS: 1.3.1 from /usr/lib/python2.7/dist-packages
  Mopidy>=0.18: 2.1.0 from /usr/lib/python2.7/dist-packages
  Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages
Mopidy-Mobile: 1.8.3 from /usr/local/lib/python2.7/dist-packages
  setuptools: 36.5.0 from /usr/local/lib/python2.7/dist-packages
    wincertstore==0.2: not found
    certifi==2016.9.26: 2016.9.26 from /usr/local/lib/python2.7/dist-packages
  Mopidy>=0.19: 2.1.0 from /usr/lib/python2.7/dist-packages
Mopidy-Dirble: 1.3.0 from /usr/lib/python2.7/dist-packages
Mopidy-dLeyna: 1.2.0 from /usr/lib/python2.7/dist-packages
Mopidy-Iris: 3.4.9 from /usr/local/lib/python2.7/dist-packages
  pylast>=1.6.0: 1.9.0 from /usr/local/lib/python2.7/dist-packages
    six: 1.11.0 from /usr/lib/python2.7/dist-packages
    certifi: 2016.9.26 from /usr/local/lib/python2.7/dist-packages
  ConfigObj>=5.0.6: 5.0.6 from /usr/lib/python2.7/dist-packages
    six: 1.11.0 from /usr/lib/python2.7/dist-packages
  distribute: 0.6.28 from /usr/local/lib/python2.7/dist-packages/distribute-0.6.28-py2.7.egg
  Mopidy-Local-Images>=1.0: 1.0.0 from /usr/local/lib/python2.7/dist-packages
    uritools>=1.0: 2.1.0 from /usr/local/lib/python2.7/dist-packages
      ipaddress: 1.0.17 from /usr/lib/python2.7/dist-packages
    Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages
    setuptools: 36.5.0 from /usr/local/lib/python2.7/dist-packages
      wincertstore==0.2: not found
      certifi==2016.9.26: 2016.9.26 from /usr/local/lib/python2.7/dist-packages
    Mopidy>=1.1: 2.1.0 from /usr/lib/python2.7/dist-packages
  Mopidy>=2.0: 2.1.0 from /usr/lib/python2.7/dist-packages
  raven>=6.1.0: 6.2.1 from /usr/local/lib/python2.7/dist-packages
    pytest-xdist==1.18.2: not found
    pytest-pythonpath==0.7.1: not found
    Flask-Login>=0.2.0: not found
    pycodestyle: not found
    pytest-flake8: not found
    nose: 1.3.4 from /usr/local/lib/python2.7/dist-packages
    Flask>=0.8: 0.11.1 from /usr/local/lib/python2.7/dist-packages
      itsdangerous>=0.21: 0.24 from /usr/local/lib/python2.7/dist-packages
      Werkzeug>=0.7: 0.11.15 from /usr/local/lib/python2.7/dist-packages
      Jinja2>=2.4: 2.9.6 from /usr/lib/python2.7/dist-packages
      click>=2.0: 6.7 from /usr/local/lib/python2.7/dist-packages
    tornado>=4.1: 4.4.2 from /usr/local/lib/python2.7/dist-packages
      singledispatch: 3.4.0.3 from /usr/local/lib/python2.7/dist-packages
        six: 1.11.0 from /usr/lib/python2.7/dist-packages
      backports-abc>=0.4: 0.5 from /usr/local/lib/python2.7/dist-packages
      certifi: 2016.9.26 from /usr/local/lib/python2.7/dist-packages
    exam>=0.5.2: not found
    pytest-cov: not found
    ZConfig: not found
    anyjson: not found
    contextlib2: 0.5.5 from /usr/local/lib/python2.7/dist-packages
    webob: 1.6.2 from /usr/lib/python2.7/dist-packages
    pytest>=3.2.0,<3.3.0: not found
    mock: 2.0.0 from /usr/lib/python2.7/dist-packages
    pytest-assume: not found
    pytz: 2017.2 from /usr/lib/python2.7/dist-packages
    celery>=2.5: not found
    pytest-sugar==0.8: not found
    logbook: not found
    blinker>=1.1: 1.4 from /usr/local/lib/python2.7/dist-packages
    bottle: not found
    webtest: not found
    flake8==3.4.1: not found
    pytest-timeout==1.2.0: not found
    requests: 2.11.1 from /usr/local/lib/python2.7/dist-packages
      pyasn1: 0.1.9 from /usr/lib/python2.7/dist-packages
      ndg-httpsclient: 0.4.3 from /usr/lib/python2.7/dist-packages
      PySocks>=1.5.6: 1.6.5 from /usr/lib/python2.7/dist-packages
      pyOpenSSL>=0.13: 16.2.0 from /usr/lib/python2.7/dist-packages
Mopidy-Beets: 3.0.0 from /usr/lib/python2.7/dist-packages
Mopidy-InternetArchive: 2.0.0 from /usr/lib/python2.7/dist-packages
Mopidy-SomaFM: 1.0.1 from /usr/lib/python2.7/dist-packages
Mopidy-Podcast-iTunes: 2.0.0 from /usr/lib/python2.7/dist-packages
Mopidy-SoundCloud: 2.0.2 from /usr/lib/python2.7/dist-packages
Mopidy-TuneIn: 0.4.1 from /usr/lib/python2.7/dist-packages
Mopidy-Local-SQLite: 1.0.0 from /usr/local/lib/python2.7/dist-packages
  uritools>=1.0: 2.1.0 from /usr/local/lib/python2.7/dist-packages
    ipaddress: 1.0.17 from /usr/lib/python2.7/dist-packages
  Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages
  setuptools: 36.5.0 from /usr/local/lib/python2.7/dist-packages
    wincertstore==0.2: not found
    certifi==2016.9.26: 2016.9.26 from /usr/local/lib/python2.7/dist-packages
  Mopidy>=1.1: 2.1.0 from /usr/lib/python2.7/dist-packages
Mopidy-Local-Images: 1.0.0 from /usr/local/lib/python2.7/dist-packages
  uritools>=1.0: 2.1.0 from /usr/local/lib/python2.7/dist-packages
    ipaddress: 1.0.17 from /usr/lib/python2.7/dist-packages
  Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages
  setuptools: 36.5.0 from /usr/local/lib/python2.7/dist-packages
    wincertstore==0.2: not found
    certifi==2016.9.26: 2016.9.26 from /usr/local/lib/python2.7/dist-packages
  Mopidy>=1.1: 2.1.0 from /usr/lib/python2.7/dist-packages
Mopidy-Spotify: 3.1.0 from /usr/lib/python2.7/dist-packages
  Mopidy>=2.0: 2.1.0 from /usr/lib/python2.7/dist-packages
  Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages
  pyspotify>=2.0.5: 2.0.5 from /usr/lib/python2.7/dist-packages
    cffi>=1.0.0: 1.9.1 from /usr/lib/python2.7/dist-packages
  requests>=2.0: 2.11.1 from /usr/local/lib/python2.7/dist-packages
    pyasn1: 0.1.9 from /usr/lib/python2.7/dist-packages
    ndg-httpsclient: 0.4.3 from /usr/lib/python2.7/dist-packages
    PySocks>=1.5.6: 1.6.5 from /usr/lib/python2.7/dist-packages
    pyOpenSSL>=0.13: 16.2.0 from /usr/lib/python2.7/dist-packages
Mopidy-ALSAMixer: 1.0.3 from /usr/lib/python2.7/dist-packages
  Mopidy>=0.19: 2.1.0 from /usr/lib/python2.7/dist-packages
  Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages
  pyalsaaudio: 0.7 from /usr/lib/python2.7/dist-packages
Mopidy-Podcast: 2.0.1 from /usr/lib/python2.7/dist-packages
Mopidy-Spotify-Tunigo: 1.0.0 from /usr/lib/python2.7/dist-packages
  Mopidy>=0.19.0: 2.1.0 from /usr/lib/python2.7/dist-packages
  Mopidy-Spotify>=1.2.0: 3.1.0 from /usr/lib/python2.7/dist-packages
    Mopidy>=2.0: 2.1.0 from /usr/lib/python2.7/dist-packages
    Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages
    pyspotify>=2.0.5: 2.0.5 from /usr/lib/python2.7/dist-packages
      cffi>=1.0.0: 1.9.1 from /usr/lib/python2.7/dist-packages
    requests>=2.0: 2.11.1 from /usr/local/lib/python2.7/dist-packages
      pyasn1: 0.1.9 from /usr/lib/python2.7/dist-packages
      ndg-httpsclient: 0.4.3 from /usr/lib/python2.7/dist-packages
      PySocks>=1.5.6: 1.6.5 from /usr/lib/python2.7/dist-packages
      pyOpenSSL>=0.13: 16.2.0 from /usr/lib/python2.7/dist-packages
  Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages
  tunigo>=1.0.0: 1.0.0 from /usr/lib/python2.7/dist-packages
GStreamer: 1.12.3.0 from /usr/lib/python2.7/dist-packages/gi
  Detailed information: 
    Python wrapper: python-gi 3.24.1
    Relevant elements:
      Found:
        uridecodebin
        souphttpsrc
        appsrc
        alsasink
        osssink
        oss4sink
        pulsesink
        id3demux
        id3v2mux
        lamemp3enc
        mad
        mpegaudioparse
        mpg123audiodec
        vorbisdec
        vorbisenc
        vorbisparse
        oggdemux
        oggmux
        oggparse
        flacdec
        flacparse
        shout2send
      Not found:
        flump3dec

#4

Any ideas? I am just sitting here scratching my head about how to fix this issue. I so want to use Mopidy :frowning:


#5

Could you also give the output of dpkg -l *gstreamer*


#6
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                  Version                      Architecture Description
+++-=====================================-============================-============-=================================================================
un  gir1.0-gstreamer-0.10                 <none>                       <none>       (no description available)
ii  gir1.2-gstreamer-0.10                 0.10.36-1.5                  amd64        Description: GObject introspection data for the GStreamer library
ii  gir1.2-gstreamer-1.0                  1.12.3-1                     amd64        GObject introspection data for the GStreamer library
un  gstreamer-codec-install               <none>                       <none>       (no description available)
ii  gstreamer-tools                       0.10.36-1.5                  amd64        Tools for use with GStreamer
ii  gstreamer0.10-alsa:amd64              0.10.36-2                    amd64        GStreamer plugin for ALSA
un  gstreamer0.10-audiosink               <none>                       <none>       (no description available)
un  gstreamer0.10-audiosource             <none>                       <none>       (no description available)
un  gstreamer0.10-doc                     <none>                       <none>       (no description available)
ii  gstreamer0.10-ffmpeg:amd64            1:0.10.13-dmo2               amd64        FFmpeg plugin for GStreamer
ii  gstreamer0.10-fluendo-mp3:amd64       0.10.29.debian-1             amd64        Fluendo mp3 decoder GStreamer 0.10 plugin
ii  gstreamer0.10-nice:amd64              0.1.7-1                      amd64        ICE library (GStreamer 0.10 plugin)
un  gstreamer0.10-plugins-bad             <none>                       <none>       (no description available)
un  gstreamer0.10-plugins-bad-multiverse  <none>                       <none>       (no description available)
ii  gstreamer0.10-plugins-base:amd64      0.10.36-2                    amd64        GStreamer plugins from the "base" set
un  gstreamer0.10-plugins-good            <none>                       <none>       (no description available)
un  gstreamer0.10-plugins-really-bad      <none>                       <none>       (no description available)
un  gstreamer0.10-plugins-ugly            <none>                       <none>       (no description available)
un  gstreamer0.10-plugins-ugly-multiverse <none>                       <none>       (no description available)
un  gstreamer0.10-pulseaudio              <none>                       <none>       (no description available)
ii  gstreamer0.10-tools                   0.10.36-1.5                  amd64        Tools for use with GStreamer
un  gstreamer0.10-videosource             <none>                       <none>       (no description available)
un  gstreamer0.10-x                       <none>                       <none>       (no description available)
un  gstreamer0.8-tools                    <none>                       <none>       (no description available)
ii  gstreamer1.0-alsa:amd64               1.10.4-1                     amd64        GStreamer plugin for ALSA
un  gstreamer1.0-audiosink                <none>                       <none>       (no description available)
un  gstreamer1.0-audiosource              <none>                       <none>       (no description available)
ii  gstreamer1.0-clutter                  2.0.18-1                     amd64        Clutter PLugin for GStreamer 1.0
ii  gstreamer1.0-clutter-3.0              3.0.24-1                     amd64        Clutter PLugin for GStreamer 1.0
ii  gstreamer1.0-crystalhd                1:0.0~git20110715.fdd2f19-12 amd64        Crystal HD Video Decoder (GStreamer plugin)
un  gstreamer1.0-doc                      <none>                       <none>       (no description available)
un  gstreamer1.0-ffmpeg                   <none>                       <none>       (no description available)
un  gstreamer1.0-lame                     <none>                       <none>       (no description available)
ii  gstreamer1.0-libav:amd64              1:1.10.4-dmo1                amd64        FFmpeg plugin for GStreamer
ii  gstreamer1.0-nice:amd64               0.1.13-2                     amd64        ICE library (GStreamer plugin)
ii  gstreamer1.0-plugins-bad:amd64        1:1.12.2-dmo1                amd64        GStreamer plugins from the "bad" set
ii  gstreamer1.0-plugins-base:amd64       1.10.4-1                     amd64        GStreamer plugins from the "base" set
ii  gstreamer1.0-plugins-base:i386        1.10.4-1                     i386         GStreamer plugins from the "base" set
un  gstreamer1.0-plugins-faac             <none>                       <none>       (no description available)
ii  gstreamer1.0-plugins-good:amd64       1.10.4-1                     amd64        GStreamer plugins from the "good" set
un  gstreamer1.0-plugins-mpeg2enc         <none>                       <none>       (no description available)
un  gstreamer1.0-plugins-really-bad       <none>                       <none>       (no description available)
ii  gstreamer1.0-plugins-ugly:amd64       1.10.4-1                     amd64        GStreamer plugins from the "ugly" set
ii  gstreamer1.0-pulseaudio:amd64         1.10.4-1                     amd64        GStreamer plugin for PulseAudio
ii  gstreamer1.0-tools                    1.12.3-1                     amd64        Tools for use with GStreamer
un  gstreamer1.0-videosink                <none>                       <none>       (no description available)
un  gstreamer1.0-videosource              <none>                       <none>       (no description available)
un  gstreamer1.0-visualization            <none>                       <none>       (no description available)
ii  gstreamer1.0-x:amd64                  1.12.2-1                     amd64        GStreamer plugins for X11 and Pango
un  libcanberra-gstreamer                 <none>                       <none>       (no description available)
ii  libgstreamer-plugins-bad0.10-0:amd64  0.10.23-8.1                  amd64        GStreamer development files for libraries from the "bad" set
ii  libgstreamer-plugins-bad1.0-0:amd64   1:1.12.2-dmo1                amd64        GStreamer development files for libraries from the "bad" set
ii  libgstreamer-plugins-bad1.0-dev       1:1.12.2-dmo1                amd64        GStreamer development files for libraries from the "bad" set
ii  libgstreamer-plugins-base0.10-0:amd64 0.10.36-2                    amd64        GStreamer libraries from the "base" set
rc  libgstreamer-plugins-base0.10-0:i386  0.10.36-2                    i386         GStreamer libraries from the "base" set
ii  libgstreamer-plugins-base0.10-dev     0.10.36-2                    amd64        GStreamer development files for libraries from the "base" set
ii  libgstreamer-plugins-base1.0-0:amd64  1.12.3-1                     amd64        GStreamer libraries from the "base" set
ii  libgstreamer-plugins-base1.0-0:i386   1.12.3-1                     i386         GStreamer libraries from the "base" set
ii  libgstreamer-plugins-base1.0-dev      1.12.3-1                     amd64        GStreamer development files for libraries from the "base" set
ii  libgstreamer0.10-0:amd64              0.10.36-1.5                  amd64        Core GStreamer libraries and elements
rc  libgstreamer0.10-0:i386               0.10.36-1.5                  i386         Core GStreamer libraries and elements
ii  libgstreamer0.10-dev                  0.10.36-1.5                  amd64        GStreamer core development files
ii  libgstreamer1.0-0:amd64               1.12.3-1                     amd64        Core GStreamer libraries and elements
ii  libgstreamer1.0-0:i386                1.12.3-1                     i386         Core GStreamer libraries and elements
ii  libgstreamer1.0-dev                   1.12.3-1                     amd64        GStreamer core development files
ii  libgstreamerd-3-0                     3.6.6-1                      amd64        GStreamer media framework - D bindings
ii  libreoffice-avmedia-backend-gstreamer 1:5.4.1-1                    amd64        GStreamer backend for LibreOffice
un  mate-media-gstreamer                  <none>                       <none>       (no description available)
un  mate-settings-daemon-gstreamer        <none>                       <none>       (no description available)
un  phonon-backend-gstreamer              <none>                       <none>       (no description available)
un  phonon4qt5-backend-gstreamer          <none>                       <none>       (no description available)
ii  qtgstreamer-plugins:amd64             1.2.0-4                      amd64        GStreamer plugins from QtGStreamer
ii  qtgstreamer-plugins-qt5:amd64         1.2.0-4                      amd64        GStreamer plugins from QtGStreamer - Qt 5 build
un  totem-gstreamer                       <none>                       <none>       (no description available)

#7

And gst-inspect-1.0 typefind ?


#8

No such element or plugin โ€˜typefindโ€™


#9

I donโ€™t understand whatsโ€™s going on here, this works in my Debian testing container:

root@509ff9939fca:/# cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux buster/sid"
NAME="Debian GNU/Linux"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"


root@509ff9939fca:/# gst-inspect-1.0 typefind
Factory Details:
  Rank                     none (0)
  Long-name                TypeFind
  Klass                    Generic
  Description              Finds the media type of a stream
  Author                   Benjamin Otte <in7y118@public.uni-hamburg.de>

Plugin Details:
  Name                     coreelements
  Description              GStreamer core elements
  Filename                 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoreelements.so
  Version                  1.12.3
  License                  LGPL
  Source module            gstreamer
  Source release date      2017-09-18
  Binary package           GStreamer (Debian)
  Origin URL               http://packages.qa.debian.org/gstreamer1.0


root@509ff9939fca:/# apt-file search /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoreelements.so
libgstreamer1.0-0: /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoreelements.so

But your earlier output shows you have libgstreamer1.0-0 installed alreadyโ€ฆ Iโ€™m not sure why you have both amd64 and i386 versions of everything though, that is a bit odd.


#10

Maybe try GST_DEBUG=4 gst-inspect-1.0 typefind to see what plugin path itโ€™s trying to use?


#11

result of that line

https://paste.debian.net/hidden/9f90c2b1/

I also went ahead and removed the :i386 version, no idea how it happened but my suspicion si that it must have been installed during wine:i386 installation. However that did not help


#12

There were couple gst upgrades I did those and I see now an output

I still get the same error with mopidy local scan though

gst-inspect-0.10 typefind

Factory Details:
  Long name:	TypeFind
  Class:	Generic
  Description:	Finds the media type of a stream
  Author(s):	Benjamin Otte <in7y118@public.uni-hamburg.de>
  Rank:		none (0)

Plugin Details:
  Name:			coreelements
  Description:		standard GStreamer elements
  Filename:		/usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstcoreelements.so
  Version:		0.10.36
  License:		LGPL
  Source module:	gstreamer
  Source release date:	2012-02-20
  Binary package:	GStreamer (Debian)
  Origin URL:		http://packages.qa.debian.org/gstreamer0.10

GObject
 +----GstObject
       +----GstElement
             +----GstTypeFindElement

Pad Templates:
  SRC template: 'src'
    Availability: Always
    Capabilities:
      ANY

  SINK template: 'sink'
    Availability: Always
    Capabilities:
      ANY


Element Flags:
  no flags set

Element Implementation:
  Has change_state() function: gst_type_find_element_change_state
  Has custom save_thyself() function: gst_element_save_thyself
  Has custom restore_thyself() function: gst_element_restore_thyself

Element has no clocking capabilities.
Element has no indexing capabilities.
Element has no URI handling capabilities.

Pads:
  SRC: 'src'
    Implementation:
      Has getrangefunc(): gst_type_find_element_getrange
      Has custom eventfunc(): gst_type_find_element_src_event
      Has custom queryfunc(): gst_type_find_handle_src_query
      Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
      Has getcapsfunc(): gst_pad_get_fixed_caps_func
      Has acceptcapsfunc(): gst_pad_acceptcaps_default
    Pad Template: 'src'
  SINK: 'sink'
    Implementation:
      Has chainfunc(): gst_type_find_element_chain
      Has custom eventfunc(): gst_type_find_element_handle_event
      Has custom queryfunc(): gst_pad_query_default
      Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
      Has setcapsfunc(): gst_type_find_element_setcaps
      Has acceptcapsfunc(): gst_pad_acceptcaps_default
    Pad Template: 'sink'

Element Properties:
  name                : The name of the object
                        flags: readable, writable
                        String. Default: "typefindelement0"
  caps                : detected capabilities in stream
                        flags: readable
                        Caps (NULL)
  minimum             : minimum probability required to accept caps
                        flags: readable, writable
                        Unsigned Integer. Range: 1 - 100 Default: 1 
  maximum             : probability to stop typefinding (deprecated; non-functional)
                        flags: readable, writable
                        Unsigned Integer. Range: 1 - 100 Default: 100 
  force-caps          : force caps without doing a typefind
                        flags: readable, writable
                        Caps (NULL)

Element Signals:
  "have-type" :  void user_function (GstElement* object,
                                     guint arg0,
                                     GstCaps* arg1,
                                     gpointer user_data);

#13

I think some plugins were blacklisted ;(

I removed ~/.cache/gstreamer-1.0/registry.x86_64.bin

some progress there

 gst-inspect-1.0 -b                                                                                                                             โ”‚ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยท
Blacklisted files:                                                                                                                                                             โ”‚ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยท
  libgstvaapi.so                                                                                                                                                               โ”‚ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยท
  libgstclutter.so                                                                                                                                                             โ”‚ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยท
  libgstcoreelements.so

#14

Ok I think I finally got rid of the errors but I still cant get mopidy to scan any files even though there are 20k songs in the folder ;(

mopidy local scan
INFO     Starting Mopidy 2.1.0
INFO     Loading config from builtin defaults
INFO     Loading config from /root/.config/mopidy/mopidy.conf
INFO     Loading config from command line options
INFO     Disabled extension iris: Dependency pytest-timeout==1.2.0 not found
INFO     Enabled extensions: alsamixer, http, stream, beets, spotify_tunigo, mobile, local-sqlite, dleyna, tunein, internetarchive, musicbox_webclient, mpris, softwaremixer, file, local-images, somafm, local, m3u
INFO     Disabled extensions: spotify, mpd, dirble, soundcloud, iris
WARNING  Found dirble configuration errors, the extension has been automatically disabled:
WARNING    dirble/api_key must be set.
WARNING  Found mpd configuration errors, the extension has been automatically disabled:
WARNING    mpd/hostname must be a resolveable hostname or valid IP
WARNING  Found soundcloud configuration errors, the extension has been automatically disabled:
WARNING    soundcloud/auth_token must be set.
WARNING  Found spotify configuration errors, the extension has been automatically disabled:
WARNING    spotify/username must be set.
WARNING    spotify/client_secret must be set.
WARNING    spotify/password must be set.
WARNING    spotify/client_id must be set.
WARNING  Please fix the extension configuration errors or disable the extensions to silence these messages.
INFO     Found 0 files in media_dir.
INFO     Checking 0 tracks from library.
INFO     Removing 0 missing tracks.
INFO     Found 0 tracks which need to be updated.
INFO     Scanning...
INFO     Scanned 0 of 0 files in 0s.
INFO     Done scanning.



[file]
enabled = true
media_dirs =  /media/xxx/Music

#  $XDG_MUSIC_DIR|Music
#  ~/|Home
#excluded_file_extensions = 
#  .jpg
#  .jpeg
#show_dotfiles = false
follow_symlinks = true
#metadata_timeout = 1000

#15

it is also curious given that โ€œfollow_symlinks = trueโ€

can error FindError(u'Not following symlinks.', None) for '/root/Music/Music (music is symlink)


#16

Ok, so to be clear, mopidy uses gstreamer1.0 so any gstreamer0.10 stuff is of no use to us.

The output of GST_DEBUG=4 gst-inspect-1.0 typefind should be printing debug info, which yours doesnโ€™t seem to be. It relies on setting that environment variable so I guess youโ€™re not using bash?

The file extension and the local extension are not the same thing. Scanning is a function of the local extension.