Mopidy-spotify doesn't run due to pyspotify issue

Hi, can’t get mopidy spotify working due to a pyspotify issue. Mopidy debug log here (lines 57-66 most important).

Additional info:

  • Effective config:
[core]
cache_dir = $XDG_CACHE_DIR/mopidy
config_dir = $XDG_CONFIG_DIR/mopidy
data_dir = $XDG_DATA_DIR/mopidy
max_tracklist_length = 10000
restore_state = false

[logging]
verbosity = 0
format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n  %(message)s
color = true
config_file =

[audio]
mixer = software
mixer_volume =
output = autoaudiosink
buffer_time =

[proxy]
scheme =
hostname =
port =
username =
password =

[spotify]
enabled = true
username = REDACTED
password = ********
client_id = REDACTED
client_secret = ********
bitrate = 160
volume_normalization = true
private_session = false
timeout = 10
allow_cache = true
allow_network = true
allow_playlists = true
search_album_count = 20
search_artist_count = 10
search_track_count = 50
toplist_countries =

[file]
enabled = true
media_dirs =
  $XDG_MUSIC_DIR|Music
  ~/|Home
excluded_file_extensions =
  .directory
  .html
  .jpeg
  .jpg
  .log
  .nfo
  .pdf
  .png
  .txt
  .zip
show_dotfiles = false
follow_symlinks = false
metadata_timeout = 1000

[http]
enabled = true
hostname = 127.0.0.1
port = 6680
zeroconf = Mopidy HTTP server on $hostname
allowed_origins =
csrf_protection = true
default_app = mopidy

[m3u]
enabled = true
base_dir =
default_encoding = latin-1
default_extension = .m3u8
playlists_dir =

[softwaremixer]
enabled = true

[stream]
enabled = true
protocols =
  http
  https
  mms
  rtmp
  rtmps
  rtsp
metadata_blacklist =
timeout = 5000
  • Dependencies:
Executable: /opt/homebrew/bin/mopidy
Platform: macOS-12.0.1-arm64-arm-64bit
Python: CPython 3.9.9 from /opt/homebrew/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9
Mopidy: 3.2.0 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
  Pykka: 3.0.1 from /opt/homebrew/lib/python3.9/site-packages
  requests: 2.25.0 from /opt/homebrew/lib/python3.9/site-packages
    certifi: 2020.11.8 from /opt/homebrew/lib/python3.9/site-packages
    chardet: 3.0.4 from /opt/homebrew/lib/python3.9/site-packages
    urllib3: 1.26.2 from /opt/homebrew/lib/python3.9/site-packages
    idna: 2.10 from /opt/homebrew/lib/python3.9/site-packages
  setuptools: 59.0.1 from /opt/homebrew/lib/python3.9/site-packages
  tornado: 6.0.3 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
Mopidy-Spotify: 4.1.0 from /opt/homebrew/Cellar/mopidy-spotify/4.1.0/libexec/lib/python3.9/site-packages
  Mopidy: 3.2.0 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
  Pykka: 3.0.1 from /opt/homebrew/lib/python3.9/site-packages
  pyspotify: 2.1.3 from /opt/homebrew/Cellar/pyspotify/2.1.3_2/libexec/lib/python3.9/site-packages
    cffi: 1.13.2 from /opt/homebrew/Cellar/pyspotify/2.1.3_2/libexec/lib/python3.9/site-packages
      pycparser: 2.19 from /opt/homebrew/Cellar/pyspotify/2.1.3_2/libexec/lib/python3.9/site-packages
    setuptools: 59.0.1 from /opt/homebrew/lib/python3.9/site-packages
  requests: 2.25.0 from /opt/homebrew/lib/python3.9/site-packages
    certifi: 2020.11.8 from /opt/homebrew/lib/python3.9/site-packages
    chardet: 3.0.4 from /opt/homebrew/lib/python3.9/site-packages
    urllib3: 1.26.2 from /opt/homebrew/lib/python3.9/site-packages
    idna: 2.10 from /opt/homebrew/lib/python3.9/site-packages
  setuptools: 59.0.1 from /opt/homebrew/lib/python3.9/site-packages
GStreamer: 1.18.4.0 from /opt/homebrew/lib/python3.9/site-packages/gi
  Detailed information:
    Python wrapper: python-gi 3.42.0
    Relevant elements:
      Found:
        uridecodebin
        souphttpsrc
        appsrc
        oss4sink
        id3demux
        id3v2mux
        lamemp3enc
        mpegaudioparse
        vorbisdec
        vorbisenc
        vorbisparse
        oggdemux
        oggmux
        oggparse
        flacdec
        flacparse
        shout2send
      Not found:
        alsasink
        osssink
        pulsesink
        flump3dec
        mad
        mpg123audiodec
  • Hardware: Mac M1, MacOS Monterey

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.