[mythtv-commits] Ticket #3779: Rename all PNG previews after transcode

MythTV mythtv at cvs.mythtv.org
Tue Aug 28 20:24:52 UTC 2007


#3779: Rename all PNG previews after transcode
----------------------------------------------+-----------------------------
 Reporter:  sphery <mtdean at thirdcontact.com>  |        Owner:  ijr    
     Type:  patch                             |       Status:  new    
 Priority:  minor                             |    Milestone:  unknown
Component:  mythtranscode                     |      Version:  head   
 Severity:  medium                            |   Resolution:         
  Mlocked:  0                                 |  
----------------------------------------------+-----------------------------

Comment(by sphery <mtdean at thirdcontact.com>):

 Two updated patches were attached.

 The first, mythtv-mythtranscode_rename_png-allows_spaces-
 with_local8Bit.patch, is simply an updated version of mythtv-
 mythtranscode_rename_png-allows_spaces.patch that adds calls to
 local8Bit() for the QString values passed to rename() and unlink() calls,
 to handle encoding issues that could result if users rename recordings
 with mythrename.pl before transcoding.

 The second, mythtv-mythtranscode_delete_or_rename_png-allows_spaces-
 with_local8Bit.patch, is an alternate patch that could be applied instead
 of mythtv-mythtranscode_rename_png-allows_spaces-with_local8Bit.patch.  It
 has the same functionality, but also deletes previews if a cutlist was
 applied.  This ensures that the preview image is not from a section that
 was removed during transcoding.  It also ensures that the "dimensioned"
 previews (i.e. for MythWeb) will correspond to the new timeline (i.e. the
 seconds in dimension is no longer correct after cutting).  Inspired by a
 comment from stuarta on IRC.  If you'd prefer the delete code be added in
 a separate commit, I can do another patch once the rename code is
 committed.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3779#comment:3>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list