mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2025-10-07 07:22:36 +02:00
add extra octet-stream video playback support
Sometimes when downloading a stream it gets interrupted and the video file remains in MPEG-TS format but has a .mp4 ,.mkv,or .webm extension. This will allow the videos to play as is without having to spend a lot of time converting them with ffmpeg.
This commit is contained in:
parent
c43f390f07
commit
82c51fa85d
@ -49,7 +49,7 @@ cmd open ${{
|
||||
application/octet-stream) case ${f##*.} in
|
||||
doc|docx|xls|xlsx|odt|ppt|pptx) setsid -f libreoffice $fx >/dev/null 2>&1 ;;
|
||||
ghw) setsid -f gtkwave $f >/dev/null 2>&1 ;;
|
||||
ts) setsid -f mpv $f -quiet >/dev/null 2>&1 ;;
|
||||
mkv|mp4|ts|webm) setsid -f mpv $f -quiet >/dev/null 2>&1 ;;
|
||||
*) setsid -f zathura $fx >/dev/null 2>&1 ;;
|
||||
esac ;;
|
||||
*) for f in $fx; do setsid -f $OPENER $f >/dev/null 2>&1; done;;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user