From a fresh image of musicbox_v0.7.0RC6:
I’m unable to play Spotify using my Premium account and I’m unable to figure out where the error might be located. Here are the logs when I try to play and my mopidy config. What else should I check? I’ve deleted and set up the account details multiple times in case I typo’ed something.
/tmp/mopidy-debug.log
2018-06-30 10:13:40,590 DEBUG [2543:HttpServer] mopidy.http.handlers: Received WebSocket message from 192.168.1.198: u'{"method":"core.playback.stop","jsonrpc":"2.0","id":42}'
2018-06-30 10:13:40,592 DEBUG [2543:HttpServer] mopidy.http.handlers: Received WebSocket message from 192.168.1.198: u'{"method":"core.tracklist.clear","jsonrpc":"2.0","id":43}'
2018-06-30 10:13:40,593 DEBUG [2543:Core-16] mopidy.core.tracklist: Triggering event: tracklist_changed()
2018-06-30 10:13:40,594 DEBUG [2543:MainThread] mopidy.listener: Sending tracklist_changed to CoreListener: {}
2018-06-30 10:13:40,596 DEBUG [2543:HttpServer] mopidy.http.handlers: Received WebSocket message from 192.168.1.198: u'{"method":"core.tracklist.add","params":{"uris":["spotify:user:spotify:playlist:37i9dQZF1DX1gRalH1mWrP"]},"jsonrpc":"2.0","id":44}'
2018-06-30 10:13:40,700 DEBUG [2543:HttpServer] mopidy.http.handlers: Received WebSocket message from 192.168.1.198: u'{"method":"core.playback.play","jsonrpc":"2.0","id":45}'
2018-06-30 10:13:40,703 DEBUG [2543:HttpServer] mopidy.http.handlers: Received WebSocket message from 192.168.1.198: u'{"method":"core.tracklist.get_tl_tracks","jsonrpc":"2.0","id":46}'
2018-06-30 10:13:40,704 DEBUG [2543:HttpServer] mopidy.http.handlers: Received WebSocket message from 192.168.1.198: u'{"method":"core.tracklist.get_tl_tracks","jsonrpc":"2.0","id":48}'
2018-06-30 10:13:40,707 DEBUG [2543:HttpServer] mopidy.http.handlers: Received WebSocket message from 192.168.1.198: u'{"method":"core.tracklist.get_tracks","jsonrpc":"2.0","id":47}'
2018-06-30 10:13:40,708 DEBUG [2543:HttpServer] mopidy.http.handlers: Received WebSocket message from 192.168.1.198: u'{"method":"core.tracklist.get_tracks","jsonrpc":"2.0","id":49}'
2018-06-30 10:13:40,711 DEBUG [2543:HttpServer] mopidy.http.handlers: Received WebSocket message from 192.168.1.198: u'{"method":"core.playback.get_current_tl_track","jsonrpc":"2.0","id":48}'
2018-06-30 10:13:40,712 DEBUG [2543:HttpServer] mopidy.http.handlers: Received WebSocket message from 192.168.1.198: u'{"method":"core.playback.get_current_tl_track","jsonrpc":"2.0","id":50}'
service mopidy run config
[core]
cache_dir = /var/cache/mopidy
config_dir = /etc/mopidy
data_dir = /var/lib/mopidy
max_tracklist_length = 10000
[logging]
color = true
console_format = %(levelname)-8s %(message)s
debug_format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n %(message)s
debug_file = /var/log/mopidy/mopidy-debug.log
config_file = /etc/mopidy/logging-debug.conf
[audio]
mixer = software
mixer_volume = 85
output = alsasink
[proxy]
scheme =
hostname =
port =
username =
password =
[mpd]
enabled = true
hostname = 0.0.0.0
port = 6600
password =
max_connections = 20
connection_timeout = 60
zeroconf =
command_blacklist =
listall
listallinfo
[http]
enabled = true
hostname = 0.0.0.0
port = 6680
static_dir = /opt/musicbox/webclient
zeroconf =
[stream]
enabled = true
protocols =
http
https
mms
rtmp
rtmps
rtsp
metadata_blacklist =
timeout = 5000
[m3u]
enabled = true
playlists_dir = /music/playlists
[softwaremixer]
enabled = true
[file]
enabled = true
media_dirs =
/music|Music
show_dotfiles = false
follow_symlinks = true
metadata_timeout = 1000
[local]
enabled = true
library = sqlite
media_dir = /music
data_dir = $XDG_DATA_DIR/mopidy/local
scan_timeout = 1000
scan_flush_threshold = 100
scan_follow_symlinks = true
excluded_file_extensions =
.directory .html
.jpeg
.jpg
.log
.nfo
.png
.txt
.mkv
.avi
.divx
.qt
.htm
.zip
.rar
.gz
.pdf
.exe
.ini
.mid
.db
.m3u
.sfv
.midi
[youtube]
enabled = true
[websettings]
enabled = true
musicbox = true
config_file = /boot/config/settings.ini
[tunein]
enabled = true
timeout = 5000
[spotify]
enabled = true
username = thefellowshipcc
password = ********
client_id = bd320c4d-cd37-4b59-8a6c-d1f89d13ddea
client_secret = ********
bitrate = 320
timeout = 10
cache_dir =
settings_dir = $XDG_CONFIG_DIR/mopidy/spotify
toplist_countries =
AD
AR
AU
AT
BE
CO
CY
DK
EE
FI
FR
DE
GR
HK
IS
IE
IT
LV
LI
LT
LU
MY
MX
MC
NL
NZ
NO
PT
ES
SG
SE
CH
TW
TR
GB
US
search_album_count = 20
search_artist_count = 10
search_track_count = 50
[spotify_web]
enabled = false ; Extension disabled by user config.
[spotify_tunigo]
enabled = true
region =
sub_genres = true
cache_time = 3600
[soundcloud]
enabled = false ; Extension disabled by user config.
[somafm]
enabled = false ; Extension disabled by user config.
[simple-webclient]
enabled = true
[scrobbler]
enabled = false ; Extension disabled by user config.
[podcast]
enabled = true
browse_root = Podcasts.opml
browse_order = desc
lookup_order = asc
cache_size = 64
cache_ttl = 86400
timeout = 10
[podcast-itunes]
enabled = true
retries = 3
country = US
explicit =
base_url = http://itunes.apple.com/
charts = audioPodcasts
search_limit = 20
timeout = 10
charts_limit = 20
[musicbox_webclient]
enabled = true
musicbox = true
websocket_host =
websocket_port =
on_track_click = PLAY_ALL
[mopify]
enabled = true
debug = false
[moped]
enabled = true
[mobile]
enabled = true
title = Mopidy Mobile on $hostname
ws_url =
[local-sqlite]
enabled = true
directories =
Albums local:directory?type=album
Artists local:directory?type=artist
Composers local:directory?type=artist&role=composer
Genres local:directory?type=genre
Performers local:directory?type=artist&role=performer
Release Years local:directory?type=date&format=%25Y
Tracks local:directory?type=track
Last Week's Updates local:directory?max-age=604800
Last Month's Updates local:directory?max-age=2592000
timeout = 10
use_album_mbid_uri = true
use_artist_mbid_uri = false
use_artist_sortname = false
[internetarchive]
enabled = false ; Extension disabled by user config.
[http-kuechenradio]
enabled = true
title = Mopidy Küchenradio
default_locale = en
[gmusic]
enabled = false ; Extension disabled by user config.
[dirble]
enabled = true
api_key = 473279e3fa0e7010cbbbb40ecc31890d46e57a2e
countries =
US
NL
DE
NO
SE
timeout = 5000
[audioaddict]
enabled = false ; Extension disabled by user config.
[alsamixer]
enabled = false ; Extension disabled by user config.