# myMPD configuration file # # SPDX-License-Identifier: GPL-2.0-or-later # myMPD (c) 2018-2021 Juergen Mang # https://github.com/jcorporation/mympd # [mpd] #Connection to mpd, unix socket or host/port, socket preferred #host = /run/mpd/socket #host = 127.0.0.1 #port = 6600 #pass = host = /run/mpd/socket #absolut path of music_directory of mpd #none = no local music_directory #auto = get music_directory from mpd (only supported, if connected to mpd socket) #musicdirectory = auto musicdirectory = /var/lib/mpd/ #absolut path of mpd playlist_directory playlistdirectory = /var/lib/mpd/playlists #MPD compiled with regex support regex = true [webserver] #Webserver options httphost = 0.0.0.0 httpport = 80 #Enable ssl #Certificates are generated under /var/lib/mympd/ssl/ ssl = true sslport = 443 #Publishes some mpd and myMPD directories publish = false [mympd] Loglevel #0 = emerg #1 = alert #2 = crit #3 = error #4 = warn #5 = notice #6 = info #7 = debug loglevel = 5 #myMPD user #group is the primary group of this user user = mympd #Usage of stickers for play statistics stickers = true #Mixrampdb settings in gui mixramp = false #Enable system commands defined in syscmds section syscmds = false #Enable lua scripting scripting = false #Chroot to /var/lib/mympd chroot = false readonly = false [syscmds] Shutdown = sudo /sbin/halt #To use this command add following lines to /etc/sudoers (without #) #Cmnd_Alias MYMPD_CMDS = /sbin/halt #mympd ALL=NOPASSWD: MYMPD_CMDS lyrics = true