id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,mlocked 6336,Add fanart/banner/coverfile support to Watch Recordings,robert.mcnamara@…,stuartm,"Now that fanart/banner/coverfile/screenshot support exists in MythVideo, this patch adds an ""Image Hunt"" function as well as the UI stuff necessary for fanart/coverfile/banner support in the PlayBackBox. Because the metadata download stuff is a frontend functionality, this is a half-measure towards the best way to accomplish this. Ultimately I'd like to see the scheduler do a metadata download for anything scheduled which doesn't have fanart/coverfile/banner, and have it set as a DB value in recordedprogram by the time the recording occurs. That will require moving the download stuff into the backend/libraries-- maybe for .23? In the meantime, here is how the image hunt works, I'm just cutting and pasting the comments from the code as they explain it well: + // Attempts to match image file in specified directory.
+ // Falls back like this:
+ //
+ // Pushing Daisies 5.png
+ // PushingDaisies5.png
+ // PushingDaisiesSeason5.png
+ // Pushing Daisies Season 5 Episode 1.png
+ // PuShinG DaisIES s05e01.png
+ // etc. (you get it)
+ //
+ // Or any permutation thereof including -,_, or . instead of space
+ // Then, match by seriesid (for future PBB grabber):
+ //
+ // EP0012345.png
+ //
+ // Then, as a final fallback, match just title
+ //
+ // Pushing Daisies.png (or Pushing_Daisies.png, etc.)
+ //
+ // All this allows for grabber to grab an image with format:
+ //
+ // Title SeasonNumber.ext or Title SeasonNum # Epnum #.ext
+ // or SeriesID.ext or Title.ext (without caring about cases,
+ // spaces, dashes, periods, or underscores)
In about six weeks of using this code it has worked pretty flawlessly. In the short term this means copying a few correctly named images for your favorite shows into the fanart/banner/coverfile dirs, but I hope to solve this as mentioned above. In the meantime it's a nice visual feature that works well with fairly minimal intervention. This splits out part of #6158. If this gets committed I will update that patch accordingly.",enhancement,closed,minor,unknown,MythTV - User Interface Library,head,medium,fixed,,,0