[mythtv-commits] Ticket #5094: Recording the same program twice causes MythTV to consider the second not active
MythTV
mythtv at cvs.mythtv.org
Sat Jan 3 15:31:02 UTC 2009
#5094: Recording the same program twice causes MythTV to consider the second not
active
-------------------------------------+--------------------------------------
Reporter: dknowles at clearfield.com | Owner: danielk
Type: defect | Status: closed
Priority: minor | Milestone: 0.22
Component: mythtv | Version: 0.21-fixes
Severity: medium | Resolution: duplicate
Mlocked: 0 |
-------------------------------------+--------------------------------------
Comment(by stuartm):
Ok the problem isn't a UI issue in watch recordings, so it won't be fixed
by the MythUI port.
MainServer::HandleQueryRecordings() iterates through the list from
Scheduler::getAllPending() comparing each recording with and "endtime >
now()", if it finds a match that recording has it's status changed to
"recording"
In Scheduler::AddRecording() we check for duplicates, but that check is
broken, the following warning in the backend logs confirms it -
"Scheduler: Not adding recording, '<program_title>' is already in
reclist."
ProgramInfo::IsSameProgramTimeslot(), the help text claims that it checks
inputid, but it doesn't and checking input should fix this but may break
other areas of the scheduler so this needs to be checked.
Assiging to danielk as per discussion in IRC.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5094#comment:3>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list