[issue24479] Support LMMS project files in mimetypes.guess_type

2015-06-21 Thread Andreas Nilsson

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 rep...@bugs.python.org
http://bugs.python.org/issue24479
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24479] Support LMMS project files in mimetypes.guess_type

2015-06-20 Thread Andreas Nilsson

New submission from Andreas Nilsson:

There is no support for recognizing LMMS project files (.mmpz / .mmp). Could 
this be added for strict=False?

--
components: Library (Lib)
messages: 245556
nosy: Andreas Nilsson
priority: normal
severity: normal
status: open
title: Support LMMS project files in mimetypes.guess_type
type: enhancement
versions: Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24479
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com