qBittorrent-Ratio-Manager
qBittorrent-Ratio-Manager copied to clipboard
Feature Request: list qman that is running so can verify deletions are correct
Hi
At the moment it runs through the qman files in sequence and then deletes. Rather than (below is for verbose):
INFO:root:Checking 330 torrents for imported
INFO:root:Checking 330 torrents for imported
INFO:root:Checking 330 torrents for imported
INFO:root:Deleting following torrents from the imported category
INFO:root:torrent_x
INFO:root:torrrent_y
NFO:root:Checking 298 torrents for imported
INFO:root:Checking 298 torrents for imported
INFO:root:Checking 298 torrents for imported
Checked 330 torrents!
Deleted 2 torrents!
It'd be nice if it said:
INFO:root:Checking 330 torrents for imported
INFO:root:Deleting following torrents from the imported category
INFO:root:torrent_x from xxx.qman
INFO:root:torrrent_y from yyy.qman
INFO:root:Checking 298 torrents for imported
or something similar so if needs be you could find/correct errors quicker.
Thanks
Good suggestion, i agree it's simpler. I'll look into it when i have time
Thanks.
INFO:root: xxx.qman deleting following torrents from the imported category
Might be even simpler (for someone who can code unlike me) and cleaner
A --dryrun option would be nice to verify configurations. As a new user, I made a quick edit to ensure bad things weren't about to happen during my first run due to an improper configuration. :)
# QBitController.get("torrents/delete?hashes=" + hashes_to_delete_string + "&deleteFiles=" + delete_files_string)
print("Preview only - Not Removing/Deleting Torrents - To disable, uncomment resources/QBitController.py line 56")
I'll switch which line is commented when creating new qman files.