diff --git a/zsh/youtube-dl.zsh b/zsh/youtube-dl.zsh index e753e77..c217d37 100644 --- a/zsh/youtube-dl.zsh +++ b/zsh/youtube-dl.zsh @@ -15,4 +15,10 @@ 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 . } \ No newline at end of file