[mythtv-commits] Ticket #2968: script to generate DVD box labels for mytharchive native format archive disks

MythTV mythtv at cvs.mythtv.org
Sun Nov 4 12:03:17 UTC 2007

#2968: script to generate DVD box labels for mytharchive native format archive
 Reporter:  schachte at csse.unimelb.edu.au  |        Owner:  paulh  
     Type:  enhancement                   |       Status:  closed 
 Priority:  minor                         |    Milestone:  unknown
Component:  mytharchive                   |      Version:  0.20   
 Severity:  low                           |   Resolution:  wontfix
  Mlocked:  0                             |  

Comment(by paulh):

 Replying to [comment:4 schachte at csse.unimelb.edu.au]:
 > Thanks, Paul.  If I removed the dependency on cdlabelgen and generated
 postscript directly, would you reconsider adding it?  I've been thinking I
 could produce nicer covers that way, anyway.  Also, would a dependency on
 the netpbm package be unacceptable?  Or is there some acceptable python
 module I can use to read .jpg, .png or .gif video cover art?
 > Thanks.

 Sorry I forgot about this.

 I'd rather not add any new dependencies unless absolutely necessary. The
 mythburn.py script already uses the PIL imaging library that you could
 probably use. [http://www.pythonware.com/library/pil/handbook/index.htm]

 I think printing DVD labels or case inlays etc need to be as easy as
 possible otherwise no one will use it - it's easier to just get a pen :-)
 Scripts that require the user to enter stuff don't work very well in the
 Myth environment were many users use a remote and don't have a keyboard

 The way I originally thought this would work was that there would be a new
 'Print Labels' menu option on the 'Archive Utilities' menu. Clicking that
 would show a screen that allows you to chose what you want to print, dvd
 label, inlay etc, possibly with different themeable layouts similar to
 those used to create the DVD menu's (there is a lot of code that could be
 reused there). You would then be prompted to insert the DVD in the drive
 which would contain all the information needed to create the label
 (probably an xml file describing whats on the DVD which will be similar
 for both native archives and normal DVDs assuming regular DVDs can have
 additional files on them without freaking out any DVD players that is.
 When all the information required is available the script would be called
 to create the label/inlay. It would actually just create an image which
 the frontend plugin can then show as a preview with a button to actually
 print the image. QT has a class that can handle printing which could
 possibly be used to do the actual printing. I also know that Lukas was
 working on using LightScribe to create the DVD labels on drives that
 support it. I would imaging that would work in a similar way with another
 script that creates the image which can then be burned on the DVD. There
 would have to be a prompt for the user to turn the disc over of cause.

 If you still want to work on this let me know. I don't mind working on the
 plugin side of things if you don't know c++/qt if you take care of the

 You'd best reply to one of the lists or email me directly if you prefer -
 some people get a little upset if you use trac for discussions :-)

Ticket URL: <http://svn.mythtv.org/trac/ticket/2968#comment:5>
MythTV <http://svn.mythtv.org/trac>

More information about the mythtv-commits mailing list