Skip to content

Instantly share code, notes, and snippets.

@hav0ck
Created July 17, 2019 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hav0ck/add01a6a0f7137384eb6eca638f72891 to your computer and use it in GitHub Desktop.
Save hav0ck/add01a6a0f7137384eb6eca638f72891 to your computer and use it in GitHub Desktop.
Mopidy Config
[core]
cache_dir = /var/cache/mopidy
config_dir = /etc/mopidy
data_dir = /var/lib/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 = /var/log/mopidy/mopidy-debug.log
config_file = /etc/mopidy/logging.conf
[audio]
mixer = software
mixer_volume =
output = audioresample ! audioconvert ! wavenc ! filesink location=/tmp/snapfifo
buffer_time =
[proxy]
scheme =
hostname =
port =
username =
password =
[moped]
enabled = true
[mopify]
enabled = true
debug = false
[mpd]
enabled = true
hostname = 192.168.1.105
port = 6600
password =
max_connections = 10
connection_timeout = 60
zeroconf = Mopidy MPD server on $hostname
command_blacklist =
listall
listallinfo
default_playlist_scheme = m3u
[http]
enabled = true
hostname = 192.168.1.105
port = 6680
static_dir =
zeroconf = Mopidy HTTP server on $hostname
allowed_origins =
csrf_protection = true
[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 = /var/lib/mopidy/playlists
[softwaremixer]
enabled = true
[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
[local]
enabled = true
library = json
media_dir = /Media/Music
scan_timeout = 1000
scan_flush_threshold = 100
scan_follow_symlinks = false
excluded_file_extensions =
.html
.jpeg
.jpg
.log
.nfo
.pdf
.png
.txt
.zip
.BMP
.gif
.ini
.m3u
.dat
.torrent
.sfv
.tif
.db
.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment