Thomas Vander Stichele
ce71bfb5c2
* morituri/common/checksum.py:
...
* morituri/common/encode.py:
* morituri/common/gstreamer.py:
Move play to base class of GstPipelineTask.
2011-05-23 18:02:48 +00:00
Thomas Vander Stichele
3482288750
* morituri/common/gstreamer.py:
...
Add a stop method and a stopped overridable handler.
* morituri/common/checksum.py:
* morituri/common/encode.py:
Adapt to using stopped.
2011-05-23 15:26:19 +00:00
Thomas Vander Stichele
1ce46272a9
* morituri/test/test_common_encode.py:
...
Generate an actual file by spawning gst-launch; otherwise
with proper error handling we get an error from wavparse that
there is not enough data to typefind.
* morituri/common/gstreamer.py:
Move the gst import to start() and set it as a class attribute.
Document methods.
* morituri/common/encode.py:
Convert EncodeTask to a GstPipelineTask.
2011-05-23 14:57:16 +00:00
Thomas Vander Stichele
514bf4bc10
* morituri/common/encode.py:
...
Add some debug.
2011-05-23 13:46:46 +00:00
Thomas Vander Stichele
e47b30610d
* morituri/common/program.py:
...
AccurateRip responses should be treated per track; one response set
isn't necessarily from the same pressing.
The first response set contains all the highest confidence
checksums, and so on in decreasing order.
So don't assert about one track having a checksum matching from
a different response set.
Fixes #5 .
2011-05-22 23:26:32 +00:00
Thomas Vander Stichele
ac66d71e6b
based on code by: Loïc Minier <lool@dooz.org>
...
* morituri/rip/Makefile.am:
* morituri/rip/main.py:
* morituri/rip/accurip.py (added):
Add a rip accurip show command to show the accuraterip information
for a given URL. See #5 .
2011-05-22 18:06:57 +00:00
Thomas Vander Stichele
041a492f67
* morituri/image/table.py:
...
Extract one function to write a FILE line.
2011-05-22 17:17:33 +00:00
Thomas Vander Stichele
4c0036611e
patch by: Ross Burton <ross@burtonini.com>
...
* morituri/image/table.py:
When writing the .cue file, only write the basename, since
the .cue file gets stored in the album directory.
Fixes #10 .
2011-05-22 17:12:21 +00:00
Thomas Vander Stichele
10eb2ee176
* morituri/rip/main.py:
...
Give a nice error message if cdrdao cannot read the disc.
Fixes #62 .
2011-05-22 15:24:45 +00:00
Thomas Vander Stichele
ddb70f32e4
* morituri/rip/main.py:
...
Give a nice error message if cdrdao cannot read the disc.
Fixes #29 .
2011-05-22 15:24:14 +00:00
Thomas Vander Stichele
ccb4fcfaa1
* morituri/program/cdparanoia.py:
...
Since stop can be same as start, add + 1 to progress calculation.
Fixes #37 .
2011-05-22 15:17:27 +00:00
Thomas Vander Stichele
b32a534a82
* morituri/program/cdparanoia.py:
...
Since stop can be same as start, add + 1 to progress calculation.
Fiexes #37 .
2011-05-22 15:16:00 +00:00
Thomas Vander Stichele
965043dbf5
* morituri/common/gstreamer.py:
...
Remove unused imports.
* morituri/image/image.py:
Remove halfbaked code.
2011-05-22 11:14:46 +00:00
Thomas Vander Stichele
b86cf68341
* morituri/rip/cd.py:
...
Factor out function to write .m3u lines.
2011-05-22 11:12:16 +00:00
Thomas Vander Stichele
24afc106f9
patch by: Loïc Minier <lool@dooz.org>
...
* morituri/rip/cd.py:
Don't strip extension of HTOA track.
Fixes #50 .
2011-05-22 11:10:26 +00:00
Thomas Vander Stichele
14d23e7a09
* morituri/result/logger.py:
...
Always write strftime in C locale. Fixes second bug
mentioned in #49 .
2011-05-22 10:58:36 +00:00
Thomas Vander Stichele
6c2f3cc378
* morituri/common/checksum.py:
...
* morituri/image/image.py:
* morituri/test/test_common_checksum.py:
* morituri/common/gstreamer.py (added):
Factor out GstException and GstPipelineTask.
2011-05-21 17:01:19 +00:00
Thomas Vander Stichele
738a2edb0b
* misc/morituri-uninstalled:
...
The binary name is rip, so add an option to override.
Fixes #46 .
2011-05-21 16:19:12 +00:00
Thomas Vander Stichele
e2a1ab08c7
* morituri/rip/image.py:
...
Document image subcommand. Fixes #61 .
2011-05-21 16:05:12 +00:00
Thomas Vander Stichele
6962dd7e7e
* morituri/test/Makefile.am:
...
Package error progress output. Fixes distcheck on slaves.
2011-05-21 13:01:34 +00:00
Thomas Vander Stichele
88fc831d4c
* morituri/test/test_program_cdparanoia.py:
...
Update expected quality percentage.
Was broken since its commit in [432].
2011-05-21 12:44:23 +00:00
Thomas Vander Stichele
c301015537
* morituri/common/checksum.py:
...
* morituri/common/encode.py:
* morituri/image/table.py:
* morituri/rip/cd.py:
* morituri/rip/image.py:
* morituri/rip/offset.py:
* morituri/test/test_common_accurip.py:
* morituri/test/test_common_checksum.py:
* morituri/test/test_image_cue.py:
* morituri/test/test_image_table.py:
Pychecker fixes.
2011-05-21 11:50:39 +00:00
Thomas Vander Stichele
0da5dd0aa1
* morituri/common/checksum.py:
...
Actually raise the exception.
* morituri/common/task.py:
Document interface more clearly.
* morituri/test/test_common_checksum.py:
Use tcommon for test.common
2011-05-21 11:22:04 +00:00
Thomas Vander Stichele
019ad538d8
* morituri/common/common.py:
...
Don't fail on loading pickle.
2011-05-19 10:03:30 +00:00
Thomas Vander Stichele
0b520f2e86
* morituri/common/encode.py:
...
Alac does not have merge_tags. Fixes #15 .
2011-05-19 01:23:53 +00:00
Thomas Vander Stichele
f70ba7cb32
* morituri/program/cdparanoia.py:
...
* morituri/common/encode.py:
* morituri/common/program.py:
* morituri/rip/cd.py:
Add action and what args to describe task better.
2011-05-19 00:28:36 +00:00
Thomas Vander Stichele
9fe80e238e
* morituri/common/task.py:
...
Add more debug.
2011-05-19 00:27:20 +00:00
Thomas Vander Stichele
cc5a2c39e8
* morituri/rip/main.py:
...
More debug info: args, version, revision.
2011-05-18 23:57:25 +00:00
Thomas Vander Stichele
f3696f22d1
* morituri/configure/configure.py (svn:keywords):
...
Expand revision.
* morituri/configure/configure.py:
Set it on the revision local.
2011-05-18 23:56:27 +00:00
Thomas Vander Stichele
7bd0c5e2c0
* morituri/common/encode.py:
...
wavenc does not have merge_tags, it seems.
So don't call an element a tagger, don't merge tags if there is
no tagger, and complain if there is no merge_tags when we think
there should be.
2011-04-08 09:04:25 +00:00
Thomas Vander Stichele
39c22033e9
remove bogus entry
2011-03-23 19:41:02 +00:00
Thomas Vander Stichele
f8409b29e1
* morituri/program/cdparanoia.py:
...
cdparanoia can hang indefinitely on scsi read errors.
For example, on some drives, when trying negative offsets.
Notice them, count them, and fail after 100.
* morituri/test/test_program_cdparanoia.py:
* morituri/test/cdparanoia.progress.error (added):
Add a test for this output.
2011-03-23 19:40:47 +00:00
Thomas Vander Stichele
6a8355b109
* morituri/common/program.py:
...
* morituri/rip/offset.py:
When finding the offset, also load and possibly unmount, resolving
to the real path for the device.
2011-03-22 17:31:36 +00:00
Thomas Vander Stichele
335b49e4b4
* morituri/common/encode.py:
...
Debug failing to write tags better. See #60 .
2011-03-20 18:39:28 +00:00
Thomas Vander Stichele
b2a74e14c6
* morituri/program/cdparanoia.py:
...
Extend FileSizeError with an extra message.
* morituri/rip/offset.py:
Print a reasonable warning when we cannot rip with a certain offset.
See #57 .
2011-03-20 18:32:02 +00:00
Thomas Vander Stichele
ae2095c8c3
* morituri/rip/drive.py:
...
Fix typo. Fixes #59 .
2011-03-17 09:57:10 +00:00
Thomas Vander Stichele
e52d20c19a
* morituri/common/checksum.py:
...
Create a GstException to wrap a Gst.GError.
Create a base GstPipelineTask class.
Use it in Checksum and TRM tasks.
Raise and don't proceed to call .paused() when a GstError happens.
Should help debug https://bugs.launchpad.net/bugs/735053
* morituri/test/test_common_checksum.py:
Adapt test.
2011-03-15 22:44:05 +00:00
Thomas Vander Stichele
1216f13598
patch by: Ross Burton
...
* morituri/common/program.py:
On compilation albums the album artist is different to the artist.
If this is the case, morituri should write both tags.
Fixes #43 .
2011-01-09 21:15:44 +00:00
Thomas Vander Stichele
08fc4f67a6
* morituri/common/program.py:
...
* morituri/image/table.py:
* morituri/rip/cd.py:
Get CDDB disc id. Use it to print info when not found on
MusicBrainz.
2011-01-02 17:14:26 +00:00
Thomas Vander Stichele
568f1b7a4e
* morituri/rip/cd.py:
...
Add -U/--unknown option to continue ripping even if the CD is
unknown. Default to False.
2011-01-01 11:28:34 +00:00
Thomas Vander Stichele
6581261a76
* morituri/common/program.py:
...
* morituri/rip/cd.py:
Add load and eject device. Do so before and after ripping.
2011-01-01 11:24:26 +00:00
Thomas Vander Stichele
e0434f732c
patch by: Loïc Minier <lool at debian dot org>
...
* examples/ARcalibrate.py:
* examples/ARcue.py:
* examples/readdisc.py:
* morituri/rip/cd.py:
* morituri/rip/offset.py:
s/reponse/response.
Fixes #51 .
2010-11-14 22:48:15 +00:00
Thomas Vander Stichele
4fafb7d148
* morituri/program/cdrdao.py:
...
Add logCategory to CDRDAO tasks.
Remove errors from parser, set them publically on task.
Properly raise exceptions on data cd's with correct stack origin.
2010-11-08 20:00:43 +00:00
Thomas Vander Stichele
eebd632eef
* morituri/common/program.py:
...
Comment where we got the template variables from.
* morituri/rip/cd.py:
Document the template variables.
2010-07-08 21:37:49 +00:00
Thomas Vander Stichele
941db66398
* morituri/program/cdparanoia.py:
...
Warn about missing cdparanoia too.
2010-06-18 22:28:13 +00:00
Thomas Vander Stichele
0c5e13ce0f
* morituri/common/common.py:
...
Add MissingDependencyException.
* morituri/program/cdrdao.py:
* morituri/rip/main.py:
Use it to warn about missing cdrdao.
2010-06-18 22:02:53 +00:00
Thomas Vander Stichele
babf47ec1d
* morituri/common/task.py:
...
Add exception traceback for easier debugging.
2010-06-18 21:52:20 +00:00
Thomas Vander Stichele
c02547ac44
* morituri.spec.in:
...
Add requires for python-setuptools since we use parse_version.
Fixes #32 .
2010-05-23 18:37:24 +00:00
Thomas Vander Stichele
b918630f5e
* morituri/common/program.py:
...
Set results by default so that it is set even if we get an
exception getting them.
Fixes #35 .
2010-05-23 18:29:08 +00:00
Thomas Vander Stichele
cf1d8674ed
* morituri/test/test_image_toc.py:
...
Fix distcheck by writing unicode toc filename in a temp dir.
2010-04-25 19:39:39 +00:00