From f9783cb5764dc1fba551fb577df0da08acd9e74a Mon Sep 17 00:00:00 2001 From: Hendrik Jäger Date: Sun, 29 Jan 2023 14:29:33 +0100 Subject: add shortcut to get track info from mkv files --- .zsh_functions/henks_mkv_trackinfo | 1 + 1 file changed, 1 insertion(+) create mode 100644 .zsh_functions/henks_mkv_trackinfo diff --git a/.zsh_functions/henks_mkv_trackinfo b/.zsh_functions/henks_mkv_trackinfo new file mode 100644 index 0000000..ec9494e --- /dev/null +++ b/.zsh_functions/henks_mkv_trackinfo @@ -0,0 +1 @@ +mkvmerge -J "$1" | gojq '[.tracks[] | { id: .id, type: .type, name: .properties["track_name"], language: .properties["language"], forced_track: .properties["forced_track"], default_track: .properties["default_track"], uid: .properties["uid"] }] ' -- cgit v1.2.3