diff options
author | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2023-01-29 14:29:33 +0100 |
---|---|---|
committer | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2023-01-29 14:29:33 +0100 |
commit | f9783cb5764dc1fba551fb577df0da08acd9e74a (patch) | |
tree | 4cbe826b138877d1e469a33958e3dd616693b0dd /.zsh_functions | |
parent | 276d08ec856a3e283902a169be74ddb5db573efc (diff) |
add shortcut to get track info from mkv files
Diffstat (limited to '.zsh_functions')
-rw-r--r-- | .zsh_functions/henks_mkv_trackinfo | 1 |
1 files changed, 1 insertions, 0 deletions
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"] }] ' |