files: play mkv files in mpv
This commit is contained in:
parent
317437572a
commit
24c650ee49
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ DIR="$1"
|
|||
cd "$DIR" || exit 1
|
||||
|
||||
handlefiles() {
|
||||
if echo "$1" | grep -iE ".(webm|ogg|mp4|mov|avi)$"; then
|
||||
if echo "$1" | grep -iE ".(webm|ogg|mp4|mov|avi|mkv)$"; then
|
||||
st -e mpv -ao=alsa "$@"
|
||||
elif echo "$1" | grep -iE ".(wav|opus|m4a|flac|mp3)$"; then
|
||||
st -e mpv -ao=alsa --vid=no -v "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue