Parcourir la source

working on changes, and debugging

master
Erin Sims il y a 2 ans
Parent
révision
912eca838a
1 fichiers modifiés avec 30 ajouts et 30 suppressions
  1. +30
    -30
      playbooks/mpdf.conf.j2

+ 30
- 30
playbooks/mpdf.conf.j2 Voir le fichier

@@ -24,7 +24,7 @@ database {
# playlist files not created by the server but only if they are in the MPD
# format. This setting defaults to playlist saving being disabled.
#
playlist_directory {{ [path,item,playlist_directory]|join() }}
playlist_directory "{{ [path,item,playlist_directory]|join() }}"
#
# This setting sets the location of the MPD database. This file is used to
# load the database at server start up and store the database while the
@@ -32,7 +32,7 @@ playlist_directory {{ [path,item,playlist_directory]|join() }}
# MPD to accept files over ipc socket (using file:// protocol) or streaming
# files over an accepted protocol.
#
db_file {{ [path,item,db_file]|join() }}
db_file "{{ [path,item,db_file]|join() }}"

#
# These settings are the locations for the daemon log files for the daemon.
@@ -42,26 +42,26 @@ db_file {{ [path,item,db_file]|join() }}
# The special value "syslog" makes MPD use the local syslog daemon. This
# setting defaults to logging to syslog, otherwise logging is disabled.
#
log_file {{ [log_dir,'mpd',item,'.log']|join() }}
log_file "{{ [log_dir,'mpd',item,'.log']|join() }}"
#
# This setting sets the location of the file which stores the process ID
# for use of mpd --kill and some init scripts. This setting is disabled by
# default and the pid file will not be stored.
#
pid_file {{ [path,pid_file,item]|join() }}
pid_file "{{ [path,pid_file,item]|join() }}"
#
# This setting sets the location of the file which contains information about
# most variables to get MPD back into the same general shape it was in before
# it was brought down. This setting is disabled by default and the server
# state will be reset on server start up.
#
state_file {{ [path,state_file,item]|join() }}
state_file "{{ [path,state_file,item]|join() }}"

#
# The location of the sticker database. This is a database which
# manages dynamic information attached to songs.
#
sticker_file {{ [path,sticker_file,item,'.sql']|join() }}
sticker_file "{{ [path,sticker_file,item,'.sql']|join() }}"

###############################################################################

@@ -73,7 +73,7 @@ sticker_file {{ [path,sticker_file,item,'.sql']|join() }}
# initialization. This setting is disabled by default and MPD is run as the
# current user.
#
user {{ user }}
user "{{ user }}"

#
# This setting specifies the group that MPD will run as. If not specified
@@ -82,7 +82,7 @@ user {{ user }}
# have permission to use sound card.
#
#group "nogroup"
group {{ group }}
group "{{ group }}"
#
# This setting sets the address for the daemon to listen on. Careful attention
# should be paid if this is assigned to anything other then the default, any.
@@ -90,7 +90,7 @@ group {{ group }}
# to have mpd listen on every address
#
# For network
bind_to_address {{ bind_to_address }}
bind_to_address "{{ bind_to_address }}"
#
# And for Unix Socket
#bind_to_address "/var/run/mpd/socket"
@@ -99,7 +99,7 @@ bind_to_address {{ bind_to_address }}
# to.
#
#port "6600"
port {{ mpdport + item }}
port "{{ mpdport + item }}"

#
# This setting controls the type of information which is logged. Available
@@ -108,7 +108,7 @@ port {{ mpdport + item }}
# available resources on limited hardware storage.
#
#log_level "default"
log_level {{ log_level }}
log_level "{{ log_level }}"

#
# If you have a problem with your MP3s ending abruptly it is recommended that
@@ -118,35 +118,35 @@ log_level {{ log_level }}
# point gapless MP3 playback can be enabled.
#
#gapless_mp3_playback "yes"
gapless_mp3_playback {{ gapless_mp3_playback }}
gapless_mp3_playback "{{ gapless_mp3_playback }}"

#
# This setting enables MPD to create playlists in a format usable by other
# music players.
#
#save_absolute_paths_in_playlists "no"
save_absolute_paths_in_playlists {{ save_absolute_paths_in_playlists }}
save_absolute_paths_in_playlists "{{ save_absolute_paths_in_playlists }}"
#
# This setting defines a list of tag types that will be extracted during the
# audio file discovery process. Optionally, 'comment' can be added to this
# list.
#
#metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
metadata_to_use {{ metadata_to_use }}
metadata_to_use "{{ metadata_to_use }}"

#
# This setting enables automatic update of MPD's database when files in
# music_directory are changed.
#
#auto_update "yes"
auto_update {{ auto_update }}
auto_update "{{ auto_update }}"

#
# Limit the depth of the directories being watched, 0 means only watch
# the music directory itself. There is no limit by default.
#
#auto_update_depth "3"
auto_update_depth {{ auto_update_depth }}
auto_update_depth "{{ auto_update_depth }}"

#
###############################################################################
@@ -158,14 +158,14 @@ auto_update_depth {{ auto_update_depth }}
# symbolic links outside of the configured music_directory.
#
#follow_outside_symlinks "yes"
follow_outside_symlinks {{ follow_outside_symlinks }}
follow_outside_symlinks "{{ follow_outside_symlinks }}"

#
# If this setting is set to "yes", MPD will discover audio files by following
# symbolic links inside of the configured music_directory.
#
#follow_inside_symlinks "yes"
follow_inside_symlinks {{ follow_inside_symlinks }}
follow_inside_symlinks "{{ follow_inside_symlinks }}"

#
###############################################################################
@@ -177,13 +177,13 @@ follow_inside_symlinks {{ follow_inside_symlinks }}
# Zeroconf / Avahi.
#
#zeroconf_enabled "yes"
zeroconf_enabled {{ zeroconf_enabled }}
zeroconf_enabled "{{ zeroconf_enabled }}"
#
# The argument to this setting will be the Zeroconf / Avahi unique name for
# this MPD server on the network.
#
#zeroconf_name "Music Player"
zeroconf_name {{ zeroconf_name }}
zeroconf_name "{{ zeroconf_name }}"
#
###############################################################################

@@ -199,7 +199,7 @@ password "HelloKitty@read,add,control,admin"
# This setting specifies the permissions a user has who has not yet logged in.
#
#default_permissions "read,add,control,admin"
default_permissions {{ default_permissions }}
default_permissions "{{ default_permissions }}"

#
###############################################################################
@@ -288,10 +288,10 @@ audio_output {
type "httpd"
always_on "yes"
enabled "yes"
name "{{ stream }}"
name ""{{ stream }}""
encoder "lame" # optional, vorbis or lame
port "{{ stream_port + item }}"
bind_to_address "{{ bind_address }}" # optional, IPv4 or IPv6
port ""{{ stream_port + item }}""
bind_to_address ""{{ bind_address }}"" # optional, IPv4 or IPv6
quality "3.0" # do not define if bitrate is defined
# bitrate "128" # do not define if quality is defined
# format "44100:16:1"
@@ -367,7 +367,7 @@ audio_output {
#
#mixer_type "disabled"
#
mixer_type {{ mixer_type }}
mixer_type "{{ mixer_type }}"

###############################################################################

@@ -379,20 +379,20 @@ mixer_type {{ mixer_type }}
# details. This setting is disabled by default.
#
#replaygain "album"
replaygain {{ replaygain }}
replaygain "{{ replaygain }}"
#
# This setting sets the pre-amp used for files that have ReplayGain tags. By
# default this setting is disabled.
#
#replaygain_preamp "0"
replaygain_preamp {{ replaygain_preamp }}
replaygain_preamp "{{ replaygain_preamp }}"
#
# This setting enables on-the-fly normalization volume adjustment. This will
# result in the volume of all playing audio to be adjusted so the output has
# equal "loudness". This setting is disabled by default.
#
#volume_normalization "no"
volume_normalization {{ volume_normalization }}
volume_normalization "{{ volume_normalization }}"
#
###############################################################################

@@ -404,14 +404,14 @@ volume_normalization {{ volume_normalization }}
# are doing.
#
#audio_buffer_size "2048"
audio_buffer_size {{ audio_buffer_size }}
audio_buffer_size "{{ audio_buffer_size }}"
#
# This setting controls the percentage of the buffer which is filled before
# beginning to play. Increasing this reduces the chance of audio file skipping,
# at the cost of increased time prior to audio playback.
#
#buffer_before_play "10%"
buffer_before_play {{ buffer_before_play }}
buffer_before_play "{{ buffer_before_play }}"
#
###############################################################################



Chargement…
Annuler
Enregistrer