Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support additional media servers #4

Open
xstar97 opened this issue Apr 8, 2023 · 9 comments
Open

Support additional media servers #4

xstar97 opened this issue Apr 8, 2023 · 9 comments

Comments

@xstar97
Copy link
Contributor

xstar97 commented Apr 8, 2023

Any possibility on supporting plex and other various media servers?

@Dan6erbond
Copy link
Owner

Dan6erbond commented Apr 8, 2023

It should be possible, yes.

Log-in/user creation is very simple to augment with additional methods, such as loginWithPlex() and loginWithEmby() as well as generic implementations like loginWithOauth2() but other things like syncing watchlists, media availability will require a more complex data schema and separate workers to handle these tasks.

I'm not saying it's impossible. It should be trivial from an implementation perspective with a solid base. Jolt's entire backend uses services to abstract these things and it can be done. But since I only run a Jellyfin server it would require the community to help with these things. But I'm open to it!

@xstar97
Copy link
Contributor Author

xstar97 commented Apr 8, 2023

I run plex exclusively 😅, i have some background in rest api and backend developement.
I may look into it, very cool project btw.

@Dan6erbond
Copy link
Owner

Would be very cool! I'm not opinionated on which media servers Jolt supports, as long as Jellyfin is a first-class citizen. 😅

@xstar97
Copy link
Contributor Author

xstar97 commented Apr 9, 2023

Would be very cool! I'm not opinionated on which media servers Jolt supports, as long as Jellyfin is a first-class citizen. 😅

i have no-issue with that 😅

@trevor68
Copy link

trevor68 commented Apr 9, 2023

I presume it will work with Emby right now?

@Dan6erbond
Copy link
Owner

Honestly, I have no idea. If Jellyfin's and Emby's login APIs and user data endpoints work the same, then probably yes. But I'd prefer if contributors just copied the Jellyfin endpoints and implemented Emby specific DB functionality so the UI can also display those correctly.

@trevor68
Copy link

Sorry, I'm not a dev, just a long time Emby user, given Jellyfin is a fork I just presumed it might work.

@kodxana
Copy link

kodxana commented Apr 11, 2023

+1 for Plex. Most of my friends prefer it. Tried to use Jellyfin but not worked well.

@Dan6erbond
Copy link
Owner

So I'm working on a concept for authentication and media server entries that would allow Jolt to support any service as an authentication source as well as map those to media servers, but it will require some refactoring and updates to the configuration system.

The idea being, that admins can configure authentication sources as a separate key in the configuration, including LDAP, OAuth2, Jellyfin, etc. and those authentication sources are used as "profile connections" similar to how Discord maps your account to various social providers.

With those connections, workers can be spun up, that scan through the connections' media, and sync them with Jolt's server. This includes syncing watch status, availability, and later on using it to cut clips which will probably require Jolt to have Jellyfin API keys, so it isn't bound to using user tokens to fetch items from Jellyfin.

To follow the progress of this work I created #16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants