Files
audioserver/mopidy/mopidy.conf
T
2026-05-17 00:04:52 +02:00

149 lines
3.2 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 ! tee name=t ! queue max-size-buffers=0 max-size-bytes=0 max-size-time=2000000000 ! filesink location=/audio/mopidy.fifo sync=true async=false t. ! queue leaky=2 max-size-buffers=0 max-size-bytes=0 max-size-time=200000000 ! filesink location=/audio/cava.fifo sync=true async=false
buffer_time =
[proxy]
scheme =
hostname =
port =
username =
password =
[iris]
enabled = true
country = AT
locale = en_NZ
verify_certificates = true
snapcast_enabled = true
snapcast_host = ${SNAPSERVER_HOST}
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 = /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 =
/music
excluded_file_extensions =
.directory
.html
.log
.nfo
.pdf
.txt
.zip
show_dotfiles = false
follow_symlinks = false
metadata_timeout = 1000
[http]
enabled = true
hostname = 0.0.0.0
port = 6680
zeroconf = Mopidy HTTP server on $hostname
allowed_origins =
192.168.178.100
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 = 0.0.0.0
connection_timeout = 120
#[spotify]
# mopidy-spotify requires pyspotify which has no arm64 build (libspotify was
# discontinued by Spotify). Spotify playback is handled via librespot/snapserver.
#client_id = ${SPOTIFY_CLIENT_ID}
#client_secret = ${SPOTIFY_CLIENT_SECRET}
[muse]
enabled = true
[youtube]
enabled = true
[beets]
hostname = ${BEETS_HOST}
port = 8337