Scan and generate Video HLS playlists on startup

Refactored and improved video path state. Bumped versions of some dependencies.
This commit is contained in:
Cameron
2024-12-05 20:19:03 -05:00
parent 2b2a811cae
commit 0419aa2323
6 changed files with 593 additions and 62 deletions

View File

@@ -10,6 +10,7 @@ You must have `ffmpeg` installed for streaming video and generating video thumbn
- `DATABASE_URL` is a path or url to a database (currently only SQLite is tested)
- `BASE_PATH` is the root from which you want to serve images and videos
- `THUMBNAILS` is a path where generated thumbnails should be stored
- `VIDEO_PATH` is a path where HLS playlists and video parts should be stored
- `BIND_URL` is the url and port to bind to (typically your own IP address)
- `SECRET_KEY` is the *hopefully* random string to sign Tokens with
- `RUST_LOG` is one of `off, error, warn, info, debug, trace`, from least to most noisy [error is default]