Thomas Vander Stichele
6ae35a7a08
* morituri/common/task.py:
...
Wrap exceptions during tasks in a TaskException, storing the
message, for improved error reporting later on.
2010-04-04 23:10:44 +00:00
Thomas Vander Stichele
96e5fb2c2c
* doc/Makefile.am:
...
* morituri.spec.in:
* morituri/extern/Makefile.am:
Use help2man.py to generate manpage.
2010-04-04 23:08:35 +00:00
Thomas Vander Stichele
0ebd8dc54b
make logging work
2010-04-04 22:31:29 +00:00
Thomas Vander Stichele
22a3554381
* morituri/common/encode.py:
...
* morituri/common/program.py:
* morituri/image/image.py:
* morituri/program/cdparanoia.py:
* morituri/rip/cd.py:
* morituri/rip/image.py:
* morituri/rip/offset.py:
Move all gst-using imports inside functions and classes
to avoid 'import gst' eating our options.
Fixes #12 .
2010-04-04 19:29:49 +00:00
Thomas Vander Stichele
17f800cdb3
remove result.py
2010-03-15 15:18:28 +00:00
Thomas Vander Stichele
c6d374bd16
* morituri/common/Makefile.am:
...
Add missing result.py
* morituri/test/Makefile.am:
* morituri/test/test_image_toc.py:
* morituri/test/JoséGonzález.toc (added):
* morituri/test/José González.toc (deleted):
automake doesn't handle spaces in names, so move it.
2010-03-15 15:16:14 +00:00
Thomas Vander Stichele
efbfc717aa
* morituri/rip/offset.py:
...
Add a more complete list of offsets, obtained using misc/offsets.py
2010-03-14 13:03:50 +00:00
Thomas Vander Stichele
a9097bad73
* morituri/common/encode.py:
...
Handle utf-8 properly.
2010-02-28 19:02:57 +00:00
Thomas Vander Stichele
1788470dcf
* morituri/common/program.py:
...
Fix a problem with Arid's new album of not having an id.
2010-02-28 19:02:03 +00:00
Thomas Vander Stichele
ee186a0d30
* morituri/common/accurip.py:
...
The AccuRip cache dir could exist without the file; handle that
case.
2010-01-31 15:54:12 +00:00
Thomas Vander Stichele
26ecd42c2f
* morituri/common/program.py:
...
For Various Artists releases, fall back to the release artist if
the track artist is None.
2009-12-28 16:50:36 +00:00
Thomas Vander Stichele
83027a710a
apparently this can also throw indexerror
2009-12-09 17:37:41 +00:00
Thomas Vander Stichele
ace1a096bf
handle exceptions when opening device
2009-12-09 17:37:19 +00:00
Thomas Vander Stichele
fe68f676c9
* morituri/image/image.py:
...
Add ImageEncodeTask to encode a disk image to a different profile
and directory.
* morituri/common/encode.py:
Add lossy encoding profiles for mp3 and vorbis.
Rename muxer to tagger since that's what we use it for.
Do progress probe after level to make sure we get samples for
offsets.
* morituri/rip/image.py:
Add rip image encode command.
2009-10-17 13:53:58 +00:00
Thomas Vander Stichele
13936a6f11
adding test file
2009-10-17 12:50:13 +00:00
Thomas Vander Stichele
757c3aba15
* morituri/common/task.py:
...
Add exceptionMessage on Task to store the result of
log.getExceptionMessage when the stack is still valid.
2009-10-16 21:39:19 +00:00
Thomas Vander Stichele
b3888a7017
finally fix whitespace
2009-09-26 15:07:12 +00:00
Thomas Vander Stichele
31b93a2abe
whitespace fixes
2009-09-26 14:33:07 +00:00
Thomas Vander Stichele
5cf823a640
* morituri/program/cdparanoia.py:
...
explicitize keyword args.
Break some 80+ lines.
2009-09-19 11:58:33 +00:00
Thomas Vander Stichele
2fc5623330
* morituri/rip/offset.py:
...
Pass device parameter to ReadTrackTask. Thanks to Alex B for
spotting this on my blog.
2009-09-19 11:58:14 +00:00
Thomas Vander Stichele
ce7b5762f7
* morituri/program/cdparanoia.py:
...
* morituri/rip/offset.py:
Another unicode fix.
2009-09-12 17:23:39 +00:00
Thomas Vander Stichele
b455f13080
another unicode fix
2009-09-12 09:10:56 +00:00
Thomas Vander Stichele
dfa3efe662
* HACKING:
...
More unicode notes.
* morituri/common/program.py:
* morituri/image/table.py:
* morituri/image/toc.py:
* morituri/result/result.py:
* morituri/rip/cd.py:
* morituri/test/test_image_toc.py:
Further unicode fixes, for options, CD-Text, paths, ...
2009-09-11 22:16:46 +00:00
Thomas Vander Stichele
f3bf6220fb
remove code.interact
...
fix another unicode oversight
2009-09-11 15:50:45 +00:00
Thomas Vander Stichele
8f94731876
pychecker fix
2009-09-11 15:43:47 +00:00
Thomas Vander Stichele
d30eb59a66
* morituri/program/cdrdao.py:
...
Wrap read in an exception handler.
* morituri/common/task.py:
Debug exceptions more.
2009-09-11 15:41:51 +00:00
Thomas Vander Stichele
e6f13ccf84
* HACKING:
...
Note unicode handling.
* morituri/test/test_image_image.py:
* morituri/image/table.py:
* morituri/program/cdparanoia.py:
* morituri/common/checksum.py:
Use unicode for paths.
Use repr for path representation.
* morituri/test/test_common_checksum.py:
Add test for unicode audio file name.
2009-09-11 15:40:44 +00:00
Thomas Vander Stichele
9a15e890e0
* morituri/image/cue.py:
...
* morituri/image/toc.py:
* morituri/test/test_image_cue.py:
* morituri/test/test_image_toc.py:
Read input file as utf-8. Fix logging of paths.
* morituri/image/image.py:
Document and add asserts for unicodeness of paths.
Encode path in launch lines as utf-8
2009-09-11 15:37:02 +00:00
Thomas Vander Stichele
ac9d8f194d
* morituri/common/task.py:
...
Make SyncRunner wrap start() so we correctly handle any
exception being thrown.
2009-09-11 12:08:02 +00:00
Thomas Vander Stichele
d9530cb82a
* morituri/common/checksum.py:
...
* morituri/test/Makefile.am:
* morituri/test/test_common_checksum.py (added):
Add a check to make sure that checksumming an empty file doesn't
hang. Fix the hang.
2009-09-11 11:48:17 +00:00
Thomas Vander Stichele
acd444608b
remove duplicate line
2009-09-08 21:15:02 +00:00
Thomas Vander Stichele
f5f1811881
* morituri/common/program.py:
...
Fix getting AccurateRip results for albums with a HTOA.
* morituri/test/Makefile.am:
* morituri/test/test_common_program.py:
* morituri/test/silentalarm.result.pickle (added):
Add testcase for it, Bloc Party's Silent Alarm.
2009-09-07 18:57:14 +00:00
Thomas Vander Stichele
ed2b4d4806
remove unexisting file
2009-09-06 22:43:51 +00:00
Thomas Vander Stichele
2efcb21a63
* morituri/rip/cd.py:
...
Fix warning against rebuilt package.
2009-09-06 18:04:21 +00:00
Thomas Vander Stichele
402c3c019a
* README:
...
Fix up dependencies.
* morituri.spec.in:
Fix dependencies and noarch install location.
* morituri/common/Makefile.am:
Add result.py to dist
2009-09-06 17:08:17 +00:00
Thomas Vander Stichele
6df7313dc4
* morituri/program/cdrdao.py:
...
Parse version number.
* morituri/rip/cd.py:
Warn about cdrdao versions with a bug.
* morituri/test/test_program_cdrdao.py:
Test that we can parse the version.
2009-09-05 22:06:02 +00:00
Thomas Vander Stichele
e61a10266d
* morituri/program/cdrdao.py:
...
Handle errors. Tested by not having a CD in the drive.
2009-07-02 20:36:35 +00:00
Thomas Vander Stichele
b9bc3ba154
* morituri/common/task.py:
...
Document better.
Create an ITaskListener interface where we can document.
Log some more.
2009-07-02 20:34:50 +00:00
Thomas Vander Stichele
bd146a9a35
fix distcheck
2009-06-28 12:43:22 +00:00
Thomas Vander Stichele
e04e02a31e
fix for when there are no responses
2009-06-24 21:30:08 +00:00
Thomas Vander Stichele
1e063f08a7
* morituri/test/test_common_program.py:
...
* morituri/common/program.py:
Extract a common method to get textual representation of
AccurateRip results, and test it.
* morituri/rip/cd.py:
* morituri/rip/image.py:
Use the method.
2009-06-24 20:47:44 +00:00
Thomas Vander Stichele
5d002d9126
doc update
2009-06-24 20:46:37 +00:00
Thomas Vander Stichele
32d67902d0
fix i
2009-06-24 19:19:43 +00:00
Thomas Vander Stichele
d57cb7ad15
* morituri/image/table.py:
...
Fix deprecationwarning for python 2.6
2009-06-24 19:18:41 +00:00
Thomas Vander Stichele
0d3651ab12
* morituri/test/test_common_program.py (added):
...
* morituri/common/program.py:
Break verifyImage into two so we can test it.
Test it using an AccurateRip result for Luke Haines Is Dead
which had a wrongly ripped track 10.
2009-06-24 18:40:27 +00:00
Thomas Vander Stichele
53e8d9275c
pychecker fix
2009-06-24 18:39:07 +00:00
Thomas Vander Stichele
7f2979b249
update docs
2009-06-24 18:38:51 +00:00
Thomas Vander Stichele
c24574dfec
shorten accurip variable names
2009-06-24 17:17:17 +00:00
Thomas Vander Stichele
0b80eaaa9d
* morituri/result/result.py:
...
Document some more.
2009-06-24 16:34:47 +00:00
Thomas Vander Stichele
6e3e0a7218
* morituri/test/Makefile.am:
...
* morituri/test/dBAR-020-002e5023-029d8e49-040eaa14.bin (added):
Add AR result for Luke Haines Is Dead disc 1
2009-06-24 16:31:48 +00:00