this post was submitted on 01 Aug 2024
790 points (96.3% liked)
Greentext
4494 readers
1533 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:
- Anon is often crazy.
- Anon is often depressed.
- Anon frequently shares thoughts that are immature, offensive, or incomprehensible.
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
view the rest of the comments
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.