From e43eb1177872f52e949fb5f0f93396ed94b0d093 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sun, 2 Aug 2026 14:48:29 +0200 Subject: move to chezmoi --- home/dot_local/share/bin/executable_vodchat | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 home/dot_local/share/bin/executable_vodchat (limited to 'home/dot_local/share/bin/executable_vodchat') diff --git a/home/dot_local/share/bin/executable_vodchat b/home/dot_local/share/bin/executable_vodchat new file mode 100644 index 0000000..f233348 --- /dev/null +++ b/home/dot_local/share/bin/executable_vodchat @@ -0,0 +1,3 @@ +#!/bin/sh +input_file="$1" +jq --raw-output '.replayChatItemAction.actions[].addChatItemAction.item.liveChatTextMessageRenderer | "[" + (.timestampUsec | tonumber / 1e6 | todateiso8601) + "] " + .authorName.simpleText + ": " + .message.runs[].text' "$input_file" 2>/dev/null -- cgit v1.2.3