• u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    19
    ·
    edit-2
    4 months ago

    I prefer NGINX with autoindex. Lightweight, no JavaScript, looks like every Linux ISO mirror, filenames already have all the required info, can be quickly searched with CTRL+F, fits perfectly to my laziness.

    If you want some improvement, you can use FancyIndex module.

    But the files need to be in codecs supported by your browser(s). I prefer AV1+Opus in WebM container which have been supported by Firefox for a while. At this point it’s really only Safari not fully supporting AV1 because it relies on hardware decoding and Apple wants you to buy new hardware.

    • ricecake@sh.itjust.works
      link
      fedilink
      arrow-up
      8
      ·
      4 months ago

      The biggest issue with that is it requires all of your media to be in a flat folder for search to work right.

      Auto index has a mode to return results in json. With a touch of html and js you can make a page that will crawl the directory tree and build a simple searchable cache of name to path, and then you can play it from there. It ends up making a request per folder, but in realistic terms it’s not gonna be enough to actually be noticable.

      You can then use something like this on a cron to convert anything your browser can’t play and you’re pretty close to a minimalist media server with only static files.
      The one I used to use was just a bash script so I didn’t have to wrangle python modules, but I can’t seem to find it.

      I ended up dropping it when I bought a nas with all that stuff built in and it generally made my life easier. Worth the money if you can afford it.

    • tan00k@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      Do you just remember where you are in every show (or movie that you only partway watched)? That’s the biggest appeal of jellyfin/plex to me, so I can go in and continue from where I left off without keeping track.