[Autoadd] Better duplicate magnet link handling
Posted: Mon May 25, 2020 4:40 pm
For the longest time, I'd been ending up with a whole lot of *.invalid files with magnet links in my watch folder for Deluge's AutoAdd plugin (usually created by Jackett).
I could manually copy the magnet URL from an .invalid file, paste it into Deluge's add field and it would parse the link just fine, so it's not (as far as I can tell) due to malformed links.
What I think is happening is that if the AutoAdd plugin tries to add a file with a magnet link that already exists in the queue, it marks the file as .invalid.
Ideally, it should either delete the file or treat it as 'successfully added' and rename it accordingly.
I could manually copy the magnet URL from an .invalid file, paste it into Deluge's add field and it would parse the link just fine, so it's not (as far as I can tell) due to malformed links.
What I think is happening is that if the AutoAdd plugin tries to add a file with a magnet link that already exists in the queue, it marks the file as .invalid.
Ideally, it should either delete the file or treat it as 'successfully added' and rename it accordingly.