mirror of
				https://github.com/shokinn/.files.git
				synced 2025-11-04 12:38:10 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			342 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			17 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
 |