diff options
author | Sacha Chua <sacha@sachachua.com> | 2022-10-30 10:06:47 -0400 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2022-10-30 10:06:47 -0400 |
commit | b8c97d14ed81871eef51ba7253982c45258ec538 (patch) | |
tree | b9e6252349df072aca9b6ff66ca0cf000f7c9cc2 /roles/obs/templates/mpv-track | |
parent | a1e9bd2ba2cabd37a298c4ed951dfe2344bd750f (diff) | |
download | emacsconf-ansible-b8c97d14ed81871eef51ba7253982c45258ec538.tar.xz emacsconf-ansible-b8c97d14ed81871eef51ba7253982c45258ec538.zip |
Add obs role
Diffstat (limited to 'roles/obs/templates/mpv-track')
-rwxr-xr-x | roles/obs/templates/mpv-track | 5 |
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 $* |