This commit is contained in:
Jeff Lance 2021-03-04 19:46:00 +01:00
parent 13af8fef3d
commit 490fdd8c98
2 changed files with 34 additions and 82 deletions

View File

@ -16,80 +16,56 @@
# `mopidy --version` to check the current version. # `mopidy --version` to check the current version.
[core] [core]
cache_dir = $XDG_CACHE_DIR/mopidy cache_dir = $XDG_CACHE_DIR/mopidy
config_dir = $XDG_CONFIG_DIR/mopidy config_dir = $XDG_CONFIG_DIR/mopidy
data_dir = $XDG_DATA_DIR/mopidy data_dir = $XDG_DATA_DIR/mopidy
#max_tracklist_length = 10000
[logging] [logging]
color = true color = true
console_format = %(levelname)-8s %(message)s 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] [audio]
#mixer = software
#mixer_volume =
output = autoaudiosink output = autoaudiosink
#output = tee name=t t. ! queue ! pulsesink server=127.0.0.1 t. ! queue ! audioresample ! audioconvert ! audio/x-raw,rate=44100,channels=2,format=S16LE ! wavenc ! filesink location=/tmp/mpd.fifo
#output = pulsesink server=127.0.0.1
#buffer_time =
[proxy]
#scheme =
#hostname =
#port =
#username =
#password =
[mpd] [mpd]
enabled = true enabled = true
hostname = :: hostname = ::
port = 6700 port = 6700
#password = max_connections = 20
max_connections = 20 connection_timeout = 60
connection_timeout = 60 zeroconf = Mopidy MPD server on $hostname
zeroconf = Mopidy MPD server on $hostname
#command_blacklist =
# listall
# listallinfo
default_playlist_scheme = m3u default_playlist_scheme = m3u
[http] [http]
enabled = true enabled = false
#hostname = 127.0.0.1
#port = 6680
#static_dir =
#zeroconf = Mopidy HTTP server on $hostname
[stream] [stream]
enabled = false enabled = true
#protocols = protocols =
# http http
# https https
# mms mms
# rtmp rtmp
# rtmps rtmps
# rtsp rtsp
#metadata_blacklist = timeout = 5000
#timeout = 5000 metadata_blacklist =
[m3u] [m3u]
enabled = true enabled = true
#base_dir = /mnt/music/diskstation1/playlists base_dir = $XDG_MUSIC_DIR
default_encoding = latin-1 default_encoding = latin-1
default_extension = .m3u8 default_extension = .m3u8
playlists_dir = /mnt/diskstation1/music/playlists playlists_dir = $XDG_MUSIC_DIR/playlists
[softwaremixer] [softwaremixer]
enabled = true enabled = true
[file] [file]
enabled = false enabled = true
media_dirs = media_dirs =
/mnt/diskstation1/music|Musique $XDG_MUSIC_DIR|Musique
#$XDG_MUSIC_DIR|Home $HOME|Home
show_dotfiles = false show_dotfiles = false
follow_symlinks = false follow_symlinks = false
metadata_timeout = 1000 metadata_timeout = 1000
@ -106,35 +82,6 @@ excluded_file_extensions =
.lyrics .lyrics
.cue .cue
[local] # [beets]
enabled = true # hostname = 127.0.0.1
media_dir = /mnt/diskstation1/music # port = 8337
scan_timeout = 1000
scan_flush_threshold = 100
scan_follow_symlinks = false
included_file_extensions =
.flac
excluded_file_extensions =
.directory
.html
.jpeg
.jpg
.log
.nfo
.png
.txt
.m3u
.lyrics
.cue
[deezer]
enabled = true
user_id = 9528727
[iris]
country = fr
locale = fr_FR
[beets]
hostname = 127.0.0.1
port = 8337

View File

@ -1,3 +1,8 @@
# File : mopidy.yaml
# Author : Jeff LANCE <email@jefflance.me>
# Date : 04.03.2021
# Last Modified Date: 04.03.2021
# Last Modified By : Jeff LANCE <email@jefflance.me>
- link: - link:
~/.config/mopidy/mopidy.conf: ${HOME}/.config/mopidy/mopidy.conf:
path: conf/mopidy.conf path: conf/mopidy.conf