• CaptainBasculin@lemmy.ml
    link
    fedilink
    English
    arrow-up
    64
    ·
    9 months ago

    Interlinked Jellyfin Instances that you can access if you’re hosting a server, similar to fediverse. Gather all interlinked libraries in a single frontend for the user so they can have a massive library available for them for all sorts of media.

    • alphafalcon@feddit.de
      link
      fedilink
      English
      arrow-up
      28
      ·
      9 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
        27
        ·
        9 months ago

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

        • CAVOK@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          9 months ago

          With some filters so that you can specify file type, quality, etc…

          Then I could share my aquarium videos with the world, anonymously and easily.

      • entropicdrift@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        5
        ·
        9 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
          3
          ·
          9 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…

    • sebinspace@lemmy.world
      link
      fedilink
      English
      arrow-up
      22
      ·
      edit-2
      9 months ago

      Also eliminate duplicates. Don’t need to see a everyone’s individual copies of Iron Man, just show me one, then pick from the host that has the lowest latency and highest quality.

      Edit: don’t even worry about latency if it’s not live

      • CaptainBasculin@lemmy.ml
        link
        fedilink
        English
        arrow-up
        4
        ·
        9 months ago

        If there is high demand for certain titles, duplicates could help avoiding overloading a single server; but making sure we dont end up with more copies than the demand is definitely important.

        • sebinspace@lemmy.world
          link
          fedilink
          English
          arrow-up
          10
          ·
          9 months ago

          More copies is good, I just don’t want to see duplicates in the UI. Show me what movies are available, but just stream whatever copy has the highest quality.

      • kib48@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        ·
        9 months ago

        I wouldn’t mind duplicates but they should be consolidated under one listing with a dropdown to switch between them