summaryrefslogtreecommitdiffstats
path: root/roles/obs/templates/mpv-track
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xroles/obs/templates/mpv-track5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/obs/templates/mpv-track b/roles/obs/templates/mpv-track
new file mode 100755
index 0000000..b34df70
--- /dev/null
+++ b/roles/obs/templates/mpv-track
@@ -0,0 +1,5 @@
+#!/bin/bash
+# Run MPV with the output set to the right sink and with an IPC socket
+# {{ ansible_managed }}
+
+mpv --input-ipc-server={{ emacsconf_home }}/mpv-socket-{{ emacsconf_id }}-{{ item.id }} --audio-device=pulse/{{ item.id }}-vid --profile={{ emacsconf_id }}-talks $*