diff options
author | Andy Scherzinger <info@andy-scherzinger.de> | 2025-01-07 21:04:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-07 21:04:14 +0100 |
commit | 83ca89a79a11cdc79a860ed30a1715a88a1b2d3b (patch) | |
tree | 403823b1628dbf1e1f9ab39f3adcc5c2e85a26a8 | |
parent | 83c33465abfbb1ecc61795e5a4806401991b798d (diff) | |
parent | c57495a4292f69788b14cc993c1421257d5fa4b1 (diff) | |
download | nextcloud-server-83ca89a79a11cdc79a860ed30a1715a88a1b2d3b.tar.gz nextcloud-server-83ca89a79a11cdc79a860ed30a1715a88a1b2d3b.zip |
Merge pull request #50079 from nextcloud/backport/50051/stable30
[stable30] fix(preview): Do not try to parse M3U files as MP3
-rw-r--r-- | lib/private/PreviewManager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/PreviewManager.php b/lib/private/PreviewManager.php index f19ff25abb7..6571643d3d0 100644 --- a/lib/private/PreviewManager.php +++ b/lib/private/PreviewManager.php @@ -343,7 +343,7 @@ class PreviewManager implements IPreview { $this->registerCoreProvider(Preview\XBitmap::class, '/image\/x-xbitmap/'); $this->registerCoreProvider(Preview\WebP::class, '/image\/webp/'); $this->registerCoreProvider(Preview\Krita::class, '/application\/x-krita/'); - $this->registerCoreProvider(Preview\MP3::class, '/audio\/mpeg/'); + $this->registerCoreProvider(Preview\MP3::class, '/audio\/mpeg$/'); $this->registerCoreProvider(Preview\OpenDocument::class, '/application\/vnd.oasis.opendocument.*/'); $this->registerCoreProvider(Preview\Imaginary::class, Preview\Imaginary::supportedMimeTypes()); $this->registerCoreProvider(Preview\ImaginaryPDF::class, Preview\ImaginaryPDF::supportedMimeTypes()); |