mirror of
https://github.com/nicolabs/ansible-role-dlna-audiostream.git
synced 2026-02-22 18:26:18 +01:00
+ rygel as a systemd service
+ doc references
This commit is contained in:
parent
43795c3477
commit
0308a695d4
|
|
@ -78,7 +78,11 @@ References
|
||||||
----------
|
----------
|
||||||
|
|
||||||
- [PulseAudio main documentation](https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/)
|
- [PulseAudio main documentation](https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/)
|
||||||
|
- [Rygel - PulseAudio](https://wiki.gnome.org/Projects/Rygel/Pulseaudio)
|
||||||
|
- [Rygel - configuration](http://rygel-project.org/doc/latest/rygel.conf.html)
|
||||||
|
- [PulseAudio under the hood](https://gavv.github.io/articles/pulseaudio-under-the-hood/#dlna-and-chromecast)
|
||||||
- [github.com/BaReinhard/Super-Simple-Raspberry-Pi-Audio-Receiver-Install](https://github.com/BaReinhard/Super-Simple-Raspberry-Pi-Audio-Receiver-Install/blob/master/init.d/pulseaudio)
|
- [github.com/BaReinhard/Super-Simple-Raspberry-Pi-Audio-Receiver-Install](https://github.com/BaReinhard/Super-Simple-Raspberry-Pi-Audio-Receiver-Install/blob/master/init.d/pulseaudio)
|
||||||
|
- [StackExchange Raspberry Pi - How to get PulseAudio running?](https://raspberrypi.stackexchange.com/a/1544)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -158,7 +158,23 @@
|
||||||
|
|
||||||
# TODO Allow preventing Rygel from exporting all media by default
|
# TODO Allow preventing Rygel from exporting all media by default
|
||||||
|
|
||||||
# TODO Start Rygel at boot
|
|
||||||
|
########################
|
||||||
|
# Start Rygel at boot
|
||||||
|
|
||||||
|
- name: Create rygel service file
|
||||||
|
template:
|
||||||
|
src: templates/etc/systemd/system/rygel.service
|
||||||
|
dest: /etc/systemd/system/rygel.service
|
||||||
|
|
||||||
|
- name: Register rygel service
|
||||||
|
systemd:
|
||||||
|
name: rygel
|
||||||
|
state: started
|
||||||
|
enabled: yes
|
||||||
|
|
||||||
|
#
|
||||||
|
########################
|
||||||
|
|
||||||
|
|
||||||
# TODO Redirect system sound to the upnp sink
|
# TODO Redirect system sound to the upnp sink
|
||||||
|
|
|
||||||
13
templates/etc/systemd/system/rygel.service
Normal file
13
templates/etc/systemd/system/rygel.service
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
# From https://gitlab.gnome.org/GNOME/rygel/-/blob/master/examples/service/systemd/rygel.service
|
||||||
|
[Unit]
|
||||||
|
Description=Rygel DLNA server
|
||||||
|
After=syslog.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
User=rygel
|
||||||
|
Group=rygel
|
||||||
|
ExecStart=/usr/bin/rygel
|
||||||
|
# ExecStart=/usr/bin/wrap-dbus /usr/bin/rygel
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Loading…
Reference in a new issue