[mythtv-commits] Ticket #10758: [PATCH] Mytharchive: Catch StopIteration exception in mythburn.py

MythTV noreply at mythtv.org
Fri May 25 17:17:51 UTC 2012


#10758: [PATCH] Mytharchive: Catch StopIteration exception in mythburn.py
------------------------------------+--------------------------------------
 Reporter:  Lawrence Rust <lvr@…>   |           Type:  Patch - Bug Fix
   Status:  new                     |       Priority:  minor
Milestone:  unknown                 |      Component:  Plugin - MythArchive
  Version:  0.25-fixes              |       Severity:  medium
 Keywords:  StopIteration           |  Ticket locked:  0
  exception                         |
------------------------------------+--------------------------------------
 If a DVD is created from a single mpeg video then mythburn.py attempts to
 transcode the file to eliminate errors.  However, runMythtranscode calls
 DB.searchRecorded to obtain the cutlist with an invalid chanid and
 starttime which results in a StopIteration exception.

 This patch catches the exception and returns an empty cutlist.

 NB After applying this patch further errors are encountered later on in
 mythburn.py when running mplex, which reports that the file produced by
 mythreplex is unreadable,  mythburn.log attached

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10758>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list