Commit Graph

312 Commits

Author SHA1 Message Date
Thomas Vander Stichele
d30eb59a66 * morituri/program/cdrdao.py:
Wrap read in an exception handler.
	* morituri/common/task.py:
	  Debug exceptions more.
2009-09-11 15:41:51 +00:00
Thomas Vander Stichele
e6f13ccf84 * HACKING:
Note unicode handling.
	* morituri/test/test_image_image.py:
	* morituri/image/table.py:
	* morituri/program/cdparanoia.py:
	* morituri/common/checksum.py:
	  Use unicode for paths.
	  Use repr for path representation.
	* morituri/test/test_common_checksum.py:
	  Add test for unicode audio file name.
2009-09-11 15:40:44 +00:00
Thomas Vander Stichele
9a15e890e0 * morituri/image/cue.py:
* morituri/image/toc.py:
	* morituri/test/test_image_cue.py:
	* morituri/test/test_image_toc.py:
	  Read input file as utf-8.  Fix logging of paths.
	* morituri/image/image.py:
	  Document and add asserts for unicodeness of paths.
	  Encode path in launch lines as utf-8
2009-09-11 15:37:02 +00:00
Thomas Vander Stichele
ac9d8f194d * morituri/common/task.py:
Make SyncRunner wrap start() so we correctly handle any
	  exception being thrown.
2009-09-11 12:08:02 +00:00
Thomas Vander Stichele
d9530cb82a * morituri/common/checksum.py:
* morituri/test/Makefile.am:
	* morituri/test/test_common_checksum.py (added):
	  Add a check to make sure that checksumming an empty file doesn't
	  hang.  Fix the hang.
2009-09-11 11:48:17 +00:00
Thomas Vander Stichele
d7c204c62b update todo 2009-09-08 22:27:18 +00:00
Thomas Vander Stichele
0c6a1a221d update TODO 2009-09-08 21:46:09 +00:00
Thomas Vander Stichele
51027d3d2a * morituri.spec.in:
Add pycdio as requirement.
2009-09-08 21:29:10 +00:00
Thomas Vander Stichele
acd444608b remove duplicate line 2009-09-08 21:15:02 +00:00
Thomas Vander Stichele
f5f1811881 * morituri/common/program.py:
Fix getting AccurateRip results for albums with a HTOA.
	* morituri/test/Makefile.am:
	* morituri/test/test_common_program.py:
	* morituri/test/silentalarm.result.pickle (added):
	  Add testcase for it, Bloc Party's Silent Alarm.
2009-09-07 18:57:14 +00:00
Thomas Vander Stichele
ff5a534da7 * morituri.spec.in:
Update requirements to work around known bugs.
2009-09-07 18:56:32 +00:00
Thomas Vander Stichele
ed2b4d4806 remove unexisting file 2009-09-06 22:43:51 +00:00
Thomas Vander Stichele
2efcb21a63 * morituri/rip/cd.py:
Fix warning against rebuilt package.
2009-09-06 18:04:21 +00:00
Thomas Vander Stichele
402c3c019a * README:
Fix up dependencies.
	* morituri.spec.in:
	  Fix dependencies and noarch install location.
	* morituri/common/Makefile.am:
	  Add result.py to dist
2009-09-06 17:08:17 +00:00
Thomas Vander Stichele
c0ec17d188 * configure.ac:
* m4/Makefile.am:
	* m4/as-ac-expand.m4 (added):
	  Correctly set installation dir for noarch python files so that it
	  works on 64 bit.
2009-09-06 17:07:40 +00:00
Thomas Vander Stichele
6df7313dc4 * morituri/program/cdrdao.py:
Parse version number.
	* morituri/rip/cd.py:
	  Warn about cdrdao versions with a bug.
	* morituri/test/test_program_cdrdao.py:
	  Test that we can parse the version.
2009-09-05 22:06:02 +00:00
Thomas Vander Stichele
e61a10266d * morituri/program/cdrdao.py:
Handle errors.  Tested by not having a CD in the drive.
2009-07-02 20:36:35 +00:00
Thomas Vander Stichele
b9bc3ba154 * morituri/common/task.py:
Document better.
	  Create an ITaskListener interface where we can document.
	  Log some more.
2009-07-02 20:34:50 +00:00
Thomas Vander Stichele
bd146a9a35 fix distcheck 2009-06-28 12:43:22 +00:00
Thomas Vander Stichele
e04e02a31e fix for when there are no responses 2009-06-24 21:30:08 +00:00
Thomas Vander Stichele
1e063f08a7 * morituri/test/test_common_program.py:
* morituri/common/program.py:
	  Extract a common method to get textual representation of
	  AccurateRip results, and test it.
	* morituri/rip/cd.py:
	* morituri/rip/image.py:
	  Use the method.
2009-06-24 20:47:44 +00:00
Thomas Vander Stichele
5d002d9126 doc update 2009-06-24 20:46:37 +00:00
Thomas Vander Stichele
32d67902d0 fix i 2009-06-24 19:19:43 +00:00
Thomas Vander Stichele
d57cb7ad15 * morituri/image/table.py:
Fix deprecationwarning for python 2.6
2009-06-24 19:18:41 +00:00
Thomas Vander Stichele
0d3651ab12 * morituri/test/test_common_program.py (added):
* morituri/common/program.py:
	  Break verifyImage into two so we can test it.
	  Test it using an AccurateRip result for Luke Haines Is Dead
	  which had a wrongly ripped track 10.
