Skip to content

Commit 7804b50

Browse files
authored
Merge pull request #892 from TheCaptain989/radarr-striptracks
radarr: striptracks release 2.5.1
2 parents 9991fb3 + 452e6f0 commit 7804b50

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

root/usr/local/bin/striptracks.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ function log {(
288288
while read -r
289289
do
290290
# shellcheck disable=2046
291-
echo $(date +"%Y-%-m-%-d %H:%M:%S.%1N")"|[$striptracks_pid]$REPLY" >>"$striptracks_log"
291+
echo $(date +"%Y-%m-%d %H:%M:%S.%1N")"|[$striptracks_pid]$REPLY" >>"$striptracks_log"
292292
local striptracks_filesize=$(stat -c %s "$striptracks_log")
293293
if [ $striptracks_filesize -gt $striptracks_maxlogsize ]
294294
then
@@ -1216,6 +1216,10 @@ BEGIN {
12161216
MKVMerge = "/usr/bin/mkvmerge"
12171217
FS = "[\t\n: ]"
12181218
IGNORECASE = 1
1219+
split("", AudioCommand)
1220+
split("", SubsCommand)
1221+
split("", AudRmvLog)
1222+
split("", SubsRmvLog)
12191223
}
12201224
/^Track ID/ {
12211225
FieldCount = split($0, Fields)

0 commit comments

Comments
 (0)