From 7b4045f3313ef0007e7f0c6f4f1847523ee940f7 Mon Sep 17 00:00:00 2001 From: Daniel Widrick Date: Wed, 23 Feb 2022 10:44:48 -0500 Subject: [PATCH] adjust to make episodes not always show as 'new' --- zap2it-GuideScrape.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zap2it-GuideScrape.py b/zap2it-GuideScrape.py index 203226e..a1b49b3 100644 --- a/zap2it-GuideScrape.py +++ b/zap2it-GuideScrape.py @@ -148,6 +148,8 @@ def BuildEventXmL(self,event,channelId): programEl.appendChild(self.guideXML.createElement("Finale")) if flag == "Premiere": programEl.appendChild(self.guideXML.createElement("Premiere")) + if "New" not in event["flag"]: + programEl.appendChild(self.guideXML.createElement("previously-shown")) for tag in event["tags"]: if tag == "CC": subtitlesEl = self.guideXML.createElement("subtitle")