ManiMatter / decluttarr

Watches radarr, sonarr, lidarr, readarr and whisparr download queues and removes downloads if they become stalled or no longer needed.
GNU General Public License v3.0
99 stars 15 forks source link

Whisparr Addition Completes #111 #113

Closed pops64 closed 1 month ago

pops64 commented 1 month ago

Works without errors. Ran test all day yesterday

pops64 commented 1 month ago

I will try testing it. Unfortunately my indexers for torrents are currently broken

pops64 commented 1 month ago

Tested it. I had to force it with a capped bandwidth and up the time check interval. Because I couldn't find a slow torrent go figure. I had a torrent downloading and unmonitored it before I made theses changes. Upon rebuilding the container it did a check and saw my active torrent as unmonitored and removed the torrent. Now what it wouldn't do is remove a seeding torrent that got unmonitored. Not sure if your script is programed to handle this.

ManiMatter commented 1 month ago

If you have a download in the queue that belongs to a movie/series that has been deleted in the meantime from whisparr it should be removed.

so add a new movie in whisparr, request a download for it, and then delete the movie. The script should then remove the download (orphan download)

pops64 commented 1 month ago

I think we posted at the same time :P the unmonitored job worked just fine. And it did not blocklist the file

[INFO]: LOG_LEVEL = INFO: Only logging changes (switch to VERBOSE for more info)
[INFO]: >>> Removing unmonitored download: *******
ManiMatter commented 1 month ago

Try the orphan one pls

pops64 commented 1 month ago

[INFO]: >>> Removing orphan download: ****** Works

ManiMatter commented 1 month ago

Thx for testing and the code contribution, will merge now to latest