aboutsummaryrefslogtreecommitdiff
path: root/home/dot_local/share/bin/executable_vodchat
diff options
context:
space:
mode:
Diffstat (limited to 'home/dot_local/share/bin/executable_vodchat')
-rw-r--r--home/dot_local/share/bin/executable_vodchat2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/dot_local/share/bin/executable_vodchat b/home/dot_local/share/bin/executable_vodchat
index f233348..b5bdbf8 100644
--- a/home/dot_local/share/bin/executable_vodchat
+++ b/home/dot_local/share/bin/executable_vodchat
@@ -1,3 +1,3 @@
-#!/bin/sh
+#!/usr/bin/env 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