FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

mimetypes cannot detect mime of mka files · Issue #89416 · python/cpython · GitHub

Repository navigation

mimetypes cannot detect mime of mka files #89416

Closed

Description

BPO 45253
Nosy @Fidget-Spinner, @akulakov
Files
  • Screenshot from 2021-09-21 13-10-33.png
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2021-09-21.07:49:08.538>
    labels = ['type-bug', 'library', '3.9']
    title = 'mimetypes cannot detect mime of mka files'
    updated_at = <Date 2021-10-11.18:23:24.571>
    user = 'https://bugs.python.org/manujchandra'

    bugs.python.org fields:

    activity = <Date 2021-10-11.18:23:24.571>
    actor = 'andrei.avk'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2021-09-21.07:49:08.538>
    creator = 'manujchandra'
    dependencies = []
    files = ['50292']
    hgrepos = []
    issue_num = 45253
    keywords = []
    message_count = 2.0
    messages = ['402290', '403666']
    nosy_count = 3.0
    nosy_names = ['kj', 'andrei.avk', 'manujchandra']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'pending'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue45253'
    versions = ['Python 3.9']

    Linked PRs

    Activity

    1. manujchandra commented on Sep 21, 2021

      manujchandramannequin
      MannequinAuthor

      The mimetypes library cannot detect mime of mka files. It returns None instead of audio.

      mp3 and mkv are working. Only mka is not working.

    2. added
      stdlibStandard Library Python modules in the Lib/ directory
      type-bugAn unexpected behavior, bug, or error
      on Sep 21, 2021
    3. akulakov commented on Oct 11, 2021

      Contributor

      mkv (matroska) is not registered with IANA here: http://www.iana.org/assignments/media-types/media-types.xhtml

      Therefore according to the comment in mimetypes.py, it should not be added.

      Also note that .mkv is also not in mimetypes.py, so it's being loaded from your system's mime types, so if you want .mka to work as well, make sure it's registered on your system rather than in Python's mimetypes.py .

      I will close this as not a bug, please comment here if you think it should stay open.

    4. transferred this issue fromon Apr 10, 2022
    5. added
      type-featureA feature request or enhancement
      and removed
      type-bugAn unexpected behavior, bug, or error
      on Nov 4, 2024
    6. hugovk commented on Nov 4, 2024

      Member

      https://www.iana.org/assignments/media-types/media-types.xhtml now lists:

      matroska audio/matroska [RFC9559]

      Where RFC 9559 was published in October 2024.

      Please see PR #126412.

      (cc @manujchandra)

    7. added a commit that references this issue on Nov 11, 2024
    8. added a commit that references this issue on Dec 8, 2024
    9. added a commit that references this issue on Jan 12, 2025
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions


        Back | FazBrowse Home | New Git URL