Videos: Refactor codec, content and file type specifications #4770

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-02-05 00:30:45 +01:00
parent 30a6ff248b
commit 6a89519e63
254 changed files with 1193 additions and 1032 deletions

View File

@@ -148,7 +148,7 @@ func GetThumb(router *gin.RouterGroup) {
}
// Find supported preview image if media file is not a JPEG or PNG.
if f.NoJPEG() && f.NoPNG() {
if f.NoJpeg() && f.NoPng() {
if f, err = query.FileByPhotoUID(f.PhotoUID); err != nil {
c.Data(http.StatusOK, "image/svg+xml", fileIconSvg)
return