Initial commit

This commit is contained in:
2022-03-14 22:06:45 +01:00
commit b78183fa6e
3 changed files with 43 additions and 0 deletions

21
pulseaudio-dlna.service Normal file
View File

@ -0,0 +1,21 @@
# This file is to be placed in /home/alex/.sync
# A symlink should then be created at ~/.config/systemd/user/pulseaudio-dlna.service
# This is just a service file for pulseaudio-dlna, which is run in user session
# It can be enabled (in user mode) in order to see DLNA renderers in audio devices
[Unit]
Description=DLNA renderers support for PulseAudio
After=pulseaudio.service pulseaudio.socket
#Requisite=pulseaudio.service
ConditionUser=!root
[Service]
Type=simple
# I'd rather have used herebefore Requisite statement, but pulseaudio is ativated by its socket, and Requisite doesn't
# wait long enough...
ExecStartPre=/usr/bin/sleep 10
ExecStart=/usr/bin/pulseaudio-dlna
[Install]
WantedBy=default.target