149 lines
2.9 KiB
Plaintext
149 lines
2.9 KiB
Plaintext
[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 = 1
|
|
format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n %(message)s
|
|
color = true
|
|
config_file =
|
|
|
|
[audio]
|
|
mixer = software
|
|
mixer_volume =
|
|
output = audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! filesink location=/tmp/snapfifo
|
|
buffer_time =
|
|
|
|
[proxy]
|
|
scheme =
|
|
hostname =
|
|
port =
|
|
username =
|
|
password =
|
|
|
|
[iris]
|
|
enabled = true
|
|
country = AT
|
|
locale = en_NZ
|
|
verify_certificates = true
|
|
snapcast_enabled = true
|
|
snapcast_host = 192.168.178.100
|
|
snapcast_port = 1780
|
|
snapcast_ssl = false
|
|
snapcast_stream = mopidy
|
|
spotify_authorization_url = https://jamesbarnsley.co.nz/iris/auth_spotify.php
|
|
lastfm_authorization_url = https://jamesbarnsley.co.nz/iris/auth_lastfm.php
|
|
genius_authorization_url = https://jamesbarnsley.co.nz/iris/auth_genius.php
|
|
data_dir = /data/iris
|
|
|
|
#[listenbrainz]
|
|
#enabled = false ; Extension disabled by user config.
|
|
|
|
[local]
|
|
enabled = true
|
|
max_search_results = 500
|
|
media_dir = /mnt/local/music
|
|
scan_timeout = 1000
|
|
scan_flush_threshold = 0
|
|
scan_follow_symlinks = false
|
|
included_file_extensions =
|
|
excluded_file_extensions =
|
|
.cue
|
|
.directory
|
|
.html
|
|
.log
|
|
.nfo
|
|
.pdf
|
|
.txt
|
|
.zip
|
|
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_artist_sortname = true
|
|
album_art_files =
|
|
folder.jpg
|
|
cover.jpg
|
|
*.jpg
|
|
*.png
|
|
|
|
[file]
|
|
enabled = true
|
|
media_dirs =
|
|
/mnt/server/music
|
|
/mnt/local/music
|
|
excluded_file_extensions =
|
|
.directory
|
|
.html
|
|
.log
|
|
.nfo
|
|
.pdf
|
|
.txt
|
|
.zip
|
|
show_dotfiles = false
|
|
follow_symlinks = false
|
|
metadata_timeout = 1000
|
|
|
|
[http]
|
|
enabled = true
|
|
hostname = ::
|
|
port = 6680
|
|
zeroconf = Mopidy HTTP server on $hostname
|
|
allowed_origins =
|
|
192.168.178.100
|
|
172.21.0.3
|
|
localhost
|
|
csrf_protection = false
|
|
default_app = mopidy
|
|
|
|
[m3u]
|
|
enabled = true
|
|
base_dir = /music
|
|
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
|
|
|
|
[mpd]
|
|
enabled = true
|
|
hostname = ::
|
|
connection_timeout = 120
|
|
|
|
[spotify]
|
|
client_id = 64452e16-a0f3-4e2f-b92a-7bfe34d01f3b
|
|
client_secret = Y975azhoicJ6i99gJ1EgmOWCqeCjmJT7zid8ICjdU2o=
|
|
|
|
[muse]
|
|
enabled = true
|
|
|
|
[youtube]
|
|
enabled = true
|
|
|
|
[beets]
|
|
hostname = 192.168.178.100
|
|
port = 8337
|