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

MythTV mythtv at cvs.mythtv.org
Sat Jan 31 21:33:01 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                        |   Resolution:          
  Mlocked:  0                          |  
---------------------------------------+------------------------------------

Comment(by robert.mcnamara at gmail.com):

 Thanks to some generous help and some fancy regex-fu, the export now hunts
 locally for the correct coverart/fanart/banner for the exported item.  It
 works like this:

 First priority is "Title of Show (Number, episode #, Season #, etc.)"
 Examples of things it will successfully find:

 Battlestar Galactica 4.png
 BaTTLEstar_GalaTICA.Season_4_Episode_3.jpg
 Battlestar-galactica-season-4.jpg
 Battlestar Galactica 4x04.jpg
 Battlestar_Galactica_s04e04.png

 So, more or less, it will take the title of the show, with periods,
 underscores, or dashes, plus any common notation of season or episode.  It
 will select the latest of these numbers (ie Season 5 Episode 5 winsover
 Season 4 Episode 22).  Most people will only want to drop in a new fanart
 once a season, but even if someone wants to change the one selected every
 episode, it's still only a matter of naming the new ones something
 remotely serialized.

 If the hunt fails to find a file with name above, it will fall back to
 SERIESID.png (example: EP0087236.jpg).  If that fails, it will select
 Title.png/jpg/gif as a last resort, again with any combination of
 underscore, dash, space, or period.

 This should set grabbers for MV and the PBB (eventually) up to pull in an
 intelligently name the newest versions of the fanart/covers/banner (as you
 can pull in covers by season number, and always pull in the latest and
 name it appropriately).  Want to change the fanart and banner going
 forward, but leave the rest the same?  Drop in a new file and increment
 the number.  New season of Chuck started?  Drop in the new
 covers/fanart/banner, and your future exports will get them automatically.

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


More information about the mythtv-commits mailing list