consolidate and templeate my to files

in order to stop maintainung different files for each operationg system
This commit is contained in:
Philip Henning 2021-09-11 23:45:56 +02:00
parent 7a1e8fda4b
commit c377eb276a
40 changed files with 246 additions and 454 deletions

View file

@ -1,17 +1,17 @@
#!/usr/bin/env bash
#
# {{@@ env['dotdrop_warning'] @@}}
# {{@@ header() @@}}
#
if [[ -z "$1" ]] || [[ -z "$2" ]] || [[ -z "$3" ]]; then
echo "Usage: $0 <player> <event> <talk-id>"
echo "e.g.: $0 vlc 35c3 9766"
if [[ -z "${1}" ]] || [[ -z "${2}" ]] || [[ -z "${3}" ]]; then
echo "Usage: ${0} <player> <event> <talk-id>"
echo "e.g.: ${0} vlc 35c3 9766"
exit 1
fi
mediainfo /video/video/encoded/$2/$3-hd.mp4
mediainfo /video/video/encoded/${2}/${3}-hd.mp4
read -p "Press any key to continue... " -n1 -s
$1 /video/video/encoded/$2/$3-hd.mp4
${1} /video/video/encoded/${2}/${3}-hd.mp4