Procházet zdrojové kódy

working on changes, and debugging

master
Erin Sims před 2 roky
rodič
revize
912eca838a
1 změnil soubory, kde provedl 30 přidání a 30 odebrání
  1. +30
    -30
      playbooks/mpdf.conf.j2

+ 30
- 30
playbooks/mpdf.conf.j2 Zobrazit soubor

@@ -24,7 +24,7 @@ database {
# playlist files not created by the server but only if they are in the MPD # playlist files not created by the server but only if they are in the MPD
# format. This setting defaults to playlist saving being disabled. # 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 # 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 # 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 # MPD to accept files over ipc socket (using file:// protocol) or streaming
# files over an accepted protocol. # 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. # 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 # The special value "syslog" makes MPD use the local syslog daemon. This
# setting defaults to logging to syslog, otherwise logging is disabled. # 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 # 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 # for use of mpd --kill and some init scripts. This setting is disabled by
# default and the pid file will not be stored. # 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 # 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 # 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 # it was brought down. This setting is disabled by default and the server
# state will be reset on server start up. # 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 # The location of the sticker database. This is a database which
# manages dynamic information attached to songs. # 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 # initialization. This setting is disabled by default and MPD is run as the
# current user. # current user.
# #
user {{ user }}
user "{{ user }}"


# #
# This setting specifies the group that MPD will run as. If not specified # 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. # have permission to use sound card.
# #
#group "nogroup" #group "nogroup"
group {{ group }}
group "{{ group }}"
# #
# This setting sets the address for the daemon to listen on. Careful attention # 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. # 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 # to have mpd listen on every address
# #
# For network # For network
bind_to_address {{ bind_to_address }}
bind_to_address "{{ bind_to_address }}"
# #
# And for Unix Socket # And for Unix Socket
#bind_to_address "/var/run/mpd/socket" #bind_to_address "/var/run/mpd/socket"
@@ -99,7 +99,7 @@ bind_to_address {{ bind_to_address }}
# to. # to.
# #
#port "6600" #port "6600"
port {{ mpdport + item }}
port "{{ mpdport + item }}"


# #
# This setting controls the type of information which is logged. Available # This setting controls the type of information which is logged. Available
@@ -108,7 +108,7 @@ port {{ mpdport + item }}
# available resources on limited hardware storage. # available resources on limited hardware storage.
# #
#log_level "default" #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 # 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. # point gapless MP3 playback can be enabled.
# #
#gapless_mp3_playback "yes" #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 # This setting enables MPD to create playlists in a format usable by other
# music players. # music players.
# #
#save_absolute_paths_in_playlists "no" #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 # 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 # audio file discovery process. Optionally, 'comment' can be added to this
# list. # list.
# #
#metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc" #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 # This setting enables automatic update of MPD's database when files in
# music_directory are changed. # music_directory are changed.
# #
#auto_update "yes" #auto_update "yes"
auto_update {{ auto_update }}
auto_update "{{ auto_update }}"


# #
# Limit the depth of the directories being watched, 0 means only watch # Limit the depth of the directories being watched, 0 means only watch
# the music directory itself. There is no limit by default. # the music directory itself. There is no limit by default.
# #
#auto_update_depth "3" #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. # symbolic links outside of the configured music_directory.
# #
#follow_outside_symlinks "yes" #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 # If this setting is set to "yes", MPD will discover audio files by following
# symbolic links inside of the configured music_directory. # symbolic links inside of the configured music_directory.
# #
#follow_inside_symlinks "yes" #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 / Avahi.
# #
#zeroconf_enabled "yes" #zeroconf_enabled "yes"
zeroconf_enabled {{ zeroconf_enabled }}
zeroconf_enabled "{{ zeroconf_enabled }}"
# #
# The argument to this setting will be the Zeroconf / Avahi unique name for # The argument to this setting will be the Zeroconf / Avahi unique name for
# this MPD server on the network. # this MPD server on the network.
# #
#zeroconf_name "Music Player" #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. # This setting specifies the permissions a user has who has not yet logged in.
# #
#default_permissions "read,add,control,admin" #default_permissions "read,add,control,admin"
default_permissions {{ default_permissions }}
default_permissions "{{ default_permissions }}"


# #
############################################################################### ###############################################################################
@@ -288,10 +288,10 @@ audio_output {
type "httpd" type "httpd"
always_on "yes" always_on "yes"
enabled "yes" enabled "yes"
name "{{ stream }}"
name ""{{ stream }}""
encoder "lame" # optional, vorbis or lame 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 quality "3.0" # do not define if bitrate is defined
# bitrate "128" # do not define if quality is defined # bitrate "128" # do not define if quality is defined
# format "44100:16:1" # format "44100:16:1"
@@ -367,7 +367,7 @@ audio_output {
# #
#mixer_type "disabled" #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. # details. This setting is disabled by default.
# #
#replaygain "album" #replaygain "album"
replaygain {{ replaygain }}
replaygain "{{ replaygain }}"
# #
# This setting sets the pre-amp used for files that have ReplayGain tags. By # This setting sets the pre-amp used for files that have ReplayGain tags. By
# default this setting is disabled. # default this setting is disabled.
# #
#replaygain_preamp "0" #replaygain_preamp "0"
replaygain_preamp {{ replaygain_preamp }}
replaygain_preamp "{{ replaygain_preamp }}"
# #
# This setting enables on-the-fly normalization volume adjustment. This will # 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 # result in the volume of all playing audio to be adjusted so the output has
# equal "loudness". This setting is disabled by default. # equal "loudness". This setting is disabled by default.
# #
#volume_normalization "no" #volume_normalization "no"
volume_normalization {{ volume_normalization }}
volume_normalization "{{ volume_normalization }}"
# #
############################################################################### ###############################################################################


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




Načítá se…
Zrušit
Uložit