[mythtv-commits] Ticket #6158: Add Export to MythVideo Functionality to Watch Recordings

MythTV mythtv at cvs.mythtv.org
Thu Jan 22 03:07:06 UTC 2009


#6158: Add Export to MythVideo Functionality to Watch Recordings
---------------------------------------+------------------------------------
 Reporter:  robert.mcnamara at gmail.com  |       Owner:  awithers
     Type:  enhancement                |      Status:  new     
 Priority:  minor                      |   Milestone:  unknown 
Component:  Plugin - MythVideo         |     Version:  head    
 Severity:  low                        |     Mlocked:  0       
---------------------------------------+------------------------------------
 This patch adds a context menu item to Watch Recordings if MythVideo is
 installed, "Export to MythVideo."  Based upon two settings in
 Utilities/Setup->Setup->Media Settings->Video Settings->General Settings,
 directories will be created in the MythVideo store and files created.

 The two settings are "TV Export Directory Format" and "TV Export File
 Format."  They take all the User Job style variables such as %TITLE%,
 %SUBTITLE%, %STARTTIMEISO%, Etc.  The default values are:

 Television/%TITLE%   (Directory Format)

 and

 %TITLE% - %SUBTITLE%  (File Format)

 So, with A show like "Lost," Episode "The Lie," a default export to
 MythVideo would:

 1) Create directory $MythVideoDir/Television/Lost if it does not exist.
 2) Copy the file to $MythVideoDir/Television/Lost/Lost - The Lie.mpg
 3) Update table videometadata with the plot, title, year, user rating,
 etc. from the listings grabber/EIT.

 Two notable caveats right now.  The copy blocks the UI until it is done.
 It could really do with a busy indicator.  Also, it presumes that all
 storage is local-- works great for a combined frontend/backend, not as
 well if the storage group is not locally or network mounted.

 When Storage group move/copy code is committed, I will fix this to use it.
 I will make any bugfixes shortly, as well as copying the preview file to
 the MythVideo poster store and setting it as the coverart.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/6158>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list