From 6fe47e78f1da10a71ae1ff267f00150b13e2f684 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Thu, 9 Apr 2020 00:26:25 +0200 Subject: [PATCH] Remove APE file detection by content Fixes #373 --- 3rdparty/taglib/ape/apefile.cpp | 7 +++++-- Changelog | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/3rdparty/taglib/ape/apefile.cpp b/3rdparty/taglib/ape/apefile.cpp index e26e1353..7cca84b6 100644 --- a/3rdparty/taglib/ape/apefile.cpp +++ b/3rdparty/taglib/ape/apefile.cpp @@ -91,8 +91,11 @@ bool APE::File::isSupported(IOStream *stream) { // An APE file has an ID "MAC " somewhere. An ID3v2 tag may precede. - const ByteVector buffer = Utils::readHeader(stream, bufferSize(), true); - return (buffer.find("MAC ") >= 0); + // FIXME: + //const ByteVector buffer = Utils::readHeader(stream, bufferSize(), true); + //return (buffer.find("MAC ") >= 0); + + return false; } //////////////////////////////////////////////////////////////////////////////// diff --git a/Changelog b/Changelog index 47ed64b2..a5837c16 100644 --- a/Changelog +++ b/Changelog @@ -14,6 +14,7 @@ Unreleased: * Fixed Subsonic support to handle numeric Json values like track and disc both as strings and integers. * Fixed Subsonic compatibility with LMS (Lightweight Music Server). * Disabled "open Audio CD" from menu on Windows where CD support is currently not supported. + * Fixed files containing "MAC" being detected as Monkey's Audio. Enhancements: * Improved support for High DPI displays.