#!/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
