summaryrefslogtreecommitdiff
path: root/dotfiles/system/.config/mopidy/mopidy.conf
blob: a386dbd54756eaaf61cc092e76c7484af9aa5e97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# Mopidy configuration for cjennings
# See https://docs.mopidy.com/en/latest/config/ for documentation

[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 = 0
format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n  %(message)s
color = true

[audio]
mixer = software
mixer_volume =
output = pulsesink device=alsa_output.pci-0000_00_1f.3.analog-stereo
# Buffer time in milliseconds - 1000ms works well for local files
# Explicitly using analog output to avoid Bluetooth latency/jumpiness issues
buffer_time = 1000

[proxy]
scheme =
hostname =
port =
username =
password =

[file]
enabled = true
# Point to Craig's music directory
media_dirs =
  /home/cjennings/music|Music
excluded_file_extensions =
  .directory
  .html
  .jpeg
  .jpg
  .log
  .nfo
  .pdf
  .png
  .txt
  .zip
show_dotfiles = false
follow_symlinks = false
metadata_timeout = 1000

[http]
enabled = true
hostname = 127.0.0.1
port = 6680
zeroconf = Mopidy HTTP server on $hostname
allowed_origins =
csrf_protection = true
default_app = mopidy

[m3u]
enabled = true
base_dir = /home/cjennings/music
default_encoding = latin-1
default_extension = .m3u
playlists_dir = /home/cjennings/music

[softwaremixer]
enabled = true

[stream]
enabled = true
protocols =
  http
  https
  mms
  rtmp
  rtmps
  rtsp
metadata_blacklist =
# Increase timeout for slow/distant streams (30 seconds)
timeout = 30000

# MPD frontend - enables MPD protocol compatibility (port 6600)
# This allows MPD clients like mpc, ncmpcpp to work with Mopidy
[mpd]
enabled = true
hostname = 127.0.0.1
port = 6600
password =
max_connections = 20
connection_timeout = 60