Skip to content

Commit

Permalink
Merge pull request #50079 from nextcloud/backport/50051/stable30
Browse files Browse the repository at this point in the history
[stable30] fix(preview): Do not try to parse M3U files as MP3
  • Loading branch information
AndyScherzinger authored Jan 7, 2025
2 parents 83c3346 + c57495a commit 83ca89a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/PreviewManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ protected function registerCoreProviders() {
$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());
Expand Down

0 comments on commit 83ca89a

Please sign in to comment.