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
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
1529c2a082
change progress notify to log
2009-05-03 09:54:21 +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
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
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
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
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