Skip to content

Commit

Permalink
Merge pull request #22 from daniel-widrick/all-new-fix
Browse files Browse the repository at this point in the history
adjust to make episodes not always show as 'new'
  • Loading branch information
daniel-widrick authored Feb 23, 2022
2 parents e73353f + 7b4045f commit 20c5eb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zap2it-GuideScrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 20c5eb6

Please sign in to comment.