clragon / e1547

A sophisticated e621 browser
https://e1547.clynamic.net/
GNU General Public License v3.0
202 stars 15 forks source link

Pool/Artist name download folders #123

Closed CanglanXYA closed 4 months ago

CanglanXYA commented 6 months ago

Is your feature request related to a problem? Please describe.

Its hard and time-consuming for user who want to download a bunch of images from different artists and arrange them in order manually

Describe the solution you'd like

All images downloaded are redirected to folders which names are renamed by artists or pool name

Describe alternatives you've considered

Additional context

clragon commented 6 months ago

This seems like good feature to have... I just have to come up with a clear spec.

What if an image has multiple artists? Or multiple pools? Or both?

Which of these folder names will the app pick?

CanglanXYA commented 6 months ago

This seems like good feature to have... I just have to come up with a clear spec.

What if an image has multiple artists? Or multiple pools? Or both?

Which of these folder names will the app pick?

There are some personal thoughts below, thx for your patience and development

『Without Database method』 A not so clever method for an image with multi-artist is just download at one artist first and copy it to other artists' directory. For this app will auto check duplicate images it will save time and network usage.

if a pool only have one artist just create and rename a subdirectory at artist's folder and proceed download.

Or just download all pools to a separate directory.

『Database method』Add extra function to turn this app like a local gallery browser Create a local relational database and store all necessary info from e621. Columns should at least have: unique id, artist name, pool name(if it has) and final download location.

It can cooperate with this app and no need to store extra info at directory. For example, If user want to fetch an image from e621, this app will check the unique id at database and present local file by given path if its already been downloaded.

(There should also be a option for export or import database)

clragon commented 6 months ago

Without Database method

This would duplicate the images accross many places which I am not sure if this is optimal. However, implementing this would not be too difficult.

Database method

This is another feature, where implement a new client that works with a local database to which posts (and all other objects) can be saved, essentially representing a local image server.

This feature is very complex and while I am moving towards making such a thing possible, the ETA is very far away.

clragon commented 4 months ago

Hi @CanglanXYA, I have opened a new issue #126. Please let me know if it would solve your problem accurately. Thank you and best regards!