Thomas Vander Stichele
1fc0c2bbdb
* examples/ARcue.py:
...
Fix a bug in the gtk example.
2009-04-20 21:30:04 +00:00
Thomas Vander Stichele
58a855c630
* examples/readtoc.py:
...
Read the toc using cdrdao. Now sets progress based on which
frame it is on.
2009-04-19 22:55:16 +00:00
Thomas Vander Stichele
a7e3779473
* examples/readtoc.py (added):
...
Add an example to read the TOC, not finished yet.
2009-04-19 17:26:33 +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
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
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
f865e91526
* morituri/image/image.py:
...
* morituri/test/test_image_image.py:
AccurateRip binary files actually contain multiple responses, so
parse all of them.
* examples/ARcue.py:
Handle case of not having a response, and having multiple responses.
2009-04-15 09:35:58 +00:00
Thomas Vander Stichele
7c598cde9d
make it clear which one is ours
2009-04-14 20:19:58 +00:00
Thomas Vander Stichele
051dc33049
* examples/ARcue.py:
...
Make output a bit nicer, mentioning whether tracks were
accurately ripped.
2009-04-13 20:00:11 +00:00
Thomas Vander Stichele
a8da8d8fa2
* morituri/image/image.py:
...
Add the 150 frames for the leadin only to the CDDB calculation.
Add methods to calculate AccurateRip id's and URL.
* morituri/test/test_image_image.py:
Add tests for it.
* examples/ARcue.py:
Show AccurateRip URL.
2009-04-13 17:27:52 +00:00
Thomas Vander Stichele
ac880acdf1
* examples/ARcue.py:
...
* morituri/common/crc.py:
* morituri/image/image.py:
* morituri/test/test_image_image.py:
Calculate CDDB disc id.
Tested on my Kings Of Leon CD.
2009-04-12 19:30:57 +00:00
Thomas Vander Stichele
919ae5b8e3
* examples/ARcue.py:
...
* morituri/image/image.py:
* morituri/test/test_image_image.py:
Add a task to verify a disk image, which also calculates
track lengths for tracks the cue file doesn't know the length of.
2009-04-12 18:04:30 +00:00
Thomas Vander Stichele
729280ef42
* examples/ARcue.py:
...
Add option to run either command-line or gtk.
2009-04-12 11:15:45 +00:00
Thomas Vander Stichele
0ab4aed9a2
some more reorganizing
2009-04-12 09:03:43 +00:00
Thomas Vander Stichele
68669e35b5
some more reorganizing
2009-04-12 09:03:37 +00:00
Thomas Vander Stichele
07587f51e4
* examples/ARcue.py:
...
* examples/gtkcrc.py:
Rework both examples to look more similar.
2009-04-12 09:02:25 +00:00
Thomas Vander Stichele
d47402af60
* examples/gtkcrc.py:
...
* morituri/common/task.py:
Move the gtk-based progress bar to task.
2009-04-12 08:58:36 +00:00
Thomas Vander Stichele
f1d75142da
* examples/gtkcrc.py:
...
* morituri/common/crc.py:
* morituri/common/task.py:
* morituri/image/image.py:
Add a 'schedule' call to the TaskRunner class, so that we can
abstract things like gobject.timeout_add and reactor.callLater
Pass the runner to the task in Task.start() so a task can call
schedule.
2009-04-12 08:51:13 +00:00
Thomas Vander Stichele
51851cc67e
* examples/ARcue.py:
...
* morituri/common/task.py:
* morituri/image/image.py (added):
Add an object for handling an Image based on a .cue file.
Create a Task for CRC'ing the whole Image.
Make the example use this new task instead.
2009-04-11 17:01:40 +00:00
Thomas Vander Stichele
eda9968703
* examples/gtkcrc.py:
...
* morituri/common/task.py:
Add task object to listener interface methods.
2009-04-11 16:42:04 +00:00
Thomas Vander Stichele
8345938584
* examples/ARcue.py:
...
* examples/gtkcrc.py:
* morituri/common/crc.py:
* morituri/common/task.py:
Split out generic task/runner from CRC tasks.
2009-04-11 15:40:03 +00:00
Thomas Vander Stichele
1a02c32fc1
* examples/gtkcrc.py:
...
* morituri/common/task.py:
Don't block the main loop by infinitely scheduling
set_state.
2009-04-11 14:58:42 +00:00
Thomas Vander Stichele
8486ee782b
* examples/ARcue.py:
...
* examples/gtkcrc.py:
* morituri/common/task.py:
Make a real Task interface and use it.
Make runners reusable for multiple tasks.
gtkcrc.py seems to be blocking updates however.
2009-04-11 14:46:19 +00:00
Thomas Vander Stichele
7860fe275b
* examples/ARcue.py:
...
Error out when the file doesn't exist.
* morituri/common/task.py:
Drag the lake.
Clean up prints.
2009-04-11 12:54:45 +00:00
Thomas Vander Stichele
9488415ce7
* morituri/common/task.py:
...
Introduce constants for FRAMES_PER_DISC_FRAME
* examples/ARcue.py:
Use the constant.
Get the CRC right for the last track too.
2009-04-05 16:17:31 +00:00
Thomas Vander Stichele
18631a0fb6
* examples/ARcue.py:
...
* morituri/common/task.py:
Use an adapter to assemble CD frames.
Take into account special rules for first and last track.
Mention some bugs.
Remember to drag the lake from the task.
2009-03-26 14:23:25 +00:00
Thomas Vander Stichele
271bca108f
* examples/ARcue.py:
...
* morituri/common/task.py:
First version that seems to get some AccurateRip checksums right.
2009-03-22 15:07:42 +00:00
Thomas Vander Stichele
fc0d953138
add an example calculating crc's from a cue file
2009-03-02 08:46:41 +00:00
Thomas Vander Stichele
b8af96fd3c
add example of crc'ing with gtk progress bar
2009-03-02 08:46:19 +00:00
Thomas Vander Stichele
4c2b6e4c74
* morituri/image/cue.py:
...
publicize CueFile.tracks
Add a method to get track lengths
* examples/readcue.py:
Use it.
2009-02-28 13:43:44 +00:00
Thomas Vander Stichele
8bedff6f04
add example
2009-01-06 11:44:19 +00:00