summaryrefslogtreecommitdiffstats
path: root/roles/obs/templates/music
diff options
context:
space:
mode:
Diffstat (limited to 'roles/obs/templates/music')
-rwxr-xr-xroles/obs/templates/music2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/obs/templates/music b/roles/obs/templates/music
index 29c5ddb..3e729ec 100755
--- a/roles/obs/templates/music
+++ b/roles/obs/templates/music
@@ -1,5 +1,5 @@
if screen -list | grep -q background; then
echo "Already running in screen, attach with screen -x background"
else
- screen -dmS background /bin/bash -c "mpv ~/stream/background.wav --loop=yes"
+ screen -dmS background /bin/bash -c "mpv {{ background_music_dir }}/* --shuffle --loop=inf --volume={{ background_music_volume }}"
fi