overseerr icon indicating copy to clipboard operation
overseerr copied to clipboard

Automated expiration & delete of media

Open aniqueta opened this issue 1 year ago • 18 comments

Description

I'd like to suggest the idea of functionality to set an expiration date and automatically work with Sonarr or Radarr to delete content. The use case is when a user requests media that the server administrator wants to offer but does not want to retain long-term in what is ultimately their personal library, either due to storage space limitations or due to how the admin wishes to curate the library.

A quick search here did not turn up anything like this, so perhaps there is no demand for this, or perhaps it's a cool new idea once people hear about it. :) It seems in the spirit of the name "Overseerr" for the app to oversee the media library in this way.

Desired Behavior

There are global settings to define a default expiration policy (which I assume would be "never delete" for most).

When an administrator approves a request, there is an expiration policy field, already populated with the default. The administrator could change the expiration based on preference.

(To be more more sophisticated, there could also be functionality exposed to the requester to propose an expiration, assuming they already know they just want to check out some media temporarily. This could be opt-in by the admin in the global configuration.)

Overseerr tracks when media becomes available, as it does already I believe. Then when running maintenance, it checks whether the duration of media availability matches expiration. If yes, then it connects with Sonarr or Radarr to delete the content and switch it to unmonitored (instead of deleting completely, to preserve history). At the same time, Overseerr then resets the media as unavailable and unrequested (or something like that), so that a future user could request it again.

(To be more sophisticated, there could also be a overall view available to the admin for all media set to expire, so that they could make changes to expiration policy afterward.)

Edit: There could also be notifications for users who have requested certain media to be alerted when expiration is nearing.

And building off the existing Tautulli integration, in theory, there could be a check if the requester has watched the content or not. If they have, then the expiration notice could be skipped. Although, I don't know if this is reliable enough.

Additional Context

Hope this is an interesting feature request, and I'm curious to hear what the devs & community think.

Code of Conduct

  • [X] I agree to follow Overseerr's Code of Conduct

aniqueta avatar Mar 12 '23 09:03 aniqueta