music: Add soundboard
This commit is contained in:
parent
97a4e95ca8
commit
2e47c6744f
7 changed files with 141 additions and 0 deletions
8
roles/music/templates/shutdown-sound.sh
Normal file
8
roles/music/templates/shutdown-sound.sh
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Managed by Ansible
|
||||
|
||||
systemctl stop trollibox.service
|
||||
mpc clear
|
||||
|
||||
su audio -c 'mplayer -volume 10 -ao jack:name=MPlayer /opt/sounds/shutdown.mp3'
|
Loading…
Add table
Add a link
Reference in a new issue