Skip to content

Conversation

@sct
Copy link
Owner

@sct sct commented Sep 12, 2022

Description

This is the first step to opening up Overseerr to allow other media server integrations. Previously, Overseerr required signing in with a Plex account to get it configured. You can now create a local account instead of using Plex. If a local account is used, you will need to connect your Plex account still to use the Plex Media Server features.

Screenshot (if UI-related)

image
image

To-Dos

  • Decouple plex from the setup process
  • Remove UserType from users (opens possibility for multiple user types per user)
  • Add option to link/unlink Plex account from user settings (instead of only while logging in)
  • Allow changing emails
  • Disable Plex login when owner account does not have plex configured
  • Do not allow new plex connections to accounts if owner account unlinks plex
  • Force local login to be enabled if there is no plex connected
  • Update cypress tests
  • Successful build yarn build
  • Translation keys yarn i18n:extract
  • Database migration (if required)

This was referenced Sep 12, 2022
@sct sct force-pushed the feature/plex-decouple branch from 0f30ece to a231eba Compare September 12, 2022 02:43
@lgtm-com
Copy link

lgtm-com bot commented Sep 12, 2022

This pull request introduces 1 alert when merging a231eba into 30141f7 - view on LGTM.com

new alerts:

  • 1 for Useless conditional

@cypress
Copy link

cypress bot commented Sep 12, 2022

overseerr    Run #2653

Run Properties:  status check passed Passed #2653  •  git commit 37a1efb229: feat: decouple Plex as a requirement for setting up/using Overseerr
Project overseerr
Branch Review refs/pull/3015/merge
Run status status check passed Passed #2653
Run duration 03m 22s
Commit git commit 37a1efb229: feat: decouple Plex as a requirement for setting up/using Overseerr
Committer Ryan Cohen
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 1
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 28
View all changes introduced in this branch ↗︎

@stale
Copy link

stale bot commented Nov 13, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 13, 2022
@stale stale bot closed this Nov 22, 2022
@sct sct reopened this Nov 24, 2022
@stale stale bot removed the stale label Nov 24, 2022
@sct
Copy link
Owner Author

sct commented Dec 29, 2022

For those who have patiently been waiting for this, it's still in progress! I am trying to sneak in time to get this done this new year's vacation. It's super close, so please wait just a little bit longer! 🙏

@DimitriDR
Copy link

I'm looking forward for this 🎉

@sypion
Copy link

sypion commented Feb 4, 2023

Hey @sct! Just checking in and seeing how this is going. This is the final piece of the puzzle for me. Hope you've had a wonderful New Year's vacation!

@sct
Copy link
Owner Author

sct commented Feb 4, 2023

Hey @sct! Just checking in and seeing how this is going. This is the final piece of the puzzle for me. Hope you've had a wonderful New Year's vacation!

We are still working on it!

@brettp
Copy link

brettp commented Feb 4, 2023

Is there a way to help, and most importantly, what is the estimated release date?

That's crucial information because a very viable and full featured release already exists with Jellyseerr, so if there isn't a near term road map folks will want to use that instead. Are you working with the Jellyseerr developers to pull in their improvements?

If the release date is significantly distant, it'd make sense to focus on a migration path for Jellyseerr, as well as to double down on collaboration with the devs of that project.

Please let us know the best way to collaborate to get this feature released.

@sct
Copy link
Owner Author

sct commented Feb 4, 2023

Is there a way to help, and most importantly, what is the estimated release date?

That's crucial information because a very viable and full featured release already exists with Jellyseerr, so if there isn't a near term road map folks will want to use that instead. Are you working with the Jellyseerr developers to pull in their improvements?

If the release date is significantly distant, it'd make sense to focus on a migration path for Jellyseerr, as well as to double down on collaboration with the devs of that project.

Please let us know the best way to collaborate to get this feature released.

We don't provide ETAs. We spare whatever free time we have and that's the best I can tell you in terms of delivery time.

I am aware of Jellyseerr. That's the beauty of open source. We also now have an internal roadmap with Jellyseerr devs we are referencing to get Jellyfin support back ported to Overseerr once this is merged.

I know people are waiting for this. It's close. Just hang on a bit longer.

@stale

This comment was marked as resolved.

@CEbbinghaus
Copy link

Can't wait for this to be merged. I assume this is purely a structural change to allow for jellyfin/emby but doesn't directly add them?

@tobz
Copy link

tobz commented Jun 23, 2023

Has there been any movement here?

I have still have #3105 open which was tacitly waiting on this work to shake out, but it's not clear to me if this work has stalled entirely or what.

@sct sct force-pushed the feature/plex-decouple branch from b9f5c0c to 9891df2 Compare March 28, 2025 02:09
@sct sct marked this pull request as ready for review March 28, 2025 04:18
Copy link
Collaborator

@OwsleyJr OwsleyJr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we keep the play on plex deep link even if plex is disconnected? Same probably goes for the import plex users button.

Copy link
Collaborator

@OwsleyJr OwsleyJr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also probably want to disable any Plex related jobs if Plex is disconnected.

Copy link
Collaborator

@TheCatLady TheCatLady left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quickly looked through the changes and don't see any obvious issues, so I'm just nitpicking here 🐱

I'm still kinda jetlagged though, so I'll look over everything again and do some testing in the next couple days 😸

It'll be great to have these changes finally merged! 🎉

@danshilm
Copy link
Collaborator

danshilm commented Apr 17, 2025

I've been playing with an instance without Plex configured, and I think we should not have the jobs that are related to Plex registered to be ran. Having logs referring to Plex (or any other media server really), despite not having a Plex server configured isn't a good experience, and also seems easily preventable by not registering them in the first place.

That would also give us the added benefit of not having those jobs in the UI neither, while the endpoints related to jobs would not have to be changed.

One downside would be having to re-trigger the start of the jobs once a media server is configured in the setup, but I think that should be fine?

type="checkbox"
id="localLogin"
name="localLogin"
disabled={!currentSettings.plexLoginEnabled}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the "Enable New Plex Sign-In" setting below, I think we should only show/allow changing that setting if a plex server is configured

@danshilm
Copy link
Collaborator

Without a Plex server configured, we should remove the "Import Plex Users" button from the UI on the users list page - especially since the modal only brings up "There are no Plex users to import" while the server doesn't have an admin user token to use to authenticate to the plex API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.