Subsonic: media retrieval endpoints (stream, download, getCoverArt, getLyrics, getAvatar, hls, getCaptions) with real transcoding, embedded lyrics extraction, and folder permission enforcement
This commit is contained in:
@@ -14,6 +14,7 @@ import (
|
||||
"git.noroutes.net/NoRoutes/vibetunes/internal/database"
|
||||
"git.noroutes.net/NoRoutes/vibetunes/internal/metadata"
|
||||
"git.noroutes.net/NoRoutes/vibetunes/internal/scanner"
|
||||
"git.noroutes.net/NoRoutes/vibetunes/internal/transcoding"
|
||||
)
|
||||
|
||||
func newTestServer(t *testing.T) (*Server, *sql.DB) {
|
||||
@@ -36,6 +37,7 @@ func newTestServer(t *testing.T) (*Server, *sql.DB) {
|
||||
EncryptionKey: key,
|
||||
Scanner: scanner.New(db, &metadata.Prober{}, log),
|
||||
CoverArt: coverart.New(t.TempDir(), ""),
|
||||
Transcoder: transcoding.NewManager(""),
|
||||
Log: log,
|
||||
}
|
||||
return s, db
|
||||
|
||||
Reference in New Issue
Block a user