DanbooruDownloader icon indicating copy to clipboard operation
DanbooruDownloader copied to clipboard

%character% limit filename naming problem

Open Owyn opened this issue 4 years ago • 0 comments

I had %character% in filename with limit of [5] and this https://gelbooru.com/index.php?page=post&s=view&id=4395340& file after download got named Multiple Charactereven thought it had only 3 character tags while my setting allowed up to 5

same with https://gelbooru.com/index.php?page=post&s=view&id=4408676

now I changed limit to 3 (to avoid images getting skipped due to the same name) and removed checkbox from "replace if over the limit" and that file now only get 1 character tag after download? hmm quiet (metal gear) - sakimichan - 77b5d91a546ee91add428ee8cd24f1ba.jpg

seems like a bug

my filename format is %searchtag% (%provider%)\%character% - %artist% - %originalFilename%, latest program version

images getting skipped due to the same name:

my filename limit setting is set to 143 and filename format to %searchtag% (%provider%)\%character% - %artist% - %originalFilename%

image: https://chan.sankakucomplex.com/post/show/7759615 expected filename: asuka langley sohryu (cosplay) ayanami rei (cosplay) ichigo (darling in the franxx) zero two - sakimichan - 3b384d6a18bb9a3f61533371cfef036.jpg (one digit 6 at the end should get cut to abide by the 143 filename limit)

actual filename: asuka langley sohryu (cosplay) ayanami rei (cosplay) ichigo (darling in the franxx) zero two.jpg (96 characters filename instead of 143 ???) (133 if you count the foldername - which shouldn't happen btw - but still not 143)

log:

[DoBatchJob] Getting file_url from https://chan.sankakucomplex.com/post/show/7759615
[DoBatchJob] Download skipped, file exists: V:\UP\DL Image Packs\sakimichan (Sankaku Complex (HTTPS))\asuka langley sohryu (cosplay) ayanami rei (cosplay) ichigo (darling in the franxx) zero two.jpg
[DoBatchJob] Getting file_url from https://chan.sankakucomplex.com/post/show/7759601
[DoBatchJob] Download skipped, file exists: V:\UP\DL Image Packs\sakimichan (Sankaku Complex (HTTPS))\asuka langley sohryu (cosplay) ayanami rei (cosplay) ichigo (darling in the franxx) zero two.jpg
[DoBatchJob] Getting file_url from https://chan.sankakucomplex.com/post/show/7759585
[DoBatchJob] Download skipped, file exists: V:\UP\DL Image Packs\sakimichan (Sankaku Complex (HTTPS))\asuka langley sohryu (cosplay) ayanami rei (cosplay) ichigo (darling in the franxx) zero two.jpg

Owyn avatar May 14 '20 21:05 Owyn