From b8c97d14ed81871eef51ba7253982c45258ec538 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Sun, 30 Oct 2022 10:06:47 -0400 Subject: Add obs role --- roles/obs/templates/mpv-track | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 roles/obs/templates/mpv-track (limited to 'roles/obs/templates/mpv-track') 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 $* -- cgit v1.2.3