Skip to content

Enhancement - filemode that handles original filenames that don't exist #43

@xaeiougit

Description

@xaeiougit

Hi,

I'd like to suggest an enhancement, a filemode called, say, "new", that makes it easier to deal with season packs and/or do cross-seeding (seed the same torrents on multiple sites) when you are adding new torrent files.

Let's say for example there is a currently playing season of 26 episodes which you are downloading every week.

You define a Format Expression, something like "{s00e00} {t.colon(' - ')}" to get rid of any scene tags etc and start saving those files according to this format.

At the end of a season, the individual episode torrents are typically deleted from the server and a season pack/batch torrent is released. You want to continue to seed the whole season without re-downloading everything, so you add this batch torrent in the paused state, and want to point it at your previously downloaded but already re-named episodes.

The logic for "new" filemode would be:

"Update the filename in state/torrents.fastresume according to the Format Expression"

So in this mode FileBotTool would perform the same operation as manually going to the "Files" tab for the season pack/batch torrent in the lower window of deluge and renaming all the files one by one.

Currently if you try to do this with FileBotTool is will fail because it can't find the old filename. I've played around with the current "filemode" and "on conflict" options and can't seem to find a workflow to easily accomplish this without having a lot of symlinks around.

After running filebottool in this mode, the user would simply "recheck" this new batch torrent and un-pause to start seeding.

Not only would this be useful for handling season packs, but also if you want to cross-seed a batch torrent on multiple torrent sites in cases where the uploader has already renamed all the files according to their own taste. The only way to do this currently is to painstakingly rename the files one-by-one when you add the batch torrent. Or you could use a plugin like "batch renamer" but this doesn't have all the nice hooks into TVDB etc.

Sorry if there is a workflow that already accomplishes this, but I did play around quite a bit and couldn't find a simple way to do it.

EDIT - I understand with the way this plugin depends on FileBot, doing this in FileBotTool may not be possible. But I thought I'd ask anyway :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions