yjk602 / tagbooru

Automatically exported from code.google.com/p/tagbooru
0 stars 0 forks source link

Enhancements: Keep track of already downloaded files | Download into separate folders #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have two enhancements: 1.Instead of downloading into the source directory, 
can tagbooru store files into new folders? You could use the inputted tags to 
name the folders. You will run into the issue of what to do if multiple tags 
are input, in which case you could do it the hard way and sort images into 
separate folders or do it the easy way and just name the folder with all the 
tags they input.

2.Can tagbooru store a list of files it has already downloaded? I know that it 
will skip files that still exist in the folder, but what if you move files into 
new folders? What if you delete files you don't want anymore? Then if you try 
to update your files, you get duplicates of ones you've moved and have to 
delete all the ones you didn't want again. A nice textfile containing id's 
already downloaded would be handy. The only issue is that I'd imagine that file 
would grow pretty large, pretty fast. In that case, perhaps it should try to 
optimize the list. It should make ranges; for example: 1,2,3,4,5 could be 
optimized to 1-5, which saves it 3 numbers. Considering the number of numbers 
in an ID, it would drastically reduce the size of the file.

You could have these off by default and make an option to turn these on, but 
then you'd need to store settings somewhere, right? Hm..maybe just have a 
settings.txt generated when you turn them on?

These would be pretty awesome features and shouldn't be too, too hard to do, I 
don't think. Thanks.

Original issue reported on code.google.com by dothack...@gmail.com on 4 Dec 2011 at 11:28

GoogleCodeExporter commented 8 years ago
Sorry, I didn't know how to make it an enhancement type. I didn't see an option 
for that anywhere.

Original comment by dothack...@gmail.com on 4 Dec 2011 at 11:29