• alphafalcon@feddit.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    7 months ago

    JellyFed(eration) would be awesome. It should use an anonymous overlay network so federation is not limited to people you trust in copyright-zealous jurisdictions.

    • silmarine@feddit.de
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 months ago

      JellyFed over i2p would be amazing. I didn’t even know I wanted this until now.

    • entropicdrift@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 months ago

      I’ve been slowly working on exactly this sort of project.

      The general idea is a federation server that acts as a sort of “dummy” client that queries your local Jellyfin server, indexes its contents and updates on a set schedule. When you point a federation server at another federation server, they exchange libraries and perform deduping based on TVDB/TMDB/IMDB IDs. Then, your federation server adds whatever shows/seasons/episodes and films to your server that are present in the other server by using .strm files, which just contain a link to an endpoint on your own federation server that will have it request the content from the remote federation server, which logs in and grabs the stream link from its Jellyfin server and forwards that link back to your federation server, which passes it back to your Jellyfin server.

      If the remote server only knows another remote server that has the content, you’ll get redirected till you get the stream link. I’m thinking each server your federation server “meets” should tell you how many redirects (hops) away any given piece of content is from itself, so 0 means “I have it” 1 means “I know a guy”, 2 means “I know a guy who knows a guy”, etc.

      That’s the general design so far. I just need more free time to actually implement it and write a decent test suite so I can iterate on it without fear of breaking anything.

      I’m calling it MeShare because it’ll create a mesh network of Jellyfin servers and maybe eventually Emby and Plex too.

      Further down the line I’d love to integrate it as a searchable source for Sonarr/Radarr, just download content from people directly instead of torrenting.

      If someone else wants to steal the idea and run with it, they have my blessing and I’d be happy to contribute.

      • alphafalcon@feddit.de
        link
        fedilink
        English
        arrow-up
        0
        ·
        7 months ago

        Wow, that sounds like a decent start for an architecture.

        I’m tempted to spin up a few Jellyfin instances to see how it might work…