Bug report
Bug description:
Advanced SubStation is a common subtitle format, with file usually having the extension .ass, and the .ass extension is not commonly used for AAC audio files. However, mimetypes currently gives audio/aac as the type for .ass files:
mimetypes.guess_type('test.ass') # -> ('audio/aac', None)
This appears to be due to this erroneous line:
CPython versions tested on:
3.12
Operating systems tested on:
macOS
Linked PRs
Bug report
Bug description:
Advanced SubStation is a common subtitle format, with file usually having the extension
.ass, and the.assextension is not commonly used for AAC audio files. However,mimetypescurrently givesaudio/aacas the type for.assfiles:This appears to be due to this erroneous line:
cpython/Lib/mimetypes.py
Line 534 in 4fc82b6
CPython versions tested on:
3.12
Operating systems tested on:
macOS
Linked PRs