[mythtv-commits] Ticket #602: Add ability to see recording changes
resulting from a schedule change
MythTV
mythtv at cvs.mythtv.org
Mon Nov 7 05:53:08 EST 2005
#602: Add ability to see recording changes resulting from a schedule change
-------------------------------+--------------------------------------------
Reporter: mythtv at hburch.com | Owner: ijr
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: mythtv | Version:
Severity: medium |
-------------------------------+--------------------------------------------
When configuring a scheduled recording, I often think "If I save now, how
will my scheduled recording change?". This patch adds the ability to
answer that question.
From the UI standpoint, it creates a new option in the menu "Display
recording changes". Selecting this pulls up a new display (after about a
second delay on my machine) that lists all the scheduled recordings that
have changed, what the old status was, and what the new status will be.
For example:
....The Secret Life Of ... - "Christmas" C 1
says that that particular show used to be a confilcting recording, but
will now be recorded. This allows you to instantly see what will change
if you save your current options when adding a new recording or editting
an old one.
Programmatically, there are many more changes. A new object is added,
called ViewScheduleDiff to hold the UI of this screen. A new table is
added, record_tmp, that stores the proposed changes. To prevent race
conditions, a MySQL lock is obtained before using that table.
QUERY_GETALLPENDING gets an optional argument - the table from which to
pull the "record" data. Configurable gets a new virtual function
save(QString destination) (necessary to save the displayed options to
record_tmp). The last change touches a lot of files without making
substantative changes in them.
Potential drawbacks:
* The screen is somewhat slow to display on my machine due to the
scheduling calculations, and it may take much longer on slower processors
to compute what the new schedule would be.
* The recording options edit page now scrolls one line.
Advantages:
* Can visually see the results of edits in recording options, without the
need to remember the entire schedule.
Potential extensions:
* Ability to see the results of priority changes, overrides, "never
record", or other changes.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/602>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list