Mimetype - MPEG-2 TS .ts video file flagged as text/vnd.qt.linguist
SUMMARY:
A MPEG-2 TS file, saved with a .ts extension is flagged as text/vnd.qt.linguist
STEPS TO REPRODUCE:
Download a .m2ts file, check with
xdg-mime query filetype testfile.m2ts
it would be shown as "video/mp2t". Rename to .ts and repeat...
OBSERVED RESULTS
$ xdg-mime query filetype x.ts
text/vnd.qt.linguist
EXPECTED RESULTS
$ xdg-mime query filetype x.ts
video/mp2t
SOFTWARE/OS VERSIONS
Neon Testing
Plasma : 5.22.4
Frameworks : 5.85.0
Qt : 5.15.5
ADDITIONAL INFORMATION
Seems to be an issue with the "magic" for the MPEG-2 TS entry, it has
priority "50". The Linguist entry also has an implicit priority of 50
(the default priority)
If the MPEG-2 TS priority is increased to 70 in an "override.xml" file
(in /usr/share/mime/packages folder), this fixes this issue
Logged in KDE as:
https://bugs.kde.org/show_bug.cgi?id=440631
originally:
https://bugs.kde.org/show_bug.cgi?id=420939
Format For Printing - XML - Clone This Bug - Top of page
Home | New | Browse | Search |
[?] | Reports | Requests | Help | New Account | Log In | Forgot Password