[mythtv-commits] Ticket #11224: Duplicate recordings without manual resched - 0.26 regression
MythTV
noreply at mythtv.org
Wed Nov 7 19:19:21 UTC 2012
#11224: Duplicate recordings without manual resched - 0.26 regression
--------------------------------------+----------------------------
Reporter: Bradley Baetz <bbaetz@…> | Owner: gigem
Type: Bug Report - General | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - Scheduling | Version: 0.26-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
--------------------------------------+----------------------------
Changes (by gigem):
* status: new => assigned
Comment:
I'm hoping this is a simple race condition. In
TVRec::FinishedRecording(), you should see the following two chunks of
code:
{{{
// send out UPDATE_RECORDING_STATUS message
if (recgrp != "LiveTV")
{
MythEvent me(QString("UPDATE_RECORDING_STATUS %1 %2 %3 %4 %5")
.arg(curRec->GetCardID())
.arg(curRec->GetChanID())
.arg(curRec->GetScheduledStartTime(MythDate::ISODate))
.arg(curRec->GetRecordingStatus())
.arg(curRec->GetRecordingEndTime(MythDate::ISODate)));
gCoreContext->dispatch(me);
}
// store recording in recorded table
curRec->FinishedRecording(!is_good || (recgrp == "LiveTV"));
}}}
Please try reversing the order of them. When you do that, please also run
the backend with -v schedule.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11224#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list