Commit Graph

145 Commits

Author SHA1 Message Date
Thomas Vander Stichele
c17a28d7ae * examples/movecue.py:
* examples/readcue.py:
	* morituri/image/cue.py:
	* morituri/image/image.py:
	* morituri/image/toc.py:
	* morituri/program/cdrdao.py:
	* morituri/test/test_image_cue.py:
	* morituri/test/test_image_toc.py:
	  Cue -> CueFile
	  TOC -> TocFile
2009-05-04 16:01:19 +00:00
Thomas Vander Stichele
2dbd307096 docs and repr fixes 2009-05-04 15:58:12 +00:00
Thomas Vander Stichele
bc36bf3aa5 * examples/readdisc.py (added):
Add an example to read a whole disc.  Doesn't work yet.
2009-05-04 15:58:03 +00:00
Thomas Vander Stichele
4b904cfcbc * examples/readhtoa.py:
Fix up readhtoa example.  Add offset option.
2009-05-04 14:40:39 +00:00
Thomas Vander Stichele
d07fde2c96 * examples/ARcalibrate.py:
* examples/readhtoa.py:
	* examples/readtoc.py:
	* morituri/program/cdrdao.py:
	  Rename ReadTOCTask to ReadIndexTableTask.
	  Rename ReadTableTask to ReadTOCTask.
2009-05-04 13:51:11 +00:00
Thomas Vander Stichele
9841d5e2fb handle not having a toc 2009-05-04 13:48:22 +00:00
Thomas Vander Stichele
3a75cb2d0f * morituri/program/cdrdao.py:
Convert ReadTableTask to a CDRDAOTask subclass.
	* examples/ARcalibrate.py:
	* morituri/program/cdparanoia.py:
	  Adapt.
2009-05-04 13:48:18 +00:00
Thomas Vander Stichele
6769480d2d fail if we don't have a toc 2009-05-04 13:04:19 +00:00
Thomas Vander Stichele
b007882888 * morituri/program/cdrdao.py:
Fix up index scanning's progress report.
	  Add some debugging.
2009-05-04 13:04:04 +00:00
Thomas Vander Stichele
d34f3683ec * morituri/program/cdrdao.py:
* morituri/test/test_program_cdrdao.py:
	  Fix up tests.  Use an IndexTable.
2009-05-04 12:28:12 +00:00
Thomas Vander Stichele
91b9c393de * morituri/program/cdrdao.py:
Massage out a base class for running cdrdao.
2009-05-04 12:14:05 +00:00
Thomas Vander Stichele
ffbda81f09 * morituri/program/cdrdao.py:
* morituri/test/test_program_cdrdao.py (added):
	  Split out the parser from the task.  Test the parser.
2009-05-04 09:23:35 +00:00
Thomas Vander Stichele
aee0a2f128 * morituri/program/cdrdao.py:
* morituri/test/test_program_cdrdao.py (added):
	  Split out the parser from the task.  Test the parser.
2009-05-04 09:23:22 +00:00
Thomas Vander Stichele
ced087291f add logging 2009-05-04 08:43:23 +00:00
Thomas Vander Stichele
22e81b4665 * morituri/image/cue.py:
* morituri/image/image.py:
	* morituri/image/table.py:
	* morituri/program/cdparanoia.py:
	* morituri/test/test_image_cue.py:
	  Move to using a shared IndexTable for everything.
	  Sadly mixed with a MultiTask rename.
2009-05-04 08:40:42 +00:00
Thomas Vander Stichele
d22bff1079 * morituri/common/checksum.py:
Update debugging.  Add repr.
2009-05-04 08:39:39 +00:00
Thomas Vander Stichele
99d90552d3 * examples/ARcue.py:
Handle case where we have no matching response.
2009-05-04 08:39:12 +00:00
Thomas Vander Stichele
d7f1f0a87a * morituri/common/task.py:
Distinguish more clearly between MultiSeparateTask and
	  MultiCombinedTask.
2009-05-03 20:25:28 +00:00
Thomas Vander Stichele
1bb00ba7ff add assert 2009-05-03 19:20:53 +00:00
Thomas Vander Stichele
6e2e58a373 * morituri/image/cue.py:
* morituri/test/test_image_cue.py:
	  Add dumping of .cue files.
2009-05-03 19:18:26 +00:00
Thomas Vander Stichele
bdf1d0b90c docs 2009-05-03 19:17:32 +00:00
Thomas Vander Stichele
be20385fd4 * morituri/program/cdparanoia.py:
Use a temporary file to rip to.
2009-05-03 19:17:21 +00:00
Thomas Vander Stichele
e3c42ddf64 remove ellipses 2009-05-03 19:16:20 +00:00
Thomas Vander Stichele
66033faac7 * examples/readtrack.py:
Allow specifying the track to save.
2009-05-03 19:16:05 +00:00
Thomas Vander Stichele
836a3beea1 * morituri/common/task.py:
Make SyncRunner clear previous description/progress task by
	  tracking longest output given up to now.
