this post was submitted on 01 Aug 2024
785 points (96.2% liked)

Greentext

4460 readers
889 users here now

This is a place to share greentexts and witness the confounding life of Anon. If you're new to the Greentext community, think of it as a sort of zoo with Anon as the main attraction.

Be warned:

If you find yourself getting angry (or god forbid, agreeing) with something Anon has said, you might be doing it wrong.

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] user224@lemmy.sdf.org 13 points 3 months ago* (last edited 3 months ago) (3 children)

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.

[–] thanks_shakey_snake@lemmy.ca 10 points 3 months ago

That's absolutely ridiculous. I'm into it.

[–] ricecake@sh.itjust.works 8 points 3 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 1 points 3 months ago (1 children)

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.

[–] user224@lemmy.sdf.org 1 points 3 months ago (1 children)
[–] tan00k@lemmy.world 1 points 3 months ago (1 children)

You always finish an entire TV series?

[–] user224@lemmy.sdf.org 1 points 3 months ago

Not a series, but then yes, I remember where I ended. Or I can just write it on a note if the series is still being made and it will take some time.