fire-eggs / DarkThumbs

Adds thumbnail preview to Windows Explorer for EPUB, FB2, DJVU and Kindle ebooks; 7Z, CB7, CBZ, CBR, RAR and ZIP archives.
451 stars 23 forks source link

More intelligent determination of files to represent comic archives #43

Closed wyldphyre closed 1 year ago

wyldphyre commented 2 years ago

Problem: The default behaviour mostly works fine, but depending on the contents of your comic archive, it can contain files that are credits, notes, or related to recruitment (of the scanlation team). Sometimes they'll even have a file that is explicitly meant to be the cover. Regardless of whether you activate sorting alphabetically, the first file isn't always the best file for the cover.

Proposed Enhancement: Assuming it isn't going to be much of a performance hit, it would be nice if the logic for determining the 'cover' for an archive was something like the following:

Presumably you'd want an option for whether to activate this behaviour.

fire-eggs commented 2 years ago

Thanks for the suggestion - those scanlation team images keep annoying me!

wyldphyre commented 2 years ago

I was thinking about it some more last night, and I think the following might work out better.

New option 1 - Ignore irrelevant files, regardless of sorting order [Default On]: This should have the least impact on performance when sorting is turned off. I think it should just be default behaviour for comic archives, as anyone who wants to show thumbnails on their files probably doesn’t want one of these files as the thumbnail.

New option 2 - Search for cover files [Default Off]: In my experience cover files aren’t common, so it will result in scanning the entirety of most files to no benefit.

fire-eggs commented 1 year ago

Implemented for V1.7.