sct / overseerr

Request management and media discovery tool for the Plex ecosystem
https://overseerr.dev
MIT License
3.76k stars 437 forks source link

Sync issues directly from Plex #2897

Open tdeverx opened 2 years ago

tdeverx commented 2 years ago

Description

Plex have just introduced a first party way to submit issues for movies/shows and it would be super cool if Overseerr could automatically fetch them and process them here.

Desired Behavior

Detect issues submitted on Plex and add them to Overseerr's issues

Additional Context

https://forums.plex.tv/t/discover-together-beta-announcement-feedback/800886

Code of Conduct

sct commented 2 years ago

This would be really cool. How do you envision the behavior for this? An issue is created on Plex, and we create one in Overseerr for the user? It won't be kept in sync beyond that though, I imagine?

tdeverx commented 2 years ago

Well as it stands, the ability to do this is still pretty barebones on Plex. For example, theres still no way to filter to see just issues or a way to remove them and I also have no idea if this is going to be exposed to the API 😅

But if all goes well, I would assume each activity would have a unique id on Plex that you could link to issues on Overseerr? Or maybe you could use the time it was posted down to the second as a way to cross-reference the exact issue? Obviously there wouldn't be a way to have a sync between already existing issues but (to me) the best implementation would be as follows:

  1. User creates issue on Plex
  2. An Overseerr sync job picks up issue (30/60 min?)**
  3. Overseerr creates issue linked to the Plex user and Activity

** That same Overseerr sync job could identify missing issues on Plex and remove them from Overseer / mark them as resolved?

Possible Step?

  1. Marking issue as resolved on Overseerr creates comment on Plex issue saying "This issue has now been fixed 🎉 "