fire-eggs / DarkThumbs

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

Using file 1.jpg as cover instead of 0.jpg #79

Closed 0Raik closed 6 months ago

0Raik commented 7 months ago

Unfortunately a lot of mangas I downloaded recently are named in single digits. I know by experience that CBXShell gets the order right when the file names are in the double digits, for example:

00.jpg => Thumbnail created 01.jpg 02.jpg 03.jpg

But when the naming scheme is...

0.jpg 1.jpg => Thumbnail created 2.jpg 3.jpg

And that makes this one user sad :'(

Any way to change the behavior other than me having to decompress, bulk rename them and re-compress all those offensive files? I installed CDisplay and it does the thumbnails just right, however I like YACreader and MComix and love the fact DarkThumbs is agnostic.

Thank you so much for the great work so far. Have a great day!

fire-eggs commented 7 months ago

Thank you for the report! I'll check into it.

fire-eggs commented 7 months ago

I've not been able to reproduce the issue with the current DarkThumbs - at least, not with ZIP or RAR files. I'm attaching a couple of samples: for each file, DarkThumbs shows the '0' (zero) image as the cover.

dt_issue.zip subfolder.zip

[subfolder is the case where the files are in a subdirectory within the archive]

If you could provide a sample file which causes a problem for you, I can dig into it further.

0Raik commented 6 months ago

Used Winrar with a compression profile but the thing is I lost the compression profile. I did the compression but it wasn't my usual settings which is just to create a zip with no compression but noticed it was doing compression so I remade the profile again and this time it did what I needed, however, I'm also unable to replicate the issue with Winrar and that profile and I don't know what I did to mess up. I don't know what happened but I still have the files having the problem. After uninstalling DarkThumbs and YacReader and installing DarkThumbs again also cleaning the thumbnails cache the files I still have this issue so here are the files but be warned, they are SPICY doujinshi lewds so viewer discretion is advised. Da Passswordo is DarkThumbs

Bug Report DarkThumbs.zip

fire-eggs commented 6 months ago

hey are SPICY doujinshi lewds so viewer discretion is advised

Not a problem, thank you for the upload!

fire-eggs commented 6 months ago

Thanks again for the sample files. Fixed for release V1.8.