DanbooruDownloader
DanbooruDownloader copied to clipboard
Full batch mode skips over jobs loaded from a list
So recently I've been using the save/load batch list feature for keeping track on some artists I follow on Danbooru. I made a list first using the Jan 31st version of the app (this was after September 22nd but I had no idea it was released yet), but haven't loaded and used it in the same version after completing the jobs and saved the batch. Then I found out about Sept 22nd update and downloaded it. I loaded the batch list I made before and apparently it just skipped over jobs without even checking the directory for existing files. I thought maybe batch lists from different versions could be the cause so I remade the entire jobs list manually and saved it with the Sept 22nd version. When I started the download right as I was manually adding them, the app properly checks the directories for existing files. But when I loaded the batch list afterwards, the same thing apparently happened.
tl;dr manually added jobs are properly checked for existing files, while saved and loaded ones are skipped, even though there clearly were new uploads on the artists' Danbooru page.
I appreciate any help you can give.
These are tested using Sept 22nd:
List made using Jan 31st
List made using Sept 22nd
Here are the log files when it happened Batch Download on 2017-10-30.txt Batch Download on 2017-11-01.txt log-2017-10-30.txt log-2017-11-02.txt log-2017-10-31.txt log-2017-11-01.txt
P.S. There's another minor issue though it doesn't bother me as much since I can still get around it by manually changing save directories through filename format: the app seemingly just ignored %artist% tag for some artists, as in even with the format "%provider%%artist%%id%" it doesn't make and save images to the "%artist%"'s folder and just dumps them in %provider% folder. So far I've found sankakusui and iku_(ikuchan_kaoru) to have been hit with this.
the tagging is depends on the tags.xml data. if the artist is not categorized properly, then it will be treated as unknown/general tag.
for the batch job, can you upload the xml file?
Converted to txt because github doesn't support xml in the comments.
Thanks again for looking into this.
I think it is because of this entry, can you change it to false manually and re test?
Nice, it works. Thanks!
One question though, how come it tagged like over the first half of my list as completed (true) and leaves the rest incomplete (false) even though they've all finished downloading at least once in previous sessions?
That I'm not sure. By right if you save it when everything was done, it should be marked as completed.
Anyway, I think the isComplete flag shouldn't be stored in the list.
I personally prefer it that way, or any other means that can help me recheck the list on a regular basis to get updates. Up to you though.
Thanks again for the help, I'm doing my list recheck atm haha.