From b1ac851ef89526d2e29ae96aebc1e702bc6e3ed5 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Thu, 5 Jul 2018 15:06:00 +0200 Subject: [PATCH] Add conf for mopidy. --- confs/mopidy.conf | 137 ++++++++++++++++++++++++++++++++++++ libs/configs/mopidy.yaml | 2 + libs/profiles/linux-desktop | 1 + 3 files changed, 140 insertions(+) create mode 100644 confs/mopidy.conf create mode 100644 libs/configs/mopidy.yaml diff --git a/confs/mopidy.conf b/confs/mopidy.conf new file mode 100644 index 0000000..3a4b7f8 --- /dev/null +++ b/confs/mopidy.conf @@ -0,0 +1,137 @@ +# 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.0.1 +# Mopidy-File 2.0.1 +# Mopidy-HTTP 2.0.1 +# Mopidy-Local 2.0.1 +# Mopidy-M3U 2.0.1 +# Mopidy-MPD 2.0.1 +# Mopidy-SoftwareMixer 2.0.1 +# Mopidy-Stream 2.0.1 +# +# 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 + +[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 = + +[mpd] +enabled = true +hostname = :: +port = 6700 +#password = +#max_connections = 20 +#connection_timeout = 60 +#zeroconf = Mopidy MPD server on $hostname +#command_blacklist = +# listall +# listallinfo +#default_playlist_scheme = m3u + +[http] +enabled = false +#hostname = 127.0.0.1 +#port = 6680 +#static_dir = +#zeroconf = Mopidy HTTP server on $hostname + +[stream] +enabled = false +#protocols = +# http +# https +# mms +# rtmp +# rtmps +# rtsp +#metadata_blacklist = +#timeout = 5000 + +[m3u] +enabled = true +#base_dir = $XDG_MUSIC_DIR +default_encoding = latin-1 +default_extension = .m3u8 +playlists_dir = /mnt/music/playlists + +[softwaremixer] +enabled = true + +[file] +enabled = false +media_dirs = + /mnt/music|Musique + #$XDG_MUSIC_DIR|Home +show_dotfiles = false +follow_symlinks = false +metadata_timeout = 1000 +excluded_file_extensions = + .directory + .html + .jpeg + .jpg + .log + .nfo + .png + .txt + .m3u + .lyrics + .cue + +[local] +enabled = true +library = json +media_dir = /mnt/music +scan_timeout = 1000 +scan_flush_threshold = 100 +scan_follow_symlinks = false +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 diff --git a/libs/configs/mopidy.yaml b/libs/configs/mopidy.yaml new file mode 100644 index 0000000..118b287 --- /dev/null +++ b/libs/configs/mopidy.yaml @@ -0,0 +1,2 @@ +- link: + ~/.config/mopidy/mopidy.conf: confs/mopidy.conf diff --git a/libs/profiles/linux-desktop b/libs/profiles/linux-desktop index f052df5..38d2204 100644 --- a/libs/profiles/linux-desktop +++ b/libs/profiles/linux-desktop @@ -6,6 +6,7 @@ editorconfig emacs fonts tmux +mopidy vim x zsh