GNOME Bugzilla – Bug 769676
ui: Look for covers alongside the game files
Last modified: 2016-08-12 10:30:33 UTC
We should allow users to set custom covers for their games, for example if we have 'file:///path/to/mario-bros.nes' we could look for any image file of the similar to 'file:///path/to/mario-bros.*'. We could also look for an image file named 'cover.*' or 'folder.*' as it's common for music albums.
Created attachment 333105 [details] [review] utils: Add LocalCover This will be used in the next commits to look for image files named similarly to a game file or named as cover files typically are.
Created attachment 333106 [details] [review] utils: Add CompositeCover This will be used in the next commit to get covers from multiple sources.
Created attachment 333107 [details] [review] Use local covers When relevant, use the local covers before any other one.
Created attachment 333161 [details] [review] utils: Add Directory This will be used in the next commit to loop through files in a directory.
Created attachment 333162 [details] [review] utils: Add LocalCover This will be used in the next commits to look for image files named similarly to a game file or named as cover files typically are.
Created attachment 333163 [details] [review] utils: Add CompositeCover This will be used in the next commit to get covers from multiple sources.
Created attachment 333164 [details] [review] Use local covers When relevant, use the local covers before any other one.
Attachment 333161 [details] pushed as 71b30aa - utils: Add Directory Attachment 333162 [details] pushed as 6b33079 - utils: Add LocalCover Attachment 333163 [details] pushed as d128771 - utils: Add CompositeCover Attachment 333164 [details] pushed as 86458fd - Use local covers