Ĉi tiu deponejo arĥiviĝis je 2024-01-29. Vi povas vidi kaj elŝuti dosierojn, sed ne povas puŝi nek raporti problemojn nek tirpeti.
2016-12-22 19:14:27 -06:00
|
|
|
#!/bin/sh
|
|
|
|
#####################
|
|
|
|
# Name: st-video.sh
|
|
|
|
# Date: 2016-12-22
|
|
|
|
# Lisc: ISC
|
|
|
|
# Main: jadedctrl
|
|
|
|
# Desc: Does a thing with
|
|
|
|
# a video-thingy thing
|
|
|
|
# dsfgbvesrht fd
|
|
|
|
#####################
|
|
|
|
|
2016-12-26 03:58:01 -06:00
|
|
|
if [ -e "$HOME/.config/shelltube" ]
|
2016-12-22 19:14:27 -06:00
|
|
|
then
|
2016-12-26 03:58:01 -06:00
|
|
|
. "$HOME/.config/shelltube"
|
2016-12-23 23:15:53 -06:00
|
|
|
fi
|
|
|
|
|
2016-12-26 03:58:01 -06:00
|
|
|
if test -z "$player_cmd"
|
2016-12-22 19:14:27 -06:00
|
|
|
then
|
2016-12-26 03:58:01 -06:00
|
|
|
if command -v vlc > /dev/null
|
2016-12-23 23:15:53 -06:00
|
|
|
then
|
|
|
|
vlc "${1}"
|
2016-12-26 03:58:01 -06:00
|
|
|
elif command -v mplayer > /dev/null
|
2016-12-23 23:15:53 -06:00
|
|
|
then
|
|
|
|
mplayer "${1}"
|
|
|
|
fi
|
2016-12-22 19:14:27 -06:00
|
|
|
else
|
2016-12-23 23:15:53 -06:00
|
|
|
$player_cmd "${1}"
|
2016-12-22 19:14:27 -06:00
|
|
|
fi
|