HI
Installed mopidy + mpd + ncmpcpp in ubuntu Eoan to listen my spotify music this way
sudo apt install mpd mopidy mopidy-spotify ncmpcpp
configured using official docs. Launched at terminal ok But nothing appears on ncmpcpp. No playlist, no search function…
ncmpcpp is playing local music ok. I can not see any error. Need some guidance.
Seems that mopidy is ignoring spotify config. (see config file below)
Config files and output below:
CONFIG (running mopidy config on terminal)
[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 =
[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 = $XDG_MUSIC_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
`
OUTPUT (running on terminal)
INFO 2020-02-11 16:43:40,391 [21619:MainThread] mopidy.__main__
2 │ Starting Mopidy 3.0.1
3 │ DEBUG 2020-02-11 16:43:40,399 [21619:MainThread] mopidy.ext
4 │ Loading entry point: file = mopidy.file:Extension
5 │ DEBUG 2020-02-11 16:43:40,400 [21619:MainThread] mopidy.ext
6 │ Loaded extension: Mopidy-File 3.0.1
7 │ DEBUG 2020-02-11 16:43:40,400 [21619:MainThread] mopidy.ext
8 │ Loading entry point: http = mopidy.http:Extension
9 │ DEBUG 2020-02-11 16:43:40,400 [21619:MainThread] mopidy.ext
10 │ Loaded extension: Mopidy-HTTP 3.0.1
11 │ DEBUG 2020-02-11 16:43:40,400 [21619:MainThread] mopidy.ext
12 │ Loading entry point: m3u = mopidy.m3u:Extension
13 │ DEBUG 2020-02-11 16:43:40,400 [21619:MainThread] mopidy.ext
14 │ Loaded extension: Mopidy-M3U 3.0.1
15 │ DEBUG 2020-02-11 16:43:40,400 [21619:MainThread] mopidy.ext
16 │ Loading entry point: softwaremixer = mopidy.softwaremixer:Extension
17 │ DEBUG 2020-02-11 16:43:40,401 [21619:MainThread] mopidy.ext
18 │ Loaded extension: Mopidy-SoftwareMixer 3.0.1
19 │ DEBUG 2020-02-11 16:43:40,401 [21619:MainThread] mopidy.ext
20 │ Loading entry point: stream = mopidy.stream:Extension
21 │ DEBUG 2020-02-11 16:43:40,401 [21619:MainThread] mopidy.ext
22 │ Loaded extension: Mopidy-Stream 3.0.1
23 │ DEBUG 2020-02-11 16:43:40,403 [21619:MainThread] mopidy.ext
24 │ Discovered extensions: file, http, m3u, softwaremixer, stream
25 │ INFO 2020-02-11 16:43:40,407 [21619:MainThread] mopidy.config
26 │ Loading config from builtin defaults
27 │ DEBUG 2020-02-11 16:43:40,408 [21619:MainThread] mopidy.config
28 │ Loading config from file:///etc/xdg/xdg-regolith/mopidy/mopidy.conf failed; it does not exist
29 │ DEBUG 2020-02-11 16:43:40,408 [21619:MainThread] mopidy.config
30 │ Loading config from file:///etc/xdg/mopidy/mopidy.conf failed; it does not exist
31 │ INFO 2020-02-11 16:43:40,408 [21619:MainThread] mopidy.config
32 │ Loading config from file:///home/jose/.config/mopidy/mopidy.conf
33 │ INFO 2020-02-11 16:43:40,410 [21619:MainThread] mopidy.config
34 │ Loading config from command line options
35 │ DEBUG 2020-02-11 16:43:40,413 [21619:MainThread] mopidy.config
36 │ Ignoring unknown config section: spotify-tunigo
37 │ DEBUG 2020-02-11 16:43:40,413 [21619:MainThread] mopidy.config
38 │ Ignoring unknown config section: spotify
39 │ DEBUG 2020-02-11 16:43:40,413 [21619:MainThread] mopidy.config
40 │ Ignoring unknown config section: mpd
41 │ DEBUG 2020-02-11 16:43:40,414 [21619:MainThread] mopidy.ext
42 │ Validating extension: file
43 │ DEBUG 2020-02-11 16:43:40,451 [21619:MainThread] mopidy.ext
44 │ Validating extension: http
45 │ DEBUG 2020-02-11 16:43:40,493 [21619:MainThread] mopidy.ext
46 │ Validating extension: m3u
47 │ DEBUG 2020-02-11 16:43:40,494 [21619:MainThread] mopidy.ext
48 │ Validating extension: softwaremixer
49 │ DEBUG 2020-02-11 16:43:40,495 [21619:MainThread] mopidy.ext
50 │ Validating extension: stream
51 │ INFO 2020-02-11 16:43:40,496 [21619:MainThread] mopidy.__main__
52 │ Enabled extensions: m3u, stream, softwaremixer, file, http
53 │ INFO 2020-02-11 16:43:40,496 [21619:MainThread] mopidy.__main__
54 │ Disabled extensions: none
55 │ DEBUG 2020-02-11 16:43:40,547 [21619:MainThread] mopidy.commands
MOPIDY USER HOME CONFIG FILE
# For further information about options in this file see:
# https://docs.mopidy.com/
#
# The initial commented out values reflect the defaults as of:
# Mopidy 3.0.1
# Mopidy-File 3.0.1
# Mopidy-HTTP 3.0.1
# Mopidy-M3U 3.0.1
# Mopidy-SoftwareMixer 3.0.1
# Mopidy-Stream 3.0.1
#
# Available options and defaults might have changed since then,
# run `mopidy config` to see the current effective config and
# `mopidy --version` to check the current version.
[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 =
[file]
#enabled = true
#media_dirs =
# $XDG_MUSIC_DIR|Music
# ~/|Home
#excluded_file_extensions =
# .directory
# .html
# .jpeg
# .jpg
# .log
# .nfo
# .pdf
# .png
# .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 = $XDG_MUSIC_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
[spotify-tunigo]
enabled = true
[spotify]
enabled = true
username = xxxxxxxxxx
password = xxxxxxxxxxxx
client_id = ab09xxxxxxxxxxxxxxxx985e6d2
client_secret = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[mpd]
enabled = true
hostname = 127.0.0.1
port = 6600
password =
max_connections = 20
tion_timeout = 60
zeroconf = Mopidy MPD server on $hostname
command_blacklist =
listall
listallinfo
default_playlist_scheme = m3u