petio-team / petio

Petio Request, Discover, Review
https://petio.tv
MIT License
251 stars 27 forks source link

Request for the removal of content from Plex #687

Open perrottg opened 2 years ago

perrottg commented 2 years ago

Is your feature request related to a problem? Please describe. There is a lot of movies in the Plex library that we will never watch again but there is no easy way to do this as it needs agreement between myself and my partner. God forbid if I remove a movie that I didn't like that my partner wold like to watch again.

I don't have delete content enabled in Plex as I don't want others in the family deleting content without my approval. We don't usually switch the user in the Plex client so nearly all content is watched under the one user account. We also use the Infuse client in preference to the Plex client and that doesn't support Plex user switching anyway.

Describe the solution you'd like

  1. User browses for the movie that they would like removed.
  2. User selects option to request removal of the movie or TV series.
  3. Removal request appears in request list for other moderators.
  4. Other moderator approves or rejects the request with the ability to provide a comment. *
  5. Petio automatically removes the movie/tv series (if request approved).
  6. Use who requested the removal is notified of the outcome (approved/rejected).

Describe alternatives you've considered At the moment we are using the Petio report an issue feature but the above suggestion would provide a better experience.

Additional context Add any other context or screenshots about the feature request here.

angrycuban13 commented 2 years ago

Petio does not do any file management and in my opinion that seems outside the scope of this project. However, as I'm not heavily involved with the code base I will let one of the devs ultimately decide on this feature request.

If Plex supports media removal via API, that might be one way to accomplish this. To be clear, Petio will never touch your files in the way you'd expect in Step 5.

The other alternative would be to send the removal request via API to Sonarr/Radarr since these are actual file management applications but this could also limit the scope of this feature.

perrottg commented 2 years ago

I agree with the comment regarding file management. The expectations is that Petio would call into the Plex API (assuming the delete function is exposed) to remove the content.

Using Sonarr/Radarr as an alternative is a great fallback idea. Maybe even better as it wouldn't be reliant on enabling the delete function is Plex, which the Plex API function may be dependant on.

marchershey commented 2 years ago

Thankfully Radarr's and Sonarr's API would make this extremely easy to implement.

As long as you have Plex as a connection on both Raddar and Sonarr, Plex would get notified when the media was deleted so there's no issues with sync.

Radarr API & Sonarr API

AshDyson commented 2 years ago

Yes, this is an interesting one, everything we do with Petio is non-destructive currently. It's a bold move to start allowing actions to trigger media deletion so it's something we'll have to carefully consider / implement. But yes either way we would use Sonarr / Radarr to manage the deletion, we treat the Plex connection as ready only (with some minor exceptions).