Ticket #6159 (closed enhancement: fixed)
Opened 3 years ago
Last modified 3 years ago
Add Screenshot as additional metadata type to videometadata
| Reported by: | robert.mcnamara@… | Owned by: | awithers |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | Plugin - MythVideo | Version: | head |
| Severity: | medium | Keywords: | MythVideo Screenshot |
| Cc: | Ticket locked: | no |
Description
This patch adds screenshot as an optional eligible image type (in addition to coverfile) in videometadata, allowing this type of effect:
Attachments
Change History
Changed 3 years ago by robert.mcnamara@…
- Attachment MVScreenshots.diff added
Changed 3 years ago by robert.mcnamara@…
- Attachment MVScreenshots.2.diff added
Couple of things missed, adds UI changes
Changed 3 years ago by robert.mcnamara@…
- Attachment MVnewmeta.diff added
Add support for banners and fanart
comment:1 Changed 3 years ago by robert.mcnamara@…
New version of the path adds screenshot, banner, and fanart slots in MythVideo? DB and UI. Examples of effect achieved:
http://www.fecitfacta.com/meta1.png[[BR]]
http://www.fecitfacta.com/meta2.png[[BR]]
http://www.fecitfacta.com/meta3.png[[BR]]
http://www.fecitfacta.com/meta4.png[[BR]]
http://www.fecitfacta.com/meta5.png[[BR]]
Changed 3 years ago by robert.mcnamara@…
- Attachment MVnewmeta.2.diff added
A hunk from another patch made it in to last one.
Changed 3 years ago by robert.mcnamara@…
- Attachment MVnewmeta.3.diff added
A couple small fixes, otherwise same as above.
comment:2 Changed 3 years ago by wstewart@…
Looks very interesting. Just to let you know, the tmdb.pl script I did that is currently in trunk has an option to grab the backdrop which could be used for the banner or fanart. Would be cool if you could use this grabber to automatically populate the database field.
Changed 3 years ago by robert.mcnamara@…
- Attachment MV-fanartdownloader.diff added
Supplement patch to add fanart downloads
comment:3 Changed 3 years ago by robert.mcnamara@…
Latest patch adds fanart downloads using the TMDB script-- a word of caution-- this is NOT the way things are going to end up working the supplemental patch is *only* for purposes of testing the fanart capabilities, and is applied on top of the MVnewmeta.3.diff patch. Then you (I) add fanart to a screen with something like:
<imagetype name="fanart">
<area>0,0,1280,720</area>
<filename>gallery_fanart.jpg</filename>
</imagetype>
Where gallery_fanart.jpg is a fallback file when no cover fanart is available.
Once more, this latest patch is ONLY for quickly adding some fanart to the DB and testing the above patch, and the fanart downloads are probably not going to be ultimately handled this way. Back up your DB, you have been warned!
Changed 3 years ago by robert.mcnamara@…
- Attachment MV-fanartdownloader.2.diff added
Fix to keep Fanart from Overwriting Coverfile, supercedes previous.
Changed 3 years ago by robert.mcnamara@…
- Attachment MVnewmeta.4.diff added
Adds file selector popup for screenshots, banner, fanart
Changed 3 years ago by robert.mcnamara@…
- Attachment MVnewmeta.5.diff added
Accounts for changes to file browser, minor fixes
comment:4 Changed 3 years ago by robert.mcnamara@…
Just a quick example of how #6158 and #6159 work together to create some neat effects-- there's about 40 lines of code not yet submitted to create the second effect, but you get the idea. In the "Watch Recordings" example, the images are all being guessed (from the contents of the fanart/banner/coverart dirs) in real time-- 100% success rate so far given just a *little* effort in naming them.
http://www.fecitfacta.com/myth-theme-screencap2.ogg http://www.fecitfacta.com/PBBFanartBannerCoverart.ogg
Changed 3 years ago by robert.mcnamara@…
- Attachment MVnewmeta.6.diff added
removes one inadvertantly added hunk
Changed 3 years ago by robert.mcnamara@…
- Attachment MVnewmeta.7.diff added
Improves a few variable names
Changed 3 years ago by robert.mcnamara@…
- Attachment MV-fanartdownloader.3.diff added
Update to the Fanart Downloader (supplemental, optional patch)
Changed 3 years ago by robert.mcnamara@…
- Attachment MVnewmeta.8.diff added
updates settings table values to be mythvideo.VALUE for consistency
Changed 3 years ago by robert.mcnamara@…
- Attachment MVnewmeta.9.diff added
Accounts for MythVideo? SG changes
Changed 3 years ago by robert.mcnamara@…
- Attachment MVnewmeta.10.diff added
Ports patch to use Storage Groups
comment:5 Changed 3 years ago by robert.mcnamara@…
Newest and hopefully final version of the patch. Adds storage group support for fanart, screenshots, banners, and coverart. Corrects a few little housekeeping things. The MythUIFileBrowser will need some modification to allow Storage-group'ed files to be selected. Currently the file browser for these files will only work if they use the local (non storage group) setting.
comment:6 Changed 3 years ago by robert.mcnamara@…
Patch allows for better fallback from Storage Groups to local dirs-- now if the video itself is designated as in a storage group, but one of the pieces of metadata is local, everything will still work nicely.
comment:7 Changed 3 years ago by awithers
- Status changed from new to closed
- Resolution set to fixed
Changed 3 years ago by robert.mcnamara@…
- Attachment fanart-download.final.diff added
Fix for IsHostSet?() breakage, and updated fanart downloader

Patch to add screenshot metadata to MV