Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove torrent with data only removed .mkv file, not .eng.srt file #49

Open
joshuabosco opened this issue Mar 29, 2019 · 1 comment
Open

Comments

@joshuabosco
Copy link

As per title - the feature worked fine, check every five minutes, the minimum seed, etc - the thing I've noticed though is that it only deletes the .mkv/.mp4 file and leaves everything else behind in the original folder.

Is this the expected behaviour?

@shadycuz
Copy link

shadycuz commented Apr 7, 2019

@joshuabosco This plugin doesn't actually remove the files from the disk. It just tells Deluge to do it.

def remove_torrent(self, torrentmanager, tid, remove_data):
try:
torrentmanager.remove(tid, remove_data=remove_data)
except Exception, e:
log.warn(
"AutoRemovePlus: Problems removing torrent: %s", e
)
try:
del self.torrent_states.config[tid]
except KeyError:
return False
else:
return True

This is probably an issue with Deluge and not this plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants