Jellyswarrm - reverse proxy all your Jellyfin servers from a single interface, presenting as a standard Jellyfin server, clients should work out of the box.
from kiol@lemmy.world to selfhosted@lemmy.world on 24 Aug 02:10
https://lemmy.world/post/34887246

Seems this just released 10 hours. Was mentioned in this other thread, but figured it was worth granting it’s own topic. Very Cool! I’m not the dev, but this is awesome. Was originally posted to Reddit here.

Oh wow, repo is github.com/LLukas22/Jellyswarrm

Jellyswarrm is a reverse proxy that lets you combine multiple Jellyfin servers into one place. If you’ve got libraries spread across different locations or just want everything together, Jellyswarrm makes it easy to access all your media from a single interface.

Working

⚠️ In Progress

🚫 Not Planned

#selfhosted

threaded - newest

guynamedzero@lemmy.dbzer0.com on 24 Aug 02:37 next collapse

Dude I just saw a post where someone was asking if something like this existed

kiol@lemmy.world on 24 Aug 02:45 collapse

Yep, this was mentioned in that thread and it is so impressive it deserves a dedicated topic to promote itself. Seems it has only existed for a few hours!

curbstickle@lemmy.dbzer0.com on 24 Aug 02:49 next collapse

Thats wildly cool… I’m checking it out tomorrow!

Cris_Color@lemmy.world on 24 Aug 03:05 next collapse

I don’t use jellyfin but these seems cool as fuck…

thagoat@lemmy.dbzer0.com on 24 Aug 03:16 next collapse

Thanks! Giving this a go tonight

BlueEther@no.lastname.nz on 24 Aug 03:29 next collapse

/me needs friends 😪

Cyber@feddit.uk on 24 Aug 06:39 collapse

🤗

avidamoeba@lemmy.ca on 24 Aug 03:36 next collapse

I feel like this problem should be solved via some form of federation within Jellyfin, but if Jellyswarm works well enough… I’m not gonna make a fuss.

kiol@lemmy.world on 24 Aug 04:13 collapse

Apparently someone else released a Federation plugin 11 months ago. And looking at the feature request on Jellyfin end

xnx@slrpnk.net on 24 Aug 05:07 collapse

Has this been tested?

kiol@lemmy.world on 24 Aug 22:28 collapse

Good question. Asked the developer, so feel free to chime in: github.com/Angablade/…/1#issuecomment-3217864250

sudo@programming.dev on 24 Aug 04:01 next collapse

I always thought this would make more sense to implement client side in the media player. But its probably easier to implement this way.

sudo@programming.dev on 24 Aug 04:12 next collapse

Automatic Mapping

If a user already exists on one or more connected servers, they can log in directly with their existing Jellyfin credentials. Jellyswarrm will automatically create a local user and set up the necessary server mappings.

If the same username and password exist on multiple servers, Jellyswarrm will link those accounts together automatically. This provides a smooth experience, giving the user unified access to all linked servers.

Really should audit the implementation of that feature. So when you first log in it automatically sends you’re credentials to every connected server?

princessnorah@lemmy.blahaj.zone on 24 Aug 04:52 next collapse

I would assume it’s a hash but yes, it needs an audit.

kate@lemmy.uhhoh.com on 24 Aug 14:20 collapse

to send a hash only, you’d need a modified jellyfin server that can accept a given hash for auth in place of the password. since this project doesn’t require a modified jellyfin server, it does in fact send the password directly, as seen here github.com/LLukas22/Jellyswarrm/blob/…/users.rs#L…

exu@feditown.com on 24 Aug 08:28 collapse

I’d assume you need an admin account for every server and it uses that to create the users.

athairmor@lemmy.world on 24 Aug 14:14 collapse

Jellyswarm doesn’t create users or accounts. You give your existing Jellyfin credentials for the servers where you already have an account.

Grandwolf319@sh.itjust.works on 24 Aug 04:12 next collapse

Holy shit, sounds like this would enable people to have a community in which m every person has a Jellyfin and they each use all of them.

One person could specialize in documentaries and another in shows.

Combined, it would mean a huuuge library.

I wonder how high demand content would work. As in, if a TV show is watched a lot, could it be saved in multiple servers and the swarrm figure out who streams from what to balance demand?

