114fb827cc
* morituri/common/task.py: Document and change name of a method.
Thomas Vander Stichele
2011-05-24 10:39:02 +00:00
8771d439dc
* morituri/common/gstreamer.py: Add a cvar to stop going to playing. * morituri/image/image.py: Convert AudioLengthTask to GstPipelineTask. * morituri/test/test_image_image.py: Adapt to new typefind error we run in.
Thomas Vander Stichele
2011-05-24 10:27:06 +00:00
c5593a4070
add exception to debug
Thomas Vander Stichele
2011-05-23 18:26:56 +00:00
9e70e24516
add a repr to show GError
Thomas Vander Stichele
2011-05-23 18:24:08 +00:00
c314dcb597
* morituri/common/gstreamer.py: Stop task when we get an exception. Don't make pipeline go to PLAYING if we got an exception before doing so.
Thomas Vander Stichele
2011-05-23 18:08:25 +00:00
eef8b18435
* morituri/common/encode.py: Convert TagReadTask to gstreamer.GstPipelineTask and remove lots of duplicate code.
Thomas Vander Stichele
2011-05-23 18:05:31 +00:00
ce71bfb5c2
* morituri/common/checksum.py: * morituri/common/encode.py: * morituri/common/gstreamer.py: Move play to base class of GstPipelineTask.
Thomas Vander Stichele
2011-05-23 18:02:48 +00:00
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.
Thomas Vander Stichele
2011-05-23 15:26:19 +00:00
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.
Thomas Vander Stichele
2011-05-23 14:57:16 +00:00
514bf4bc10
* morituri/common/encode.py: Add some debug.
Thomas Vander Stichele
2011-05-23 13:46:46 +00:00
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.
Thomas Vander Stichele
2011-05-22 23:26:32 +00:00
573d7131b2
remove unused var
Thomas Vander Stichele
2011-05-22 21:36:27 +00:00
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.
Thomas Vander Stichele
2011-05-22 18:06:57 +00:00
041a492f67
* morituri/image/table.py: Extract one function to write a FILE line.
Thomas Vander Stichele
2011-05-22 17:17:33 +00:00
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.
Thomas Vander Stichele
2011-05-22 17:12:21 +00:00
10eb2ee176
* morituri/rip/main.py: Give a nice error message if cdrdao cannot read the disc. Fixes#62.
Thomas Vander Stichele
2011-05-22 15:24:45 +00:00
ddb70f32e4
* morituri/rip/main.py: Give a nice error message if cdrdao cannot read the disc. Fixes#29.
Thomas Vander Stichele
2011-05-22 15:24:14 +00:00
1c6ec82df9
add comment
Thomas Vander Stichele
2011-05-22 15:18:06 +00:00
ccb4fcfaa1
* morituri/program/cdparanoia.py: Since stop can be same as start, add + 1 to progress calculation. Fixes#37.
Thomas Vander Stichele
2011-05-22 15:17:27 +00:00
b32a534a82
* morituri/program/cdparanoia.py: Since stop can be same as start, add + 1 to progress calculation. Fiexes #37.
Thomas Vander Stichele
2011-05-22 15:16:00 +00:00
5fc1428622
distribute
Thomas Vander Stichele
2011-05-22 12:42:18 +00:00
14d23e7a09
* morituri/result/logger.py: Always write strftime in C locale. Fixes second bug mentioned in #49.
Thomas Vander Stichele
2011-05-22 10:58:36 +00:00
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.
Thomas Vander Stichele
2011-05-21 17:01:19 +00:00
b797d40cce
document
Thomas Vander Stichele
2011-05-21 16:42:11 +00:00
738a2edb0b
* misc/morituri-uninstalled: The binary name is rip, so add an option to override. Fixes#46.
Thomas Vander Stichele
2011-05-21 16:19:12 +00:00
1bc7b4f005
update
Thomas Vander Stichele
2011-05-21 15:40:54 +00:00
6962dd7e7e
* morituri/test/Makefile.am: Package error progress output. Fixes distcheck on slaves.
Thomas Vander Stichele
2011-05-21 13:01:34 +00:00
88fc831d4c
* morituri/test/test_program_cdparanoia.py: Update expected quality percentage. Was broken since its commit in [432].
Thomas Vander Stichele
2011-05-21 12:44:23 +00:00
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
Thomas Vander Stichele
2011-05-21 11:22:04 +00:00
019ad538d8
* morituri/common/common.py: Don't fail on loading pickle.
Thomas Vander Stichele
2011-05-19 10:03:30 +00:00
0b520f2e86
* morituri/common/encode.py: Alac does not have merge_tags. Fixes#15.
Thomas Vander Stichele
2011-05-19 01:23:53 +00:00
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.
Thomas Vander Stichele
2011-05-19 00:28:36 +00:00
9fe80e238e
* morituri/common/task.py: Add more debug.
Thomas Vander Stichele
2011-05-19 00:27:20 +00:00
cc5a2c39e8
* morituri/rip/main.py: More debug info: args, version, revision.
Thomas Vander Stichele
2011-05-18 23:57:25 +00:00
f3696f22d1
* morituri/configure/configure.py (svn:keywords): Expand revision. * morituri/configure/configure.py: Set it on the revision local.
Thomas Vander Stichele
2011-05-18 23:56:27 +00:00
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.
Thomas Vander Stichele
2011-04-08 09:04:25 +00:00
39c22033e9
remove bogus entry
Thomas Vander Stichele
2011-03-23 19:41:02 +00:00
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.
Thomas Vander Stichele
2011-03-23 19:40:47 +00:00
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.
Thomas Vander Stichele
2011-03-22 17:31:36 +00:00
82edb39c03
update README
Thomas Vander Stichele
2011-03-20 19:30:24 +00:00
335b49e4b4
* morituri/common/encode.py: Debug failing to write tags better. See #60.
Thomas Vander Stichele
2011-03-20 18:39:28 +00:00
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.
Thomas Vander Stichele
2011-03-20 18:32:02 +00:00
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.
Thomas Vander Stichele
2011-03-15 22:44:05 +00:00
d0c87c3861
add doc
Thomas Vander Stichele
2011-03-15 22:41:08 +00:00
8bfa337180
change url
Thomas Vander Stichele
2011-02-21 21:26:29 +00:00
a05410051c
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.
Thomas Vander Stichele
2011-01-09 21:34:21 +00:00
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.
Thomas Vander Stichele
2011-01-09 21:15:44 +00:00
161c76f444
require python-CDDB
Thomas Vander Stichele
2011-01-02 17:14:41 +00:00
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.
Thomas Vander Stichele
2011-01-02 17:14:26 +00:00
1ca176a91a
eject as well
Thomas Vander Stichele
2011-01-01 17:51:54 +00:00
322ec7f5e5
add errors properly
Thomas Vander Stichele
2011-01-01 11:29:40 +00:00
568f1b7a4e
* morituri/rip/cd.py: Add -U/--unknown option to continue ripping even if the CD is unknown. Default to False.
Thomas Vander Stichele
2011-01-01 11:28:34 +00:00
6581261a76
* morituri/common/program.py: * morituri/rip/cd.py: Add load and eject device. Do so before and after ripping.
Thomas Vander Stichele
2011-01-01 11:24:26 +00:00
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.
Thomas Vander Stichele
2010-11-08 20:00:43 +00:00
e104981a54
add track
Thomas Vander Stichele
2010-11-08 19:30:45 +00:00
eebd632eef
* morituri/common/program.py: Comment where we got the template variables from. * morituri/rip/cd.py: Document the template variables.
Thomas Vander Stichele
2010-07-08 21:37:49 +00:00
941db66398
* morituri/program/cdparanoia.py: Warn about missing cdparanoia too.
Thomas Vander Stichele
2010-06-18 22:28:13 +00:00
0c5e13ce0f
* morituri/common/common.py: Add MissingDependencyException. * morituri/program/cdrdao.py: * morituri/rip/main.py: Use it to warn about missing cdrdao.
Thomas Vander Stichele
2010-06-18 22:02:53 +00:00
babf47ec1d
* morituri/common/task.py: Add exception traceback for easier debugging.
Thomas Vander Stichele
2010-06-18 21:52:20 +00:00
c02547ac44
* morituri.spec.in: Add requires for python-setuptools since we use parse_version. Fixes#32.
Thomas Vander Stichele
2010-05-23 18:37:24 +00:00
757abde725
display checksum as hex instead so it is the same as the other one
Thomas Vander Stichele
2010-05-23 18:33:00 +00:00
b918630f5e
* morituri/common/program.py: Set results by default so that it is set even if we get an exception getting them. Fixes#35.
Thomas Vander Stichele
2010-05-23 18:29:08 +00:00
cf1d8674ed
* morituri/test/test_image_toc.py: Fix distcheck by writing unicode toc filename in a temp dir.
Thomas Vander Stichele
2010-04-25 19:39:39 +00:00
243d949853
* morituri/rip/cd.py: Log the version at the beginning to help in bug reports.
Thomas Vander Stichele
2010-04-25 17:41:30 +00:00
86c97aa63e
* morituri/rip/main.py: Fix another UnicodeEncodeError problem as mentioned in #25.
Thomas Vander Stichele
2010-04-25 17:39:30 +00:00
6c85474984
add release notes
Thomas Vander Stichele
2010-04-17 23:12:21 +00:00
171621d06c
* morituri/test/Makefile.am: * morituri/test/jose.toc (added): * morituri/test/JoséGonzález.toc (deleted): Rename utf-8 file to a normal file. * morituri/test/common.py: * morituri/test/test_common_checksum.py: * morituri/test/test_common_encode.py: * morituri/test/test_image_image.py: * morituri/test/test_image_toc.py: Copy the normal file first to the utf-8 filename, if supported. Skip tests that need unicode when we are not in a utf-8 locale.
Thomas Vander Stichele
2010-04-17 23:07:57 +00:00
0db1c45bfc
* configure.ac: * doc/release: Back to trunk.
Thomas Vander Stichele
2010-04-16 22:19:38 +00:00
06101f2ad4
releasing 0.1.1, Dead
Thomas Vander Stichele
2010-04-16 21:54:25 +00:00
a4a1df9d2f
remove print
Thomas Vander Stichele
2010-04-16 21:12:11 +00:00
5a778deca7
move checksum import inline so we don't import gst again
Thomas Vander Stichele
2010-04-16 21:11:50 +00:00
61193a4398
BaseException.message is deprecated so avoid it
Thomas Vander Stichele
2010-04-16 20:59:35 +00:00
57b7057bd3
don't fail on htoa because we have no musicbrainz info
Thomas Vander Stichele
2010-04-16 20:59:15 +00:00
4dd70671b9
add note
Thomas Vander Stichele
2010-04-16 20:01:39 +00:00
c68848026a
* morituri/common/encode.py: * morituri/rip/image.py: Provide status on the retagging.
Thomas Vander Stichele
2010-04-14 22:01:45 +00:00
710a9ebb35
patch by: Peter Oliver * morituri/program/cdparanoia.py: Respect umask for encoded files. Fixes#17.
Thomas Vander Stichele
2010-04-14 22:01:16 +00:00
3361edbee2
* morituri/common/encode.py: Before moving the newly tagged file to overwrite the original one, copy over mode.
Thomas Vander Stichele
2010-04-14 21:44:09 +00:00
db58d6da05
* morituri/common/program.py: Commit one missing line from patch in #4 for multi-artist discs.
Thomas Vander Stichele
2010-04-14 08:03:10 +00:00
ed6c468fba
* morituri/common/program.py: Commit one missing line from patch in #4 for multi-artist discs.
Thomas Vander Stichele
2010-04-14 08:02:35 +00:00
db74af7ff4
patch by: Peter Oliver. * morituri/common/program.py: Handle multi-artist releases where track artist is unset. Fixes#14.
Thomas Vander Stichele
2010-04-14 07:58:14 +00:00
192c047ae6
* morituri/rip/image.py: Fix more utf-8 issues.
Thomas Vander Stichele
2010-04-14 07:55:05 +00:00
887ee06c65
* morituri/rip/image.py: Fix more utf-8 issues.
Thomas Vander Stichele
2010-04-14 07:23:06 +00:00
866a0a27d9
fix case of not having mb info
Thomas Vander Stichele
2010-04-13 22:24:17 +00:00
3c8a89a2ba
fix case of not having mb info
Thomas Vander Stichele
2010-04-13 22:22:28 +00:00
5b965a757b
* morituri/image/image.py: Remove dead code.
Thomas Vander Stichele
2010-04-13 22:10:58 +00:00
cee915fbd2
* morituri/common/encode.py: Fix wrong code for checksum comparison.
Thomas Vander Stichele
2010-04-13 22:10:06 +00:00
25ed7459b1
* morituri/common/program.py: Rename some vars to start with mbid. Fix pychecker issues.
Thomas Vander Stichele
2010-04-13 22:09:22 +00:00
e596023fd0
remove unused var
Thomas Vander Stichele
2010-04-13 22:05:53 +00:00
4cc8b753b8
pychecker fix
Thomas Vander Stichele
2010-04-13 21:58:13 +00:00
297451ea0e
* morituri/common/program.py: Add a retagging command. Add a getMusicBrainz() method. * morituri/rip/cd.py: Use it. * morituri/image/image.py: Add a task to retag an image. * morituri/rip/image.py: Add a command to retag an image.
Thomas Vander Stichele
2010-04-13 21:57:29 +00:00
d9ca12d7cc
* morituri/common/encode.py: Add tasks to read, write, and safely retag flac files. * morituri/test/test_common_encode.py: Add tests for this.
Thomas Vander Stichele
2010-04-13 21:55:35 +00:00
7515cf9e73
* morituri/common/checksum.py: Style fixes. * morituri/common/common.py: Add functions to convert a gst.TagList to a dict and compare them. * morituri/common/task.py: Add setAndRaiseException which gives us an appropriate exceptionMessage as if we raised where we called this new function.
Thomas Vander Stichele
2010-04-13 21:53:43 +00:00