Project

General

Profile

Feature #1107

Feature #1087: DVR Improvements

DVR may link to wrong broadcast

Added by Adam Sutton over 12 years ago.

Status:
Accepted
Priority:
Low
Assignee:
Category:
PVR / DVR
Target version:
-
Start date:
2012-08-12
Due date:
% Done:

0%

Estimated time:

Description

The DVR code keeps a reference to broadcasts in its entry structure, as well as duplicating most of the data internally.

The reasons for this are fairly simple:

Keep the duplicate info in case the broadcast disappears (this is critical info like title etc..), this would happen if the program were to be deleted from the database (db reset).

Keep the reference so that when changes are applied they get automatically passed to the DVR entry.

However this does throw up a possible issue. If the DB is reset but a new broadcast with the same ID as the old one is inserted its possible the DVR system will get confused and start doing weird things.

So I need to look at exactly how this will work. Generally speaking I think its pointless to hold onto a broadcast record for anything in the past (i.e. that's completed). And that searching for something in the future should use the internal cache of info, rather than the ID.

Also available in: Atom PDF