[mythtv] Problems with mythburn.py

Rolf Bensch rolf at bensch-online.de
Mon Dec 3 12:02:06 UTC 2012


Hi,

I have trouble with the latest mythburn.py from git. Some bugs are
already described in trac with patches, but they haven't been fixed yet.

(1) StopIteration exception (#10758).

(2) -crop* options are not working with the latest version of ffmpeg and
mythffmpeg (#10042).

(3) The line "localfile = quoteFilename(localfile)" thows an exception
(#10071). I already provided a patch to trac.

(4) Mythburn throws an exception  while using the "Black" theme:

Traceback (most recent call last):
  File "/public/workspace/mythburn/mythburn.py", line 5188, in main
    processJob(job)
  File "/public/workspace/mythburn/mythburn.py", line 4895, in processJob
    createMenu(format, dpi, files.length)
  File "/public/workspace/mythburn/mythburn.py", line 3556, in createMenu
    bgimage.save(os.path.join(getTempPath(),"background-%s.jpg" %
page),"JPEG", quality=99)
  File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 1439, in save
    save_handler(self, fp, filename)
  File "/usr/lib/python2.7/dist-packages/PIL/JpegImagePlugin.py", line
425, in _save
    raise IOError("cannot write mode %s as JPEG" % im.mode)
IOError: cannot write mode I as JPEG
------------------------------------------------------------

I found a workaround for (4): I converted
/usr/share/mythtv/mytharchive/themes/Black/Black-Background.png from
grayscale to rgb. Maybe somebody will add a converter to the code.

Cheers,
Rolf



More information about the mythtv-dev mailing list