nnn/plugins/mediainf

14 lines
258 B
Text
Raw Normal View History

2019-08-28 00:00:52 +05:30
#!/usr/bin/env sh
# Description: Show media information of a file in pager
#
2020-05-06 10:59:57 +05:30
# Dependencies: mediainfo
2019-08-28 00:00:52 +05:30
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana
if ! [ -z "$1" ] && [ -f "$1" ]; then
mediainfo "$1" | $PAGER
# exiftool "$1" | $PAGER
fi