mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 16:58:27 -04:00
Merge pull request #892 from TheCaptain989/radarr-striptracks
radarr: striptracks release 2.5.1
This commit is contained in:
@@ -288,7 +288,7 @@ function log {(
|
|||||||
while read -r
|
while read -r
|
||||||
do
|
do
|
||||||
# shellcheck disable=2046
|
# shellcheck disable=2046
|
||||||
echo $(date +"%Y-%-m-%-d %H:%M:%S.%1N")"|[$striptracks_pid]$REPLY" >>"$striptracks_log"
|
echo $(date +"%Y-%m-%d %H:%M:%S.%1N")"|[$striptracks_pid]$REPLY" >>"$striptracks_log"
|
||||||
local striptracks_filesize=$(stat -c %s "$striptracks_log")
|
local striptracks_filesize=$(stat -c %s "$striptracks_log")
|
||||||
if [ $striptracks_filesize -gt $striptracks_maxlogsize ]
|
if [ $striptracks_filesize -gt $striptracks_maxlogsize ]
|
||||||
then
|
then
|
||||||
@@ -1216,6 +1216,10 @@ BEGIN {
|
|||||||
MKVMerge = "/usr/bin/mkvmerge"
|
MKVMerge = "/usr/bin/mkvmerge"
|
||||||
FS = "[\t\n: ]"
|
FS = "[\t\n: ]"
|
||||||
IGNORECASE = 1
|
IGNORECASE = 1
|
||||||
|
split("", AudioCommand)
|
||||||
|
split("", SubsCommand)
|
||||||
|
split("", AudRmvLog)
|
||||||
|
split("", SubsRmvLog)
|
||||||
}
|
}
|
||||||
/^Track ID/ {
|
/^Track ID/ {
|
||||||
FieldCount = split($0, Fields)
|
FieldCount = split($0, Fields)
|
||||||
|
|||||||
Reference in New Issue
Block a user