Thomas Vander Stichele
c24574dfec
shorten accurip variable names
2009-06-24 17:17:17 +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
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
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
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
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
Thomas Vander Stichele
3883205ed1
* morituri/common/common.py:
...
Add an argument for the delimiter in formatting.
* morituri/common/encode.py:
Most programs use peak volume, not power, so do this too.
2009-06-04 09:04:19 +00:00
Thomas Vander Stichele
192d0739c5
* morituri/common/encode.py:
...
Add a test() method to the profile so we can warn about bad
flacenc versions.
Encode track number and count, and release date, if possible.
* morituri/rip/cd.py:
Fix another off-by-one error in the tag encoding.
2009-06-01 22:42:32 +00:00
Thomas Vander Stichele
2f3c0fdcaf
* morituri/common/encode.py:
...
* morituri/program/cdparanoia.py:
* morituri/rip/cd.py:
Clean up the temporary unencoded file.
Pass profile as objects to tasks, so that temp files have the right
extension.
2009-06-01 09:45:30 +00:00
Thomas Vander Stichele
f33c50cead
* morituri/common/encode.py:
...
* morituri/program/cdparanoia.py:
Add encoding profiles, kept simple for now as a class and
subclasses. Use them to encode. Calculate peak level while
encoding, compared to EAC and replaygain's value.
* morituri/rip/cd.py:
Use the encoding profiles, ripping with the right extension.
Add a --profile parameter for it.
2009-05-31 23:04:58 +00:00
Thomas Vander Stichele
7e13909382
* morituri/common/encode.py (added):
...
* examples/encode.py (added):
Add an Encode Task, hardcoded to flac for now.
Add an example, that also sets tags.
2009-05-26 21:31:21 +00:00
Thomas Vander Stichele
05dfeaa3a2
* morituri/common/task.py:
...
Add debug.
* morituri/rip/drive.py:
Show all drives, not just the ones that happen to have an Audio CD
inserted.
2009-05-26 21:30:49 +00:00
Thomas Vander Stichele
b6b5ea2c1b
add doc
2009-05-25 22:41:01 +00:00
Thomas Vander Stichele
ed7d5cedad
* morituri/common/task.py:
...
Add documentation.
Use a _task counter instead of duplicating tasks to
__tasks; this allows us to add tasks after starting.
Catch Exceptions during next() so that we don't get
stuck in a main loop that doesn't exit.
Raise it later when we're done.
2009-05-25 14:51:00 +00:00
Thomas Vander Stichele
10226d062d
* morituri/common/common.py:
...
Since the version was inherited from the current code
in unpickled objects, separate into classVersion and
an instanceVersion set from __init__.
2009-05-25 14:49:36 +00:00
Thomas Vander Stichele
59e8310135
* morituri/common/common.py:
...
Add a persisted cache so that we can store pickles on discs.
Automatically delete them if the class version is newer than
the object's.
* morituri/rip/cd.py:
Use it.
2009-05-24 18:13:16 +00:00
Thomas Vander Stichele
361a83dc27
* morituri/common/Makefile.am:
...
* morituri/common/drive.py (added):
Add drive module.
2009-05-23 18:24:39 +00:00
Thomas Vander Stichele
a3783c2be4
pychecker fixes
2009-05-23 18:18:50 +00:00
Thomas Vander Stichele
7dfc1fbc6c
* morituri/common/accurip.py:
...
* morituri/image/image.py:
* morituri/test/Makefile.am:
* morituri/test/test_image_image.py:
* morituri/test/test_common_accurip.py (added):
Move accuraterip stuff to the accurip module.
Move/create new test file.
2009-05-23 18:14:11 +00:00
Thomas Vander Stichele
5f872bdaf8
* morituri/rip/Makefile.am:
...
* morituri/rip/main.py:
* morituri/rip/drive.py (added):
Add 'rip drive list' command to list available drives.
* morituri/common/accurip.py:
Add force.
* morituri/rip/cd.py:
Add --output-directory argument.
2009-05-23 16:03:05 +00:00
Thomas Vander Stichele
9710e3cc7c
* morituri/common/Makefile.am:
...
* morituri/rip/cd.py:
* morituri/common/accurip.py (added):
Add a module for handling a cache of AccurateRip results.
Use it.
2009-05-23 13:38:44 +00:00
Thomas Vander Stichele
5f63551816
pychecker and docstring fixes
2009-05-23 07:49:48 +00:00
Thomas Vander Stichele
7e0e24adb9
more pychecker fixes
2009-05-22 20:52:29 +00:00
Thomas Vander Stichele
fa8239d1f5
* morituri/common/checksum.py:
...
More pychecker fixes.
2009-05-22 20:44:51 +00:00
Thomas Vander Stichele
41c92fcda4
pychecker fixes
2009-05-22 20:44:10 +00:00
Thomas Vander Stichele
e51d747a93
update for build
2009-05-22 20:39:11 +00:00
Thomas Vander Stichele
713a5d14fd
* morituri/common/common.py:
...
* morituri/common/renamer.py:
Pychecker fixes.
2009-05-22 20:29:09 +00:00
Thomas Vander Stichele
a35b4d4a01
* AUTHORS:
...
* Makefile.am:
* NEWS:
* TODO:
* autogen.sh:
* configure.ac:
* examples/ARcalibrate.py:
* misc/Makefile.am:
* misc/morituri-uninstalled:
* morituri.spec.in:
* morituri/Makefile.am:
* morituri/common/Makefile.am:
* morituri/common/logcommand.py:
* morituri/extern/Makefile.am:
* morituri/rip/Makefile.am:
* morituri/rip/__init__.py:
* morituri/rip/main.py:
* morituri/test/Makefile:
* morituri/test/Makefile.am:
* configure.ac (added):
* AUTHORS (added):
* morituri.spec.in (added):
* Makefile.am (added):
* morituri/test/Makefile.am (added):
* morituri/extern/Makefile.am (added):
* morituri/common/logcommand.py (added):
* morituri/common/Makefile.am (added):
* morituri/Makefile.am (added):
* morituri/rip (added):
* morituri/rip/__init__.py (added):
* morituri/rip/Makefile.am (added):
* morituri/rip/main.py (added):
* misc/Makefile.am (added):
* misc/morituri-uninstalled (added):
* autogen.sh (added):
* NEWS (added):
Start autotooling. Add a command-line application.
2009-05-22 20:08:16 +00:00
Thomas Vander Stichele
22ee8651d6
* morituri/common/common.py:
...
* morituri/image/cue.py:
Use FRAMES_PER_SECOND where appropriate.
2009-05-16 09:24:24 +00:00
Thomas Vander Stichele
59cb5d0dcb
* morituri/common/checksum.py:
...
* morituri/common/common.py:
* morituri/image/image.py:
* morituri/image/table.py:
* morituri/program/cdparanoia.py:
Move constants to common
2009-05-16 09:21:55 +00:00
Thomas Vander Stichele
204c5d6212
add another constant before we move
2009-05-16 09:16:09 +00:00
Thomas Vander Stichele
0431cbe148
add a debug line
2009-05-16 07:31:57 +00:00
Thomas Vander Stichele
36729a4bef
* morituri/common/task.py:
...
Log on runners too.
* morituri/program/cdrdao.py:
Abort if output has ERROR by killing and setting an exception.
2009-05-07 15:05:14 +00:00
Thomas Vander Stichele
e5ad3bde58
* morituri/common/task.py:
...
* morituri/image/image.py:
Remove prints. Describe tasks.
2009-05-07 11:11:22 +00:00
Thomas Vander Stichele
c06814e139
* morituri/common/task.py:
...
Add an exception ivar for tasks to set an exception on while
running. Make SyncRunner raise it during done()
* morituri/program/cdparanoia.py:
Set an exception if the ripped file doesn't match the expected size
(for example when disc is full)
2009-05-07 09:19:41 +00:00
Thomas Vander Stichele
9fb4264934
* morituri/common/common.py:
...
Set the object when we don't persist.
* examples/readdisc.py:
Small fixes.
2009-05-07 09:11:23 +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
d7f1f0a87a
* morituri/common/task.py:
...
Distinguish more clearly between MultiSeparateTask and
MultiCombinedTask.
2009-05-03 20:25:28 +00:00
Thomas Vander Stichele
e3c42ddf64
remove ellipses
2009-05-03 19:16:20 +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