[frameworks-kfilemetadata] [Bug 522678] KFileMetadata MIME type issue for *.mkv files
"Andras H." <[email protected]> Tue, 04 Aug 2026 15:28:05 +0000
| Newsgroups | gmane.comp.kde.devel.bugs |
|---|---|
| Message-ID | <[email protected]/> |
https://bugs.kde.org/show_bug.cgi?id=3D522678 --- Comment #7 from Andras H. <[email protected]> --- I'm unsure whether it's pertinent to mention, but in case the=20 implementation takes time, I whipped up a little snippet to make the=20 same changes the PR does. Granted, a local fix is fickle and not=20 ideal, but I figured it might be helpful if anybody needs it, and=20 it's a fairly simple change.=20 Additionally, I tried to make it so that changes aren't made if the=20 PR is merged, but it's a very rudimentary check, and far from=20 fool-proof. My apologies if this is outside the scope of this=20 discussion. --- git clone https://gitlab.archlinux.org/archlinux/packaging/packages/kfilemetadata.git= && cd ./kfilemetadata; makepkg -so --skippgpcheck; perl -i -pe 's/(const QStringList supportedMimeTypes =3D \{)(?!\n=20=20=20 QStringLiteral\("video\/matroska"\))/$1\n=20=20=20 QStringLiteral("video\/matroska"),/mi' ./src/kfilemetadata-6.28.0/src/extractors/ffmpegextractor.cpp; perl -i -pe 's/( "MimeTypes" : \{)(?!\n "video\/matroska")/$1\n= =20=20=20=20=20=20 "video\/matroska" : { "Version" : "0.0" },/mi' ./src/kfilemetadata-6.28.0/src/extractors/ffmpegextractor.json; makepkg -ei --skippgpcheck --=20 You are receiving this mail because: You are watching all bug changes.=