up
This commit is contained in:
parent
b1866a2cc5
commit
aa2433bee8
@ -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),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user