HTSP channelAdd method returns wrong values
|Found in version:||4.3-1218~ga441514ba||Affected Versions:|
When tvheadend sends back the initial data dump after a enableAsyncMetadata message is sent, the values returned in the "channelAdd" message are wrong:
eventId u32 optional ID of the current event on this channel.
nextEventId u32 optional ID of the next event on the channel.
But eventId and nextEventId are always the same event until the next restart of the tvheadend service. So if I don't restart tvheadend daily, the channelAdd method returns the eventId of an event that is one week/one month (or more) old.
#2 Updated by Arnaud Grasset 5 months ago
You are right. The real problem is that EPG events do not get deleted.
- I compiled the last 4.2 version from git with debug enabled. Everything worked perfectly, logs showed old EPG events being destoyed as soon as they expired.
- I compiled the git master (4.3) with debug enabled and installed it. EPG events were not deleted and debug and trace showed nothing. There was no error, just nothing happened when an EPG event expired.
#4 Updated by Jaroslav Kysela 5 months ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset tvheadend|518d57bee25cf89ea04ec80e7974f64778b03ed0.