chore (GenerateID): change signature for GenerateID

This commit is contained in:
MickaelK
2024-04-15 22:18:16 +10:00
parent c7446f3113
commit dabdc03a73
8 changed files with 14 additions and 15 deletions

View File

@ -131,7 +131,7 @@ func hls_playlist(reader io.ReadCloser, ctx *App, res *http.ResponseWriter, req
return reader, nil
}
cacheName := "vid_" + GenerateID(ctx) + "_" + QuickHash(path, 10) + ".dat"
cacheName := "vid_" + GenerateID(ctx.Session) + "_" + QuickHash(path, 10) + ".dat"
cachePath := GetAbsolutePath(
VideoCachePath,
cacheName,