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
5411fffd4b
* morituri/program/cdrdao.py:
...
Add a task to read the Table.
2009-05-03 09:55:36 +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
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
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
Thomas Vander Stichele
d76e0a3495
* morituri/common/common.py:
...
Create some common functions to parse MSF and back.
* morituri/image/toc.py:
Use it here.
2009-05-01 18:29:39 +00:00
Thomas Vander Stichele
96c0a92cdd
publicize path
2009-05-01 12:30:27 +00:00
Thomas Vander Stichele
beb45e4546
* morituri/image/toc.py:
...
* morituri/test/test_image_toc.py:
* morituri/test/bloc.toc (added):
Fix up .toc parsing to correct index 0 behaviour.
Add Bloc Party's Silent Alarm .toc file to test HTOA.
2009-05-01 12:29:48 +00:00
Thomas Vander Stichele
4367038f6c
* morituri/common/task.py:
...
Make task subclass log.Log
2009-05-01 08:13:51 +00:00
Thomas Vander Stichele
0cfa2d915a
* morituri/common/log.py:
...
Add external log module and use it.
2009-05-01 08:13:35 +00:00
Thomas Vander Stichele
026fa2779d
* morituri/test/cure.toc (added):
...
Add an example .toc file for the test.
2009-04-29 08:55:12 +00:00
Thomas Vander Stichele
f2b6991dbe
* morituri/test/test_image_toc.py (added):
...
* morituri/image/toc.py (added):
Add first stab at .toc parsing.
2009-04-27 22:18:03 +00:00
Thomas Vander Stichele
4982f588c7
* morituri/image/image.py:
...
* morituri/image/table.py:
* morituri/test/test_image_image.py:
* morituri/test/test_image_table.py:
Rename toc.TOC to table.Table
2009-04-27 22:15:51 +00:00
Thomas Vander Stichele
5df66ce231
* morituri/test/test_image_table.py (added):
...
* morituri/image/table.py (added):
* morituri/test/test_image_toc.py (deleted):
* morituri/image/toc.py (deleted):
Move files around in preparation for the .toc file parsing.
2009-04-27 22:02:07 +00:00
Thomas Vander Stichele
c4f22acda5
* morituri/test/kanye.cue (added):
...
Add a cue test with mixed mode.
* morituri/image/cue.py:
* morituri/test/test_image_cue.py:
Handle it properly.
2009-04-26 11:19:03 +00:00
Thomas Vander Stichele
03ef79ec84
* morituri/image/cue.py:
...
getRealPath should be here, it doesn't need anything outside
the .cue file
* morituri/image/image.py:
Proxy it here.
2009-04-25 16:06:23 +00:00
Thomas Vander Stichele
10e5ec0b18
* morituri/common/checksum.py:
...
Add some debugging.
* morituri/test/test_image_image.py:
Run less verbose.
2009-04-25 10:12:34 +00:00
Thomas Vander Stichele
837005d565
* morituri/common/task.py:
...
Allow a SyncRunner to be constructed with verbose too.
Separate a 'running' verbose mode from that.
Fixes unwanted test output.
* morituri/test/test_image_image.py:
Run without verbosity.
2009-04-25 10:02:51 +00:00
Thomas Vander Stichele
a4cb2cfe42
* morituri/test/test_image_image.py:
...
Fix name.
2009-04-25 09:55:40 +00:00
Thomas Vander Stichele
0bbcac6d06
* morituri/test/test_common_renamer.py (added):
...
* morituri/common/renamer.py (added):
Add a way of doing transactional file renames, as well as their
metafile updates.
2009-04-25 09:51:12 +00:00
Thomas Vander Stichele
a9ec95e56d
* morituri/common/task.py:
...
Add a 'described' method so listeners can get proper notification
of description changes, and update their description in between
progress changes.
Add a MultiCombinedTask that reports on progress over all tasks
combined.
* examples/trm.py:
Add a playlist option to the example. Still needs to store results
to pickles, preferably after each completed task.
* morituri/common/checksum.py:
Add audioconvert to make sure we can trm ogg files.
2009-04-20 22:20:07 +00:00
Thomas Vander Stichele
18fcc1b813
* morituri/common/task.py:
...
* morituri/image/image.py:
Move MultiTask to the task module.
2009-04-20 21:34:51 +00:00
Thomas Vander Stichele
8973d53cce
* morituri/common/checksum.py:
...
Add a task to calculate a trm fingerprint.
* examples/trm.py (added):
Add an example.
Strangely enough it starts burstily, doing 10% directly, halting,
then progressing quickly,
2009-04-20 21:31:27 +00:00
Thomas Vander Stichele
9905dbad75
* morituri/common/task.py:
...
Add a __main__ example using DummyTask.
2009-04-19 22:01:39 +00:00
Thomas Vander Stichele
cfeedbca3c
* morituri/common/task.py:
...
Make sure we also show progress when it's 0%, at the start.
2009-04-19 21:48:23 +00:00
Thomas Vander Stichele
68b6db9e10
* morituri/image/cue.py:
...
Use names for matches in regexps.
2009-04-19 21:47:18 +00:00
Thomas Vander Stichele
0fe1be06b7
* morituri/extern (added):
...
* morituri/extern/__init__.py (added):
* morituri/extern/asyncsub.py (added):
Add extern module; add asynchronous subprocess Popen from
http://code.activestate.com/recipes/440554/
2009-04-19 17:26:05 +00:00
Thomas Vander Stichele
26bfe85631
* examples/gtkchecksum.py:
...
* morituri/common/checksum.py:
Final crc->checksum fixes.
2009-04-15 13:41:15 +00:00
Thomas Vander Stichele
587f1a45dd
* examples/ARcue.py:
...
* morituri/common/checksum.py:
* morituri/image/image.py:
* morituri/image/toc.py:
* examples/gtkchecksum.py (added):
* examples/gtkcrc.py (deleted):
More crc->checksum changes.
2009-04-15 13:39:16 +00:00
Thomas Vander Stichele
1dffa8ec42
add comment
2009-04-15 13:32:10 +00:00
Thomas Vander Stichele
b63ef021a7
* examples/ARcue.py:
...
* morituri/common/checksum.py:
* morituri/image/image.py:
* morituri/test/test_image_image.py:
Change crc to checksum everywhere.
2009-04-15 13:31:35 +00:00
Thomas Vander Stichele
9b5050d221
* morituri/image/image.py:
...
* morituri/image/toc.py:
* morituri/common/checksum.py (added):
* morituri/common/crc.py (deleted):
Rename crc to checksum, because AccurateRip checksums are not CRC's.
2009-04-15 13:23:45 +00:00
Thomas Vander Stichele
1abeac8dcf
* examples/ARcue.py:
...
* morituri/image/image.py:
* morituri/test/test_image_image.py:
Make everything use TOC for the id's.
2009-04-15 13:20:56 +00:00
Thomas Vander Stichele
065754d5d1
* morituri/image/image.py:
...
Refactor to use TOC class.
* morituri/image/toc.py:
Fully document.
2009-04-15 12:45:22 +00:00