Extension Spotify failed during setup

I am trying to setup Mopidy with Mopidy-Spotify extension on a Mac to use with ncmpcpp. I went through the docs for configuration and am running into an error when starting mopidy in the terminal. Any suggestions? I can give more details if needed. Thank you

“Extension Spotify failed during setup. This might have left the registry in a bad state”

  • [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_tunigo]

enabled = true

region =

sub_genres = true

cache_time = 3600

[spotify]

enabled = true

username = *********

password = ********

client_id = 7da5279f-cfc4-4a9c-99c0-c86ee5deaf28

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 = 6600

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

  • [Installed dependencies]

Executable: /opt/homebrew/bin/mopidy
Platform: macOS-12.1-arm64-arm-64bit
Python: CPython 3.9.10 from /opt/homebrew/Cellar/python@3.9/3.9.10/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: 2.0.2 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
requests: 2.22.0 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
chardet: 3.0.4 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
idna: 2.8 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
urllib3: 1.25.7 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
certifi: 2019.11.28 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
setuptools: 60.5.0 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: 2.0.2 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/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: 60.5.0 from /opt/homebrew/lib/python3.9/site-packages
requests: 2.22.0 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
chardet: 3.0.4 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
idna: 2.8 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
urllib3: 1.25.7 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
certifi: 2019.11.28 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
setuptools: 60.5.0 from /opt/homebrew/lib/python3.9/site-packages
Mopidy-Spotify-Tunigo: 1.0.0 from /opt/homebrew/lib/python3.9/site-packages
Mopidy: 3.2.0 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: 2.0.2 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/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: 60.5.0 from /opt/homebrew/lib/python3.9/site-packages
requests: 2.22.0 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
chardet: 3.0.4 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
idna: 2.8 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
urllib3: 1.25.7 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
certifi: 2019.11.28 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
setuptools: 60.5.0 from /opt/homebrew/lib/python3.9/site-packages
Pykka: 2.0.2 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
setuptools: 60.5.0 from /opt/homebrew/lib/python3.9/site-packages
tunigo: 1.0.0 from /opt/homebrew/lib/python3.9/site-packages
requests: 2.22.0 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
chardet: 3.0.4 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
idna: 2.8 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
urllib3: 1.25.7 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
certifi: 2019.11.28 from /opt/homebrew/Cellar/mopidy/3.2.0/libexec/lib/python3.9/site-packages
setuptools: 60.5.0 from /opt/homebrew/lib/python3.9/site-packages
GStreamer: 1.18.5.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

  • Information about your computer’s hardware and software
    MacBook Pro M1 2020
    OS – Monterey 12.1