feat: import library from media root and stream tracks

Add a filesystem scanner that ingests supported audio files from MEDIA_ROOT into SQLite using embedded tags with filename fallbacks. Wire startup scanning, manual rescan, and authenticated audio streaming into the backend, then connect the web player to the real stream endpoint.
This commit is contained in:
2026-04-02 22:29:04 +03:00
parent e6a8d9411e
commit 46c2c3fb28
10 changed files with 468 additions and 5 deletions

1
go.mod
View File

@@ -3,6 +3,7 @@ module github.com/benya/temporserv
go 1.25.0
require (
github.com/dhowden/tag v0.0.0-20240417053706-3d75831295e8
github.com/go-chi/chi/v5 v5.2.1
golang.org/x/crypto v0.43.0
modernc.org/sqlite v1.39.1