mirror of
https://github.com/shokinn/.files.git
synced 2025-06-28 07:40:40 +00:00
consolidate and templeate my to files
in order to stop maintainung different files for each operationg system
This commit is contained in:
parent
7a1e8fda4b
commit
c377eb276a
40 changed files with 246 additions and 454 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue