diff options
author | Pauli Järvinen <pauli.jarvinen@gmail.com> | 2025-01-06 12:41:28 +0200 |
---|---|---|
committer | Pauli Järvinen <pauli.jarvinen@gmail.com> | 2025-01-06 12:51:40 +0200 |
commit | b165523589a6151003a657efd01d61c8386221b8 (patch) | |
tree | 461275e6e77c8378bbbfcdb436a2807482036320 /lib/composer | |
parent | 92acfefb3fd4f51c1f07c0aa17b272330a8fbadc (diff) | |
download | nextcloud-server-Fix/mp3_regex.tar.gz nextcloud-server-Fix/mp3_regex.zip |
fix(preview): Do not try to parse M3U files as MP3Fix/mp3_regex
By default, the MP3 audio files get the mimetype `audio/mpeg` and the M3U and
M3U8 playlist files get the mimetype `audio/mpegurl`. PreviewManager had such
a problem that it registered the MP3 preview provider with a regular
expression which matched also the M3U files. This caused an error message to
be logged on the info (1) level for each M3U file every time a folder with
such files was viewed: "Error while getting cover from mp3 file:
File /path/to/some/playlist.m3u is not mpeg/audio!".
Signed-off-by: Pauli Järvinen <pauli.jarvinen@gmail.com>
Diffstat (limited to 'lib/composer')
0 files changed, 0 insertions, 0 deletions