summaryrefslogtreecommitdiff
path: root/dan
diff options
context:
space:
mode:
Diffstat (limited to 'dan')
-rw-r--r--dan/ele-hyperion.yml2
-rw-r--r--dan/ele-ymir.yml10
2 files changed, 11 insertions, 1 deletions
diff --git a/dan/ele-hyperion.yml b/dan/ele-hyperion.yml
index ba3c986c..8473edea 100644
--- a/dan/ele-hyperion.yml
+++ b/dan/ele-hyperion.yml
@@ -46,7 +46,7 @@
- name: install script to play videos via decklink card
copy:
- dest: /usr/local/bin/play-on-decklink.sh
+ dest: /usr/local/bin/play-video.sh
mode: 0755
content: |
#!/bin/bash
diff --git a/dan/ele-ymir.yml b/dan/ele-ymir.yml
index f1039109..1d7bb60e 100644
--- a/dan/ele-ymir.yml
+++ b/dan/ele-ymir.yml
@@ -39,3 +39,13 @@
- {{ (vlan_iface | first).address }}
{% endif %}
{% endfor %}
+
+ - name: install script to play videos fullscreen
+ copy:
+ dest: /usr/local/bin/play-video.sh
+ mode: 0755
+ content: |
+ #!/bin/bash
+
+ exec mpv --vo=gpu --keep-open=yes --geometry=1920x1080+0+0 --fs --osd-level=0 \
+ --term-status-msg='${?pause==yes:(Paused) }${time-remaining} ${time-pos} / ${duration} (${percent-pos}%) A-V: ${avsync}' "$@"