mirror of https://github.com/MidnightCommander/mc
Added 'View' action to all video formats.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
614d7f6a08
commit
40e8a0136b
|
@ -22,6 +22,7 @@ do_view_action() {
|
||||||
tail +13 || file "${MC_EXT_FILENAME}"
|
tail +13 || file "${MC_EXT_FILENAME}"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
cat "${MC_EXT_FILENAME}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,7 @@ do_view_action() {
|
||||||
|
|
||||||
case "${filetype}" in
|
case "${filetype}" in
|
||||||
*)
|
*)
|
||||||
|
cat "${MC_EXT_FILENAME}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
|
@ -516,6 +516,7 @@ type/WebM
|
||||||
|
|
||||||
include/video
|
include/video
|
||||||
Open=@EXTHELPERSDIR@/video.sh open ALL_FORMATS
|
Open=@EXTHELPERSDIR@/video.sh open ALL_FORMATS
|
||||||
|
View=%view{ascii} @EXTHELPERSDIR@/video.sh view ALL_FORMATS
|
||||||
|
|
||||||
|
|
||||||
### Documents ###
|
### Documents ###
|
||||||
|
|
Loading…
Reference in New Issue