Skip to content

Commit

Permalink
Merge pull request #50080 from nextcloud/backport/50051/stable29
Browse files Browse the repository at this point in the history
[stable29] fix(preview): Do not try to parse M3U files as MP3
  • Loading branch information
AndyScherzinger authored Jan 7, 2025
2 parents d2b2c24 + 6baaa61 commit f83356d
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 @@ -366,7 +366,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());

Expand Down

0 comments on commit f83356d

Please sign in to comment.