Browse Source

xmltv: fix end time in xmltv output

main
Brett Langdon 2 years ago
parent
commit
9575ce1b92
No known key found for this signature in database GPG Key ID: 9BAD4322A65AD78B
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/dlhdhr/epg/program.py

+ 1
- 1
src/dlhdhr/epg/program.py View File

@ -31,7 +31,7 @@ class Program:
def to_xmltv(self, channel: DLHDChannel) -> Element | None:
start_time = self.start_time.strftime("%Y%m%d%H%M%S %z")
end_time = self.start_time.strftime("%Y%m%d%H%M%S %z")
end_time = self.end_time.strftime("%Y%m%d%H%M%S %z")
programme = Element("programme", attrib={"start": start_time, "stop": end_time, "channel": str(channel.number)})
if self.title:


Loading…
Cancel
Save