.files/dotfiles/bin/c3check
Philip Henning c377eb276a consolidate and templeate my to files
in order to stop maintainung different files for each operationg system
2021-09-11 23:45:56 +02:00

18 lines
342 B
Bash
Executable file

#!/usr/bin/env bash
#
# {{@@ header() @@}}
#
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
read -p "Press any key to continue... " -n1 -s
${1} /video/video/encoded/${2}/${3}-hd.mp4