Jellyfin does not support federation between multiple server instances the way Plex does, unfortunately. I was working on a project to enable direct server-to-server federation but once I got into the details it became clear that it was going to be a difficult problem that would require a separate server apps combined with a plug-in for Jellyfin on each end. Even then, Jellyfin isn't made to support e.g. servers being down, except by failing to stream a file, which doesn't have a good way to convey to the user that the file is temporarily unavailable vs broken/bad
Jellyfin: The Free Software Media System
Current stable release: 10.10.7
Matrix (General Information & Help)
Matrix (Off-Topic) - Come get to know the team and blow off steam!
Matrix Space - List of all the available rooms on Matrix.
Discord - Bridged to our Matrix rooms
I don't see why what he's trying to do would be a server change. Seems like a client only change to be able to log into two servers and see the libraries together. Am I missing something?
I can see the issues you're describing if you were trying to replicate one server to another, though.
Sure, it could be done client-side in theory. In practice, the Jellyfin team consider it outside of the scope of the project, so now you're talking about building or modifying a third-party client and directing all of your servers' users to use that client. This also only works for users who have a device that can run said client.
My intention was to do it server-side in such a way that it would seamlessly work with any client
Wow, I have no idea about programming, otherwise I’d try to help you. In any case, if you manage to figure it out, you’ll have my eternal gratitude.
Is there a reason that the libraries from both servers cannot be included together under a single server?
Because they are being executed by different machines in different places without connection between the storage, one is a Synology NAS and the other a home assistant container in a Raspberry Pi, if you know how to connect the storage of those two systems in a stable and reasonably simple way it would be great too
SSHFS is pretty simple to use.
Just mount the media directory of the PI as a directory on the NAS. Then the Jellyfin instance on the NAS basically treats it as a local directory.
I've done it with Plex in the past, no reason it wouldn't also work for Jellyfin
You could probably build something like that, but I'm not aware of anything that does what you describe.