[mythtv-commits] Ticket #10758: [PATCH] Mytharchive: Catch StopIteration exception in mythburn.py
MythTV
noreply at mythtv.org
Sat Aug 31 21:16:30 UTC 2013
#10758: [PATCH] Mytharchive: Catch StopIteration exception in mythburn.py
-----------------------------------+---------------------------------------
Reporter: Lawrence Rust <lvr@…> | Owner: Lawrence Rust <lvr@…>
Type: Patch - Bug Fix | Status: closed
Priority: minor | Milestone: unknown
Component: Plugin - MythArchive | Version: 0.25-fixes
Severity: medium | Resolution: fixed
Keywords: StopIteration | Ticket locked: 0
exception |
-----------------------------------+---------------------------------------
Changes (by Lawrence Rust <lvr@…>):
* owner: => Lawrence Rust <lvr@…>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"19aaf86936c118a4241f03a0377da31dfdeba4fd/mythtv"]:
{{{
#!CommitTicketReference repository="mythtv"
revision="19aaf86936c118a4241f03a0377da31dfdeba4fd"
MythArchive: Catch StopIteration exception in mythburn.py
If a DVD is created from a single mpeg video then mythburn.py attempts
to transcode the file to eliminate any errors. However, runMythtranscode
calls DB.searchRecorded, to obtain any cutlist, with an invalid chanid
and starttime which results in a StopIteration exception.
This patch catches the exception and returns an empty cutlist.
Fixes #10758.
Signed-off-by: Paul Harrison <pharrison at mythtv.org>
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10758#comment:2>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list