Schaka / janitorr

Cleans your Radarr, Sonarr, Jellyseerr and Jellyfin before you run out of space
GNU General Public License v3.0
263 stars 5 forks source link

Feature request: ability to remove unwatched requests (Jellystat+Jellyseerr) #54

Closed anthonymag closed 3 weeks ago

anthonymag commented 3 weeks ago

One manual cleanup I still periodically find myself doing is stuff people requested but never watched.

I'd love the ability to auto clean these after x amount of time.

Would this be possible with Jellystat combined with Jellyseerr? Alternatively, since Jellyseerr supports tagging requested content, a special deletion rule for watch count on certain tags could satisfy the same goal.

Thanks for the work on this handy tool!

Schaka commented 3 weeks ago

I don't understand what you're asking for. Have you used Janitorr?

If things never get watched, they expire and if nobody watched them Jellystat doesn't get used for expiration time - meaning download timestamp is used to too determine age.

Requests get cleaned up after the files are deleted, so your users can go and request the content again.

I don't see why there needs to be a special deletion rule.

anthonymag commented 3 weeks ago

Right so at the moment it will clean up content when disk space hits a threshold I set, and it works great. This is similar, but it would be a special treatment of requested content since it would help proactively avoid getting to that space threshold. It can also help to encourage Jellyseerr users to watch what they request in my case.

Schaka commented 3 weeks ago

Then just run it with disk space set to 100%.

I don't see the need for this feature at all. You can even use the tag based cleanup for that specifically.

anthonymag commented 3 weeks ago

Interesting. I'll try that out. Thanks!