Laharah / deluge-FileBotTool

A plugin to integrate simple FileBot functionality into Deluge
GNU General Public License v3.0
114 stars 10 forks source link

Not Overwriting? #6

Closed jmansell90 closed 8 years ago

jmansell90 commented 8 years ago

So on many (if not almost all) torrents you have the classic text files advertising the people that made it. Well, in the renaming and moving process, nothing I do will make it overwrite or skip that file. I've tried all the "On Conflict" settings, it refuses to continue.

Laharah commented 8 years ago

I'm not quite sure I understand what you mean. Are you doing a standard rename, or are you trying to link the files, or something else?

Right now, any files that aren't renamed by filebot (which would include the extra text files) are moved to the same folder where the files are relocated to. Are you trying to remove those files? Are you getting an error message? What are you trying to accomplish?

jmansell90 commented 8 years ago

I'm trying to do a rename and move. Say I have TVShow.S01E02.avi, TVShow.S01E02.nfo, and TEAMTORRENT.COM.txt as the files downloaded. I run the FileBotTool to scrape the data from TVDB, rename the file with expression "{n}\Season {s}{sxe} - {t}", and move it to E:\TV (Where there is already a TVShow.S01E01.avi, TVShow.S01E01.nfo, and TEAMTORRENT.COM.txt from a previous torrent). "On Conflict" can be set to either skip or override, either way I will be presented with an error that it could not copy TEAMTORRENT.COM.txt because it already exists in the folder.

Laharah commented 8 years ago

ahhh, I see. For now you'll have to delete the non-media files (assuming they're not the same files you're seeding) and then do the rename.

Right now, duplicate files that aren't renamed by filebot will prevent the rename from going forward. I think I will change it so that when override is on it applies to all files, including ones not touched by filebot.

Laharah commented 8 years ago

I've updated the plugin to fix this: fbcf957b, and I added some UI to warn the user about data loss when using override conflict resolution since files can be overwritten.

test out the new build here: https://github.com/Laharah/deluge-FileBotTool/releases/tag/0.9.5

I'm gonna close this, but feel free to re-open if it's not behaving as you expect.