summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zsh_functions/henks_mkv_trackinfo1
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"] }] '