This commit is contained in:
cangui 2025-06-21 19:05:49 +02:00
parent b1866a2cc5
commit aa2433bee8

View File

@ -1057,7 +1057,7 @@ func MediaDetail(db *gorm.DB) http.HandlerFunc {
DurationFmt: "", // on ne probe pas ici DurationFmt: "", // on ne probe pas ici
ThumbURL: "/static/thumbs/" + base + ".jpg", ThumbURL: "/static/thumbs/" + base + ".jpg",
// on passe le path en query pour le streaming // on passe le path en query pour le streaming
StreamURL: "/stream/0?path=" + url.QueryEscape(path), HLSURL: fmt.Sprintf("/hls/%d/index.m3u8", partID),
} }
} }