[mythtv-commits] Ticket #8457: Recordings with various disabled recstatus values can break scheduling in MythWeb
MythTV
mythtv at cvs.mythtv.org
Fri May 14 17:42:03 UTC 2010
#8457: Recordings with various disabled recstatus values can break scheduling in
MythWeb
-----------------------------------------------------+----------------------
Reporter: Tom Dexter <digitalaudiorock@…> | Owner: kormoc
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: Plugin - MythWeb | Version: Unspecified
Severity: medium | Mlocked: 0
-----------------------------------------------------+----------------------
Recording schedules that are disabled for various reasons (in my case it
was a weekly time slot schedule for a show that wasn't listed, with a
recstatus of 6) can break the scheduling of a show in that time slot.
Tonight I went to schedule "Need to Know" on PBS in MythWeb. After
scheduling it, it wasn't highlighted in the listings. Clicking on the
program again to see the schedule showed the details as if it hadn't been
scheduled (that is, no "Cancel this schedule" radio button etc). Not
knowing what happened I tried to schedule it again but it still didn't
show was being scheduled in the listings. I discovered that that process
was creating multiple entries in the record table for that show, which
could only be corrected by canceling the schedule multiple times from the
frontend.
After considerable debugging I traced it to the existence of a now
unlisted show (Bill Moyers Journal) in that same time slot.
I see that MythWeb currently has no sort of enumeration for recstatus
entries. I've attached a patch that simply maps any recstatus values that
indicate a disabled schedule and skips those when building
$Scheduled_Recordings. I'm not sure of this fix, but it seems to be
working.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/8457>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list