From 0de8202ddb00689f82aac675c21dde0a06ef2815 Mon Sep 17 00:00:00 2001 From: fugkco <59912404+fugkco@users.noreply.github.com> Date: Fri, 5 Nov 2021 13:39:07 +0000 Subject: [PATCH] Update run-scraper.sh --- scripts/run-scraper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run-scraper.sh b/scripts/run-scraper.sh index 7a31302..0c6c896 100755 --- a/scripts/run-scraper.sh +++ b/scripts/run-scraper.sh @@ -50,7 +50,7 @@ esac # ignore errors as it will still output the XML for valid channels "/usr/bin/tv_grab_$grabber" --days "$days" --offset "$offset" --quiet >"xmltv/$grabber.xml" || true -tv_sort --by-channel --output "xmltv/$grabber.xml" "xmltv/$grabber.xml" +tv_sort --by-channel --output "xmltv/$grabber.xml" "xmltv/$grabber.xml" || true find xmltv -name "${grabber}-split-*" -print0 | sort --zero-terminated --version-sort | tail --zero-terminated --lines=6 | xargs -r -t -0 tv_sort --by-channel --output "xmltv/${grabber}_hist.xml" tv_count -i "xmltv/$grabber.xml"