kiol@lemmy.world on 24 Aug 04:22 next collapse

Keep in mind this isn’t federation. It is a way to access multiple independent servers via reverse proxy.

Revan343@lemmy.ca on 24 Aug 04:29 collapse

Yes, but a group of friends could use it to set up a group Jellyfin, sharing their libraries

xnx@slrpnk.net on 24 Aug 05:07 collapse

How would each person contribute to it?

Revan343@lemmy.ca on 24 Aug 05:24 collapse

By ripping their legally bought DVDs, surely :P

xnx@slrpnk.net on 24 Aug 05:37 collapse

I mean how would they upload their files to the server

BlueEther@no.lastname.nz on 24 Aug 05:56 next collapse

um, they don’t

Each run their own jellyfin server and I guess their own jellyswarrm to access al of their friend’s servers? - Not read the docs though

KairuByte@lemmy.dbzer0.com on 24 Aug 05:57 next collapse

It’s their own server, so they’d just… upload it.

kiol@lemmy.world on 24 Aug 06:01 collapse

Jellyfin plays the media. It doesn’t make/produce/edit or upload the media. Think of it as DIY Netflix service

magguzu@lemmy.ml on 24 Aug 14:39 collapse

It seems like the libraries are server specific. So it’ll probably just be saved to whichever server owns the library you’re using.

kiol@lemmy.world on 24 Aug 04:20 next collapse

Here are some thoughts from Jellyfin-offtopic:

  • I wouldn’t trust it especially with the new DB coming out. No way Jellyfin’s own DB supports multiple servers. It would be up to the tool to keep track of everything. And I’m assuming only one person is supposed to run that thing on multiple servers.
  • How would this work when multiple people want to connect to others at the same time?
illusionist@lemmy.zip on 24 Aug 05:41 next collapse

How does it handle duplicate entries? How does it define duplicates?

FauxLiving@lemmy.world on 24 Aug 13:36 collapse

Maybe each server shows up as a library. Like “Server 1 - Movies”

Kind of annoying but less so than swapping servers and search should work

illusionist@lemmy.zip on 24 Aug 13:50 collapse

You’re right! You can see that in the screenshots. Thx!

FauxLiving@lemmy.world on 24 Aug 13:58 collapse

I was just guessing (it’s how I’d do it) 🥳

comrade_twisty@feddit.org on 24 Aug 08:37 next collapse

Nice, this might finally allow me to have an English, German and French Library without having conflicts all the time.

N0x0n@lemmy.ml on 24 Aug 13:21 next collapse

You can already do that (somehow) with tags and libraries. There’s a plugin for that.

But yeah this looks less complicated to setup and maintain !

kiol@lemmy.world on 24 Aug 15:22 collapse

What sort of conflicts?

comrade_twisty@feddit.org on 24 Aug 16:55 collapse

I constantly have issues with Sonarr or Radarr overwriting French originals with horribly dubbed versions because I have English as the default language, same for German originals.

I would just love a way that would always prefer the original language if it’s one of the languages I speak - but that’s currently not possible.

CmdrShepard49@sh.itjust.works on 24 Aug 19:01 collapse

I set Radarr/Sonarr to download original language and just bite the bullet with subtitles as I’ve found very few dubs that aren’t completely atrocious.

fmstrat@lemmy.nowsci.com on 24 Aug 10:50 next collapse

I bet this could be used to load balance regional servers with a bit of tweaking. (I made Plex-sync a long time ago for a similar purpose)

quick_snail@feddit.nl on 24 Aug 21:34 next collapse

Well that sounds like a security nightmare

kiol@lemmy.world on 24 Aug 21:51 collapse

Haha, you certainly don’t have to host it at a public url over http.

quick_snail@feddit.nl on 25 Aug 03:01 collapse

Wait till you learn how many security vulns jellyfin has, and that you can’t put it behind basic auth due to further outstanding bugs

kiol@lemmy.world on 25 Aug 17:53 next collapse

Presuming jellyfin would actually be on the public internet?

keepee@lemmy.world on 26 Aug 01:47 collapse

Which bugs?

kiol@lemmy.world on 26 Aug 21:07 collapse

Made a short podcast episode to highlight Jellyswarrm. Hope you enjoy podcast.james.network/…/happy-birthday-linux