2009-06-24 18:40:27 +00:00
Thomas Vander Stichele
53e8d9275c pychecker fix 2009-06-24 18:39:07 +00:00
Thomas Vander Stichele
7f2979b249 update docs 2009-06-24 18:38:51 +00:00
Thomas Vander Stichele
a7f23e4dca fix import 2009-06-24 18:38:36 +00:00
Thomas Vander Stichele
c24574dfec shorten accurip variable names 2009-06-24 17:17:17 +00:00
Thomas Vander Stichele
0b80eaaa9d * morituri/result/result.py:
Document some more.
2009-06-24 16:34:47 +00:00
Thomas Vander Stichele
6e3e0a7218 * morituri/test/Makefile.am:
* morituri/test/dBAR-020-002e5023-029d8e49-040eaa14.bin (added):
	  Add AR result for Luke Haines Is Dead disc 1
2009-06-24 16:31:48 +00:00
Thomas Vander Stichele
6e3eeed548 remove unused import 2009-06-20 16:18:00 +00:00
Thomas Vander Stichele
15a5969062 add note 2009-06-20 15:26:28 +00:00
Thomas Vander Stichele
1643d1ec50 * Makefile.am:
* misc/pycheckerrc:
	* morituri/common/accurip.py:
	* morituri/common/checksum.py:
	* morituri/common/encode.py:
	* morituri/image/table.py:
	* morituri/rip/drive.py:
	  Fix up for pychecker warnings for 2.6
	  Fix rip drive list, which forgot some modules.
2009-06-20 10:57:12 +00:00
Thomas Vander Stichele
efdc830893 * morituri/rip/main.py:
* morituri/rip/image.py (added):
	  Add command to verify an image.
	* morituri/common/program.py:
	* morituri/rip/cd.py:
	  Fix AccurateRip checksum output.
2009-06-16 21:09:27 +00:00
Thomas Vander Stichele
0e07a721d1 declare sessions var 2009-06-16 20:50:15 +00:00
Thomas Vander Stichele
10375235da * morituri/common/drive.py:
Really make pycdio and cdio optional.
	* morituri/rip/drive.py:
	* morituri/rip/offset.py:
	  Use drive.getAllDevicePaths()
2009-06-16 19:27:18 +00:00
Thomas Vander Stichele
1cdfea3d73 remove code.interact 2009-06-15 07:34:48 +00:00
Thomas Vander Stichele
d17829c36a * morituri/result/result.py:
Add max confidence from database.
	* morituri/common/program.py:
	* morituri/rip/cd.py:
	  Move AccurateRip checking to program.py
	  Re-rip if verification failed when continuing a rip.
2009-06-15 07:07:41 +00:00
Thomas Vander Stichele
7beb4e5041 * morituri/image/cue.py:
Better debug.
2009-06-15 07:06:21 +00:00
Thomas Vander Stichele
b9a62bceb4 fix htoapath setting 2009-06-14 17:41:02 +00:00
Thomas Vander Stichele
1efa2d7b20 * morituri/common/program.py:
* morituri/rip/cd.py:
	  Serialize the rip result after every rip, so we can pick up
	  where we left off with all result data.
2009-06-09 19:39:59 +00:00
Thomas Vander Stichele
5652cee15e fix problem when not connected 2009-06-07 22:49:19 +00:00
Thomas Vander Stichele
644e67f105 more variable shuffling 2009-06-07 17:16:04 +00:00
Thomas Vander Stichele
2d892291a8 * morituri/common/program.py:
Move getPath to Program.
	  Remove arguments to ripTrack that can be gotten from
	  trackResult.
	* morituri/rip/cd.py:
	  Continue without musicbrainz metadata.
	  Unify htoa and normal track ripping.
	* morituri/result/result.py:
	  Add getTrackResult so it's easier to look up track results
	  when there's a HTOA.
2009-06-07 17:10:54 +00:00
Thomas Vander Stichele
df779bc8df * morituri/common/program.py:
* morituri/rip/cd.py:
	  Move HTOA checking to program.
2009-06-07 16:06:58 +00:00
Thomas Vander Stichele
a460abc475 * morituri/result/logger.py:
Fix for toctable->table
	* morituri/common/program.py:
	* morituri/rip/cd.py:
	  Move lots of functionality to program module.
2009-06-07 15:22:55 +00:00
Thomas Vander Stichele
ce1bc21a39 add another todo 2009-06-07 15:15:12 +00:00
Thomas Vander Stichele
28c2a47d62 * morituri/result/result.py:
Change toctable to table since it's a full index table.
	* morituri/common/Makefile.am:
	* morituri/common/program.py (added):
	  Add module and class for program state.
	* morituri/rip/cd.py:
	  Use the program state to clean up the do() function.
2009-06-07 14:20:30 +00:00
Thomas Vander Stichele
d75066d1bb pychecker cleanup 2009-06-07 13:46:26 +00:00