question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

EPG XML has overlapping times for shows

See original GitHub issue

I have several schedules where there is only one item in the list. It is configured to play a random episode from a show for a duration of 1 hour, with tail and fallback fillers at the ending (the shows are roughly 42 minutes long). When viewing the playout from the website, it’s fine (there’s one episode listed per hour, starting at the top of every hour). However, the XMLTV listing is messed up. Specifically, it lists overlapping start and end times for the shows. This results in Tivimate (for example) not showing every other episode.

Schedule:

image

XMLTV snippet:

<programme start="20230304154308 -0800" stop="20230304170000 -0800" channel="2.etv">
...
</programme>
<programme start="20230304164126 -0800" stop="20230304180000 -0800" channel="2.etv">
...
</programme>
<programme start="20230304174328 -0800" stop="20230304190000 -0800" channel="2.etv">
...
</programme>
<programme start="20230304184234 -0800" stop="20230304200000 -0800" channel="2.etv">
...
</programme>
<programme start="20230304194242 -0800" stop="20230304210000 -0800" channel="2.etv">
...
</programme>
<programme start="20230304204310 -0800" stop="20230304220000 -0800" channel="2.etv">
...
</programme>
<programme start="20230304214303 -0800" stop="20230304230000 -0800" channel="2.etv">
...
</programme>
<programme start="20230304224303 -0800" stop="20230305000000 -0800" channel="2.etv">
...
</programme>
<programme start="20230304234109 -0800" stop="20230305010000 -0800" channel="2.etv">
...
</programme>

Notice how the start times are around the 41-43 minute mark, and they go on till the end of the next hour.

I’m guessing something in the XMLTV generation is getting confused with the previous episode’s filler start times and the new episode’s start times. Can this be fixed?

Issue Analytics

  • State:closed
  • Created 7 months ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
saiarcot895commented, Apr 7, 2023

I can confirm this is fixed, closing this.

1reaction
jasongdovecommented, Mar 13, 2023

Both of these issues should be fixed in the latest develop build.

The tail mode filler issue shouldn’t need to reset any playouts, as the bug was in the XMLTV generation, but the tail mode offline issue will need to reset the playout for the fix to apply.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Handling of EPG overlapping : r/TiviMate
Unfortunately this is due to the EPG info containing overlapping programmes: show A ending at 7:02 while show B starts at 7:00. As...
Read more >
EPG display offset by several hours?
When I load GBPVR the program guide show the correct current time, but all programs are out by several hours even though they...
Read more >
Multi EPG Feedback
One issue is that the EPG is updated by both sources you can get duplicated data appearing when there is a Time Difference...
Read more >
EPG from XMLTVListings - Page 2 - EyeTV Forum
It's probably a good idea to not have any overlapping channels between the multiple lineups though. As far as I can tell, without...
Read more >
Topic: Problem on Android with the EPG
Make sure that EPG data (programmes) for the channels missing EPG is up-to-date. You should try this solution: FAQ: EPG data stopped showing...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found