Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#5595 closed defect (fixed)

Unable to create recording override (rev 17794?)

Reported by: gtgj@… Owned by: danielk
Priority: critical Milestone: 0.22
Component: mythtv Version: head
Severity: high Keywords:
Cc: Ticket locked: no

Description

Recording overrides stopped working for me between rev 17775 and 17867 (eg. selecting "Record anyway" on an upcoming program that's not scheduled to record). An entry does get added to the "record" DB table but many fields are blank, such as "title", "subtitle", "starttime", and "endtime". Other fields are correct, such as "description".

As far as I can tell, the fields are not getting saved because of this check in libs/libmythdb/mythstorage.cpp:

void SimpleDBStorage::Save(QString _table)
{
    if (user->GetValue() == initval)
        return;

If I remove that check, the fields are filled in and the override works properly. It looks like this check was slightly different before rev 17794.

Change History (5)

comment:1 Changed 11 years ago by stuartm

Milestone: unknown0.22
Priority: minorcritical
Severity: mediumhigh
Version: unknownhead

Thank you for debugging this, I've been seeing the same problem, with overrides, never record and others from Upcoming Programs I just haven't had the time to look into it.

comment:2 Changed 11 years ago by danielk

Owner: changed from Isaac Richards to danielk
Status: newassigned

comment:3 Changed 11 years ago by danielk

Resolution: fixed
Status: assignedclosed

(In [18076]) Fixes #5595. Fixes a bug introduced in [17794] with saving SimpleSRStorage entries where the value did not change but the recording id did.

comment:4 Changed 11 years ago by danielk

(In [18607]) Refs #5595. Switch from Q3EditText to QEditText. Requires relinking plugins.

comment:5 Changed 11 years ago by danielk

Oops [18607] should have referenced #5596.

Note: See TracTickets for help on using tickets.