summaryrefslogtreecommitdiffstats
path: root/roles/obs/templates/mpv-track
blob: ee359f11d97639cdd629e582d309de4bc7968ea0 (plain) (blame)
1
2
3
4
5
#!/bin/bash
# Run MPV with the output set to the right sink and with an IPC socket
# {{ ansible_managed }}

DISPLAY="${DISPLAY:-:{{ item.vnc_id }}}" mpv --input-ipc-server={{ emacsconf_home }}/mpv-socket-{{ emacsconf_id }}-{{ item.id }} --audio-device=pulse/{{ item.id }}-vid --profile={{ emacsconf_id }}-talks $* &