[issue24479] Support LMMS project files in mimetypes.guess_type

Andreas Nilsson report at bugs.python.org
Mon Jun 22 05:47:56 CEST 2015


Andreas Nilsson added the comment:

Here is a decompressed example (use lmms -d <file> to decompress). Shouldn't this be parsed as XML? Here's a log of my experiment with it:

Python 2.7.9 (default, Apr  2 2015, 15:33:21) 
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mimetypes
>>> mimetypes.init()
>>> mimetypes.guess_type("seaman.mmp")
(None, None)
>>> mimetypes.guess_type("seaman.mmp", False)
(None, None)

By default LMMS saves as .mmpz which is the compressed type, I do not know the encryption method they use though but I can ask them if you want so!

----------
Added file: http://bugs.python.org/file39765/seaman.mmp

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24479>
_______________________________________


More information about the Python-bugs-list mailing list