You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdemultimedia/tdefile-plugins
mio eb8c472269 Fix mime type registration for FLAC with taglib>=2
The TAGLIB_*_VERSION macros are not (and never have been) defined in
tag.h, however, tag.h used to include tstring.h, which included taglib.h
[0].

KFlacPlugin doesn't use the 'name' argument in it's constructor so it
can support earlier versions of taglib (< 1.2), instead, it registers
the mime type info for both 'audio/x-flac' and 'audio/x-oggflac' when it
is first loaded.  However, since 'audio/x-oggflac' was never being
registered (because TAGLIB_1_2 wasn't defined), when KRenamer attempted
to get the mime type info for 'audio/x-oggflac', the call failed and
it's 'keys' member was never altered, causing the additional 'flac' to
be appended [1].

[0]: a08acdcf23 (diff-83ce8ae463020e723895af7e50380bc507f358a2d56313767d5305a759bb9f02)
[1]: https://mirror.git.trinitydesktop.org/gitea/TDE/krename/src/branch/r14.1.x/krename/fileplugin.cpp#L46-L98

Fixes: https://mirror.git.trinitydesktop.org/gitea/TDE/tdemultimedia/issues/77
Signed-off-by: mio <stigma@disroot.org>
6 months ago
..
au Replace Q_OBJECT with TQ_OBJECT 2 years ago
avi Replace Q_OBJECT with TQ_OBJECT 2 years ago
flac Fix mime type registration for FLAC with taglib>=2 6 months ago
m3u Replace Q_OBJECT with TQ_OBJECT 2 years ago
mp3 Add support for TagLib 2. 1 year ago
mpc Add support for TagLib 2. 1 year ago
mpeg Replace Q_OBJECT with TQ_OBJECT 2 years ago
ogg Replace Q_OBJECT with TQ_OBJECT 2 years ago
sid Replace Q_OBJECT with TQ_OBJECT 2 years ago
theora Replace Q_OBJECT with TQ_OBJECT 2 years ago
wav Replace Q_OBJECT with TQ_OBJECT 2 years ago
CMakeL10n.txt Desktop file translations: 5 years ago
CMakeLists.txt Initial cmake conversion 8 years ago
Makefile.am Rename a few build variables for overall consistency 12 years ago
RETURNED_ITEMS Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago