RaccoonyWebEx icon indicating copy to clipboard operation
RaccoonyWebEx copied to clipboard

Allow user to pick what action to do in the case of a filename conflict

Open KamillaPup opened this issue 3 years ago • 4 comments

Is your feature request related to a problem? Please describe. When I download an InkBunny submission with multiple files, it only downloads the first page. If I switch to the second page and save it, it overwrites the previous save.

Describe the solution you'd like When clicking on download on an InkBunny submission with multiple pages/files, all files should download with title-1.jpg, title-2.jpg, title-3.jpg, etc. This is how Pixiv downloaders work.

Describe alternatives you've considered I can also just have it rename the file if I go to each page individually and click download.

KamillaPup avatar Mar 02 '21 07:03 KamillaPup

By default, the IB plugin should be giving a unique filename for each page; I just tested it with a multi-page submission and I get one download per page, without overwriting the previous file.

Due to the way Raccoony works, it can only download the submission for the page you're currently viewing, unfortunately.

Have you changed the Download path setting at all?

If you don't mind sharing, can you point me to a submission where you see this behavior? (Or you can send the link privately if you prefer, my email is simon.tesla [at] thornvalley.com)

Simon-Tesla avatar Mar 02 '21 07:03 Simon-Tesla

It might be worthwhile, apart from the bug, to figure out how much effort it would take to support a download-all functionality for IB; since the metadata for each picture is the same the main thing would be whether we could scrape or construct the URL for downloading the images for the other pages. If we need to make more network requests, that might be a non-starter, though.

Main reason I've resisted having a download-all function is because IB is currently the only site currently supported with multiple images in a submission, but adding support for multi-image downloading would likely be useful for other sites like pixiv, twitter or mastodon as well.

Simon-Tesla avatar Mar 02 '21 07:03 Simon-Tesla

Sorry for lack of response! Here's an example https://inkbunny.net/s/2479461 The reason is probably because I don't save by filename. Here is my mask: raccoony/{author}@{title}.{extension}

KamillaPup avatar Jul 11 '21 04:07 KamillaPup

Hm... I could make an option where the filename conflict action is "uniquify" instead of "overwrite" which is what it's currently set to. Raccoony assumes a filename pattern that contains enough information to make them unique at present, so that's probably the best workaround until I add that feature.

Simon-Tesla avatar Sep 06 '21 01:09 Simon-Tesla