diff options
Diffstat (limited to 'dan/ele-tarvos.yml')
-rw-r--r-- | dan/ele-tarvos.yml | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/dan/ele-tarvos.yml b/dan/ele-tarvos.yml index 1b010a06..f665de63 100644 --- a/dan/ele-tarvos.yml +++ b/dan/ele-tarvos.yml @@ -12,7 +12,17 @@ - name: Payload Setup hosts: ele-tarvos roles: - # - role: apt-repo/spreadspace - # - role: ws/base + - role: apt-repo/spreadspace + - role: ws/base - role: core/admin-users - - role: streaming/browser-kiosk + post_tasks: + - name: install script to play videos fullscreen + copy: + dest: /usr/local/bin/play-video.sh + mode: 0755 + content: | + #!/bin/bash + + export DISPLAY=:0.0 + exec mpv --vo=gpu --keep-open=yes --fs --osd-level=0 \ + --term-status-msg='${?pause==yes:(Paused) }${time-remaining} ${time-pos} / ${duration} (${percent-pos}%) A-V: ${avsync}' "$@" |