https://bugs.kde.org/show_bug.cgi?id=440631

            Bug ID: 440631
           Summary: Mimetype - MPEG-2 TS .ts video file flagged as
                    text/vnd.qt.linguist
           Product: frameworks-kfilemetadata
           Version: 5.84.0
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: pinak.ah...@gmail.com
          Reporter: tagwer...@innerjoin.org
  Target Milestone: ---

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

    (Issue extracted from Bug 420939)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to