Commit Graph

59 Commits

Author SHA1 Message Date
Bastian Kleineidam c5f1dc543b Code cleanup. 2012-05-25 15:01:33 +02:00
Bastian Kleineidam 087b7e100e Init the MIME db correct on all platforms. 2012-05-23 04:47:26 +02:00
Bastian Kleineidam edb528dc88 Add .flac extension mime type. 2012-05-18 21:12:58 +02:00
Bastian Kleineidam 52762df5c6 Add flac file detection. 2012-05-17 14:59:33 +02:00
Bastian Kleineidam 448eb7c720 Add mime type for .shn files. 2012-05-17 14:11:36 +02:00
Bastian Kleineidam 1cb49aa296 Add support for APE format. 2012-05-17 11:01:06 +02:00
Bastian Kleineidam 66001fde36 Add boilerplate support for Monkey's Audio Compressors APE format. 2012-05-17 10:43:21 +02:00
Bastian Kleineidam 79a376ce4e Rename encoding to compression in the context of archive handling. Makes more sense. 2012-05-12 09:31:27 +02:00
Bastian Kleineidam 45a5f7e841 Support extraction of BZIP2 files with the Python bz2 module. 2012-05-11 22:08:00 +02:00
Bastian Kleineidam 26727ee20a Also compare filenames. 2012-05-11 21:04:02 +02:00
Bastian Kleineidam 8d8da1fecf Add tests for smae file check. 2012-05-11 20:16:24 +02:00
Bastian Kleineidam 96be0020ea Add more checks. 2012-05-11 20:07:50 +02:00
Bastian Kleineidam b51aff6182 Log infos to stdout instead of stderr. 2012-05-11 19:32:00 +02:00
Bastian Kleineidam 47c43a57b1 Updated copyright. 2012-04-08 18:54:37 +02:00
Bastian Kleineidam abc807e956 Add crx mime-type; ignore non-supported extensions in file(1) mime type guessing; code cleanup 2011-10-19 09:12:01 +02:00
Bastian Kleineidam 14641f8ea3 Updated copyright. 2011-01-25 06:57:30 -06:00
Bastian Kleineidam e48b95f9f1 Support DMS (.dms) files. 2011-01-24 14:28:29 -06:00
Bastian Kleineidam 55f3716eb6 Fall back to file extension detection for MIME type when the uncompressor file(1) uses for compressed TAR archives is not installed. 2011-01-23 09:30:11 -06:00
Bastian Kleineidam e0a661d7ae Added MIME type detected on Debian platform for cpio archives. 2011-01-17 12:39:21 -06:00
Bastian Kleineidam fbdf2e12e8 When running shell commands, join the command string in the utility function. 2010-12-15 20:40:25 +01:00
Bastian Kleineidam 0d7a90e0f0 Improved command execution logging. 2010-11-15 21:29:19 +01:00
Bastian Kleineidam 338e0daaa8 Use existing shell_quote function. 2010-11-10 19:49:08 +01:00
Bastian Kleineidam dc7a1a033c Show commands that are run. 2010-11-10 19:34:25 +01:00
Bastian Kleineidam 3c67f6a6a0 Remove unused variables; add missing docstrings. 2010-04-05 09:37:54 +02:00
Bastian Kleineidam 97901d89d9 Correct argument quoting for Windows platforms. 2010-04-05 08:46:09 +02:00
Bastian Kleineidam b8d2d81d00 Really fix shell quoting, quoting single quotes correctly. 2010-04-04 20:29:14 +02:00
Bastian Kleineidam 7d39df7748 Fix quoting of shell meta characters. 2010-04-04 19:11:54 +02:00
Bastian Kleineidam 554d273b08 Added support for ZOO (.zoo) archives. 2010-03-21 15:39:02 +01:00
Bastian Kleineidam 82708b74fa Added support for RZIP (.rz) archives. 2010-03-20 11:34:40 +01:00
Bastian Kleineidam 282701e675 Return diff command error code. 2010-03-11 17:54:09 +01:00
Bastian Kleineidam 9d859bc21c Use TMPDIR for temporary data, and catch keyboard interrupts. 2010-03-11 17:15:03 +01:00
Bastian Kleineidam 7a67446bdd Add MIME type for .lzh files. 2010-03-10 21:17:29 +01:00
Bastian Kleineidam ec6f98ac0c Add MIME type for .lha files. 2010-03-10 21:13:01 +01:00
Bastian Kleineidam 37fa891535 Added support for LRZIP (.lrz) files. 2010-03-08 19:58:39 +01:00
Bastian Kleineidam 4f12f39834 Added support for ARC (.arc) archives. 2010-03-08 18:28:11 +01:00
Bastian Kleineidam acbf544d04 Added support for ALZIP (.alz) archives. 2010-03-06 21:35:03 +01:00
Bastian Kleineidam 3e76a655bd Added support for LZH (.lha, .lzh) archives. 2010-03-06 19:24:34 +01:00
Bastian Kleineidam 960d15cd76 Refactor mime detection functions and add better tests. 2010-03-06 19:20:50 +01:00
Bastian Kleineidam 6cba779475 Added support for AR (.a) archives. 2010-03-06 16:52:13 +01:00
Bastian Kleineidam 9a04371f07 Added support for ACE (.ace) archives. 2010-03-06 15:47:00 +01:00
Bastian Kleineidam 670d5df652 Make extracted files user readable. 2010-03-06 15:23:16 +01:00
Bastian Kleineidam cab43b1238 Added support for LZIP archives. 2010-03-04 16:42:37 +01:00
Bastian Kleineidam 44726ecdea Port to Python 2.4: replace subprocess.check_call(). 2010-03-04 16:01:12 +01:00
Bastian Kleineidam 76ede8c91d Port to Python 2.4: remove with statement and relative imports. 2010-03-04 14:57:55 +01:00
Bastian Kleineidam 8cd637e198 Prevent overwriting the archive itself when extracting single-file archives. 2010-03-03 21:08:57 +01:00
Bastian Kleineidam fdf52fbbcc Improved recognition of MIME types with file(1). 2010-03-03 20:11:45 +01:00
Bastian Kleineidam ac2d30322a Memoize function return values of mime type guessing and program finding. 2010-03-01 16:42:39 +01:00
Bastian Kleineidam 0849e9aaa2 Added support for windows systems. 2010-03-01 16:29:54 +01:00
Bastian Kleineidam 3982c133be Improved format listing and added a test case for this command. 2010-03-01 16:17:14 +01:00
Bastian Kleineidam 8f5bc190f8 Added more missing file extensions for the Python mimetypes module. 2010-03-01 16:13:57 +01:00