2009-05-03 18:07:22 +00:00
Thomas Vander Stichele
d1c3bb3def * morituri/program/cdparanoia.py:
Add a task to read and verify a track.
	* examples/readtrack.py:
	  Use it to clean up code.
	* morituri/common/task.py:
	  describe a MultiTask better.
2009-05-03 17:44:23 +00:00
Thomas Vander Stichele
4e62448000 remove prints 2009-05-03 17:05:32 +00:00
Thomas Vander Stichele
daaffb78e7 * morituri/common/common.py:
Create a Persister class to wrap a possible pickle path.
	* examples/trm.py:
	  Use it.
2009-05-03 17:04:42 +00:00
Thomas Vander Stichele
e0c311f870 remove a print 2009-05-03 15:03:18 +00:00
Thomas Vander Stichele
81eddd26b8 verify cdparanoia's output 2009-05-03 14:54:52 +00:00
Thomas Vander Stichele
d8e288d848 * morituri/program/cdparanoia.py:
Add table to __init__, so we can correctly calculate cdparanoia's
	  strange ripping regions.
	* examples/ARcalibrate.py:
	  When we found a positive match on a first track, match all the other
	  tracks too for confirmation.
2009-05-03 12:59:37 +00:00
Thomas Vander Stichele
c592e00425 add repr 2009-05-03 12:57:44 +00:00
Thomas Vander Stichele
718275c5ee * morituri/common/taskgtk.py:
Bug fix.
2009-05-03 10:30:33 +00:00
Thomas Vander Stichele
fc907f1953 * morituri/common/task.py:
* morituri/common/taskgtk.py:
	  Split off GtkProgressRunner in separate module to not import gtk
	  everywhere.
	* examples/ARcalibrate.py:
	* examples/ARcue.py:
	* examples/gtkchecksum.py:
	* examples/trm.py:
	  Adapt.
2009-05-03 10:20:22 +00:00
Thomas Vander Stichele
a47a2f2a5c copy before splitting 2009-05-03 10:16:19 +00:00
Thomas Vander Stichele
05e90de6e3 * examples/ARcalibrate.py (added):
Add an example that calculates the read offset of your drive
	  using AccurateRip.
2009-05-03 10:08:03 +00:00
Thomas Vander Stichele
5411fffd4b * morituri/program/cdrdao.py:
Add a task to read the Table.
2009-05-03 09:55:36 +00:00
Thomas Vander Stichele
70a3c83ec3 add logging
fix up for cue->table rename
2009-05-03 09:54:43 +00:00
Thomas Vander Stichele
1529c2a082 change progress notify to log 2009-05-03 09:54:21 +00:00
Thomas Vander Stichele
d26f1b90ca add errors 2009-05-03 09:54:05 +00:00
Thomas Vander Stichele
d85dc31e12 doc fix 2009-05-03 09:53:44 +00:00
Thomas Vander Stichele
881019b844 debug fix 2009-05-03 09:53:36 +00:00
Thomas Vander Stichele
076644b879 * morituri/common/task.py:
* morituri/image/image.py:
	  Add some debugging.
2009-05-02 09:27:14 +00:00
Thomas Vander Stichele
2acff6bd94 * examples/readhtoa.py (added):
Add an example that detects and rips the Hidden Track One Audio.
2009-05-01 20:05:04 +00:00
Thomas Vander Stichele
8286bf9b22 * examples/readtoc.py:
* morituri/program/cdrdao.py (added):
	  Move the ReadTocTask to the new cdrdao module.
2009-05-01 18:57:28 +00:00
Thomas Vander Stichele
54c7322a04 * examples/readtrack.py:
* morituri/program/cdparanoia.py:
	  Move ReadTrackTask to cdparanoia module.
2009-05-01 18:52:51 +00:00
Thomas Vander Stichele
5d6fb6315a update example 2009-05-01 18:35:52 +00:00
Thomas Vander Stichele
1f183d60b7 * examples/readtrack.py (added):
Add an example that reads a track using cdparanoia.
2009-05-01 18:32:12 +00:00
Thomas Vander Stichele
08789fc6cb * morituri/test/cdparanoia.progress (added):
* morituri/test/test_program_cdparanoia.py (added):
	* morituri/program/__init__.py (added):
	* morituri/program/cdparanoia.py (added):
	  Add a module to wrap cdparanoia.  Add a test for parsing
	  the progress report output.
2009-05-01 18:31:41 +00:00
Thomas Vander Stichele
143a70b72a * morituri/common/checksum.py:
Debug fixes.
2009-05-01 18:30:09 +00:00