add info_json fn

This commit is contained in:
JMARyA 2024-03-11 09:43:41 +01:00
parent 816b023e71
commit 564e956ba4
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -16,3 +16,9 @@ alias downloadYT="yt-dlp --write-thumbnail \
function downloadList() {
cat $1 |xargs -I _ yt-dlp --downloader aria2c _
}
# info_json VIDEO_FILE
# View info.json from video file
function info_json() {
mkvextract -q attachments "$1" "1:/proc/self/fd/1"|jq .
}