From 0d8e6eeea2b2b1d3c1e0ccdceea82fbc12c509fa Mon Sep 17 00:00:00 2001 From: Romain Beauxis Date: Wed, 14 Feb 2024 17:33:44 -0600 Subject: [PATCH] Bring back `image/jpg` to cover manager (#3746) --- src/libs/extra/metadata.liq | 1 + src/libs/extra/video.liq | 1 + 2 files changed, 2 insertions(+) diff --git a/src/libs/extra/metadata.liq b/src/libs/extra/metadata.liq index c5b0dd07c4..25371c1851 100644 --- a/src/libs/extra/metadata.liq +++ b/src/libs/extra/metadata.liq @@ -11,6 +11,7 @@ def file.cover.manager( ~id=null(), ~mime_types=[ ("image/gif", "gif"), + ("image/jpg", "jpeg"), ("image/jpeg", "jpeg"), ("image/png", "png"), ("image/webp", "webp") diff --git a/src/libs/extra/video.liq b/src/libs/extra/video.liq index a2f652c899..2d9c622dec 100644 --- a/src/libs/extra/video.liq +++ b/src/libs/extra/video.liq @@ -17,6 +17,7 @@ def video.add_cover( ~y=getter(0), ~mime_types=[ ("image/gif", "gif"), + ("image/jpg", "jpeg"), ("image/jpeg", "jpeg"), ("image/png", "png"), ("image/webp", "webp")