[mythtv-commits] Ticket #10071: Bugfixes to mythburn.py
MythTV
noreply at mythtv.org
Thu Oct 6 17:55:16 UTC 2011
#10071: Bugfixes to mythburn.py
----------------------------------+-----------------------------
Reporter: t.brackertz@… | Owner: paulh
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: 0.25
Component: Plugin - MythArchive | Version: Unspecified
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------
Comment (by J.Pilk@…):
I'm attaching a unified diff, from the 0.24-fixes version of mythburn.py,
that
combines the patch submitted above with modifications that I have been
using
for some time.
My changes are principally those from Tickets #8376 and #9389 that have
not
already been committed; mostly the remaining earlier ones are intended to
allow
processing to continue when a quite rare error has been signalled by mplex
but experience has shown that no bad effects are likely to be noticeable,
and
the later one applies cutlists in the correct sense after the changes made
between the 0.23 and 0.24 releases. Others are intended to make the log
files
more informative and to reduce the effect of often intensive disc activity
on
other processes.
I have not conducted an exploration of the effect of this combined
patch on all possible pathways through the script, but with it my
system now appears to behave during my normal mode of operation just as it
did before the patches were merged. I have however used it to make, from
UK
dvb-t recordings, iso images with subtitles and with more than one audio
stream, using an active cutlist; these are not things that I had recently
tried
to do. Since I work with UK-targeted material I have not had to contend
with
'exotic' character sets and I have done no tests on this aspect of the new
patch.
A few specific points should be made:
Most disc-intensive operations are done with the 'ionice -c3' prefix to
reduce system impact. This may not be available for all OSes; I couldn't
find
it for CentOS5
The location of the output iso file (isopath) has to be specified in the
script. Creation of the file is essentially a multi-GB file copy
operation.
Its impact should be less if the mytharchive temp directory and isopath
are on
different spindles.
The mytharchive temp directory will change in size by several GB during
operations. This could affect auto-expire calculations if it shares a
recordings partition.
I use mp2 sound, but mytharchive default is ac3. The patched script will
look
for menumusic.mp2, which AFAIK is no longer distributed. I converted it
from
menumusic.ac3 and it is selected by a hack that is not theme-aware.
Disable
by omitting chunks of the patch that mention menumusic.mp2
The patch was created by
diff -Nau mythburn_dist.py mythburn.py > ~/mythburn20111006.patch
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10071#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list