Hi,
I would be very happy with some help, as I seem to miss something regarding the first setup.
I managed to install Mopidy on a Raspberry Pi as a service.
root@pi:/etc/mopidy# sudo systemctl status mopidy
● mopidy.service - Mopidy music server
Loaded: loaded (/lib/systemd/system/mopidy.service; enabled)
Active: active (running) since Sun 2017-03-19 14:06:01 CET; 29min ago
Process: 18914 ExecStartPre=/bin/chown mopidy:audio /var/cache/mopidy (code=exited, status=0/SUCCESS)
Process: 18910 ExecStartPre=/bin/mkdir -p /var/cache/mopidy (code=exited, status=0/SUCCESS)
Main PID: 18919 (mopidy)
CGroup: /system.slice/mopidy.service
└─18919 /usr/bin/python /usr/bin/mopidy --config /usr/share/mopidy...
Mar 19 14:06:07 pi mopidy[18919]: INFO Starting Mopidy mixer: SoftwareMixer
Mar 19 14:06:07 pi mopidy[18919]: INFO Starting Mopidy audio
Mar 19 14:06:07 pi mopidy[18919]: INFO Starting Mopidy backends: Stream...nd
Mar 19 14:06:07 pi mopidy[18919]: INFO Audio output set to "autoaudiosink"
Mar 19 14:06:08 pi mopidy[18919]: INFO Creating dir /var/lib/mopidy/.lo...3u
Mar 19 14:06:08 pi mopidy[18919]: INFO Starting Mopidy core
Mar 19 14:06:08 pi mopidy[18919]: INFO Starting Mopidy frontends: Queue...nd
Mar 19 14:06:08 pi mopidy[18919]: INFO MPD server running at [::ffff:12...00
Mar 19 14:06:08 pi mopidy[18919]: INFO HTTP server running at [::ffff:1...80
Mar 19 14:06:08 pi mopidy[18919]: INFO Starting GLib mainloop
Hint: Some lines were ellipsized, use -l to show in full.
When checking the active config I get:
root@pi:/etc/mopidy# sudo mopidyctl config
Running "/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf config" as user mopidy
[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]
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 = mopidy.log
config_file =
[audio]
mixer = software
mixer_volume =
output = autoaudiosink
buffer_time =
[proxy]
scheme =
hostname =
port =
username =
password =
[mopify]
enabled = true
debug = false
[spotify]
enabled = false ; Extension disabled due to config errors.
username = ; Must be set.
password = ; Must be set.
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 =
[mpd]
enabled = true
hostname = 127.0.0.1
port = 6600
password =
max_connections = 20
connection_timeout = 60
zeroconf = Mopidy MPD server on $hostname
command_blacklist =
listall
listallinfo
default_playlist_scheme = m3u
[http]
enabled = true
hostname = 127.0.0.1
port = 6680
static_dir =
zeroconf = Mopidy HTTP server on $hostname
[stream]
enabled = true
protocols =
http
https
mms
rtmp
rtmps
rtsp
metadata_blacklist =
timeout = 5000
[m3u]
enabled = true
base_dir =
default_encoding = latin-1
default_extension = .m3u8
playlists_dir =
[softwaremixer]
enabled = true
[file]
enabled = true
media_dirs =
$XDG_MUSIC_DIR|Music
~/|Home
excluded_file_extensions =
.jpg
.jpeg
show_dotfiles = false
follow_symlinks = false
metadata_timeout = 1000
[local]
enabled = false ; Extension disabled due to config errors.
library = json
media_dir = ; Must be set.
scan_timeout = 1000
scan_flush_threshold = 100
scan_follow_symlinks = false
excluded_file_extensions =
.directory
.html
.jpeg
.jpg
.log
.nfo
.png
.txt
However when I nano to /etc/mopidy/mopidy.conf I only get this:
root@pi:/etc/mopidy# nano mopidy.conf
GNU nano 2.2.6 File: mopidy.conf
# For further information about options in this file see:
# http://docs.mopidy.com/
#
# The initial commented out values reflect the defaults as of:
# Mopidy 2.1.0
# Mopidy-File 2.1.0
# Mopidy-HTTP 2.1.0
# Mopidy-Local 2.1.0
# Mopidy-M3U 2.1.0
# Mopidy-MPD 2.1.0
# Mopidy-SoftwareMixer 2.1.0
# Mopidy-Stream 2.1.0
#
# 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]
#color = true
#console_format = %(levelname)-8s %(message)s
#debug_format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name$
#debug_file = mopidy.log
#config_file =
[audio]
#mixer = software
#mixer_volume =
#output = autoaudiosink
#buffer_time =
[proxy]
#scheme =
#hostname =
#port =
#username =
How come this is the case? Why is Mopidy telling me he has that file loaded but the content is totally different? Where can I edit the correct file? Thanks so muc in advance!