mirror of
https://github.com/nicolabs/ansible-role-dlna-audiostream.git
synced 2026-05-21 11:59:08 +02:00
~ doc update
This commit is contained in:
parent
29ed4f4ebd
commit
130e78b748
|
|
@ -8,7 +8,9 @@ pulseaudio_users: []
|
||||||
# Change this to /home/<user>/.config/rygel.conf if you want to configure it for a given user.
|
# Change this to /home/<user>/.config/rygel.conf if you want to configure it for a given user.
|
||||||
# By default it configures Rygel system-wide (/etc/rygel.conf).
|
# By default it configures Rygel system-wide (/etc/rygel.conf).
|
||||||
rygel_conf_path: /etc/rygel.conf
|
rygel_conf_path: /etc/rygel.conf
|
||||||
|
# Start rygel service as this user
|
||||||
rygel_user: root
|
rygel_user: root
|
||||||
|
# Start rygel service with this group
|
||||||
rygel_group: root
|
rygel_group: root
|
||||||
|
|
||||||
# Name/template name of the default device and streams created by this role, as seen on the DLNA renderer.
|
# Name/template name of the default device and streams created by this role, as seen on the DLNA renderer.
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,9 @@
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
|
||||||
|
########################
|
||||||
|
# PulseAudio configuration
|
||||||
|
|
||||||
- debug:
|
- debug:
|
||||||
var: pulseaudio_users
|
var: pulseaudio_users
|
||||||
|
|
||||||
|
|
@ -86,6 +89,12 @@
|
||||||
state: restarted
|
state: restarted
|
||||||
when: module_http.changed
|
when: module_http.changed
|
||||||
|
|
||||||
|
# end PulseAudio configuration
|
||||||
|
########################
|
||||||
|
|
||||||
|
|
||||||
|
########################
|
||||||
|
# Rygel configuration
|
||||||
|
|
||||||
# Because the `ini_file` module used in a loop and `backup:yes` would create a backup for each iteration... :-(
|
# Because the `ini_file` module used in a loop and `backup:yes` would create a backup for each iteration... :-(
|
||||||
- name: Backup Rygel config file (1/3 - tests if file exists)
|
- name: Backup Rygel config file (1/3 - tests if file exists)
|
||||||
|
|
@ -167,17 +176,20 @@
|
||||||
src: templates/etc/systemd/system/rygel.service
|
src: templates/etc/systemd/system/rygel.service
|
||||||
dest: /etc/systemd/system/rygel.service
|
dest: /etc/systemd/system/rygel.service
|
||||||
|
|
||||||
- name: Register rygel service
|
- name: Start rygel now and at boot
|
||||||
systemd:
|
systemd:
|
||||||
name: rygel
|
name: rygel
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
|
|
||||||
#
|
#
|
||||||
########################
|
########################
|
||||||
|
|
||||||
|
|
||||||
|
# end Rygel configuration
|
||||||
|
########################
|
||||||
|
|
||||||
|
|
||||||
# TODO Redirect system sound to the upnp sink
|
# TODO Redirect system sound to the upnp sink
|
||||||
# # https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/PerfectSetup/#alsaapplications
|
# # https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/PerfectSetup/#alsaapplications
|
||||||
# - name: Configure alsa to use pulse by default
|
# - name: Configure alsa to use pulse by default
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue