Browse Source

working on changes, and debugging

master
Erin Sims 2 years ago
parent
commit
42945f91d6
2 changed files with 16 additions and 6 deletions
  1. +12
    -6
      playbooks/mpdf.conf.j2
  2. +4
    -0
      playbooks/mpdf.yaml

+ 12
- 6
playbooks/mpdf.conf.j2 View File

@@ -11,16 +11,17 @@
# file:// protocol) or streaming files over an accepted protocol. # file:// protocol) or streaming files over an accepted protocol.
# #
#######need to fix this one too #######need to fix this one too
music_directory "nfs://example.com/path/to/your/music/"




database { database {
plugin "proxy"
host "{{ droplets.data[0].networks.v4[0].ip_address }}"
plugin "simple"
# host "{{ droplets.data[0].networks.v4[0].ip_address }}"
# host "142.93.181.29" # host "142.93.181.29"
port "6600"
password "HelloKitty"
keepalive "yes"
# port "6600"
# password "HelloKitty"
path "{{ [path,item,'/db']|join() }}"
#keepalive "yes"
} }


#music_directory #music_directory
@@ -303,6 +304,11 @@ audio_output {
# format "44100:16:1" # format "44100:16:1"
max_clients "0" # optional 0=no limit max_clients "0" # optional 0=no limit
} }
#cache songs on the server
input_cache {
size "1 GB"
}

# An example of a pulseaudio output (streaming to a remote pulseaudio server) # An example of a pulseaudio output (streaming to a remote pulseaudio server)
# #
#audio_output { #audio_output {


+ 4
- 0
playbooks/mpdf.yaml View File

@@ -49,6 +49,10 @@
apt: apt:
name: mpd name: mpd
state: present state: present
- name: Install sshfs on hosts
apt:
name: sshfs
state: present
- name: setup config on hosts - name: setup config on hosts
template: template:
src: mpdf.conf.j2 src: mpdf.conf.j2


Loading…
Cancel
Save