Commit Graph

105 Commits

Author SHA1 Message Date
Thomas Vander Stichele
6b31fa47d1 pep8 fixes 2012-11-11 22:25:08 +00:00
Thomas Vander Stichele
1cfdcb7302 * morituri/rip/main.py:
Handle EmptyError.
2012-07-12 09:17:59 +00:00
Thomas Vander Stichele
6c50b72853 * morituri/rip/debug.py:
Add encode debug.
2012-07-12 09:12:13 +00:00
Thomas Vander Stichele
c4e170daad * TODO:
* morituri/common/program.py:
	* morituri/rip/cd.py:
	  Add rip cd rip --release-id as an option to select the exact
	  release this disc is a part of.
	  Fixes Radiohead - Pablo Honey and U2 - Achtung Baby
2012-01-23 10:09:24 +00:00
Thomas Vander Stichele
7f19859542 * morituri/rip/debug.py:
Properly write utf-8 encoded strings to stdout.
2012-01-22 18:55:59 +00:00
Thomas Vander Stichele
5e2f501e5e * morituri/rip/debug.py:
Remove musicbrainz command.
2011-10-29 14:58:05 +00:00
Thomas Vander Stichele
c2838ad05c * morituri/rip/main.py:
* morituri/common/musicbrainzngs.py:
	* morituri/common/program.py:
	* morituri/rip/cd.py:
	  Add -R option to rip to record API results for debugging.
2011-10-28 17:49:36 +00:00
Thomas Vander Stichele
83d212a20e * morituri/rip/debug.py:
* morituri/common/musicbrainzngs.py (added):
	  Rewrite using python-musicbrainz-ngs.
	  Add rip debug musicbrainzngs command for testing,
	  seems to work on Weezer - Blue Album - disc 2
2011-10-19 22:37:37 +00:00
Thomas Vander Stichele
131535cde5 * morituri/common/musicbrainz.py:
* morituri/rip/debug.py:
	  Doc/output fixes.
2011-10-19 18:45:22 +00:00
Thomas Vander Stichele
3c669a4f29 * morituri/rip/debug.py:
Adapt to splitup.
2011-10-19 18:42:34 +00:00
Thomas Vander Stichele
fa1fba9bc2 * morituri/rip/debug.py:
Add rip debug musicbrainz command to look up information on
	  disc id's.
2011-10-19 18:15:42 +00:00
Thomas Vander Stichele
9f1ad76fb8 whitespace removal 2011-10-19 17:32:35 +00:00
Thomas Vander Stichele
2c27b73d09 * morituri/common/common.py:
Add shrinkPath to write shorter path names.
	* morituri/test/test_common_common.py (added):
	  Add test.
	* morituri/program/cdparanoia.py:
	  Catch ENAMETOOLONG and shrink path.
	* morituri/common/program.py:
	  Update track result's filename if it was shrunk.
	* morituri/rip/cd.py:
	  set the possibly shrunk path on the result.
2011-09-18 15:19:45 +00:00
Thomas Vander Stichele
60772e655b remove import 2011-09-04 14:18:14 +00:00
Thomas Vander Stichele
44559cc0b0 change to description. 2011-09-04 14:18:00 +00:00
Thomas Vander Stichele
4f377406f9 make sure we stop on bad crc 2011-08-15 22:39:54 +00:00
Thomas Vander Stichele
e60b6d8441 * morituri/common/program.py:
* morituri/rip/debug.py:
	  Pychecker fixes.
2011-08-14 14:20:06 +00:00
Thomas Vander Stichele
2273db764c * morituri/common/program.py:
* morituri/rip/cd.py:
	  Always print MusicBrainz URL.
2011-08-14 12:20:30 +00:00
Thomas Vander Stichele
e95d7a159b * morituri/rip/cd.py:
Make sure we definitely fail on failed checksum.
2011-08-13 16:42:52 +00:00
Thomas Vander Stichele
3093d50986 * morituri/rip/debug.py:
Add checksum task for debugging.
2011-08-06 12:26:04 +00:00
Thomas Vander Stichele
798a209195 * morituri/extern/task (added):
* morituri/extern/task/taskgtk.py (added):
	* morituri/extern/task/gstreamer.py (added):
	* morituri/extern/task/task.py (added):
	* morituri/common/taskgtk.py (deleted):
	* morituri/common/gstreamer.py (deleted):
	* morituri/common/task.py (deleted):
	  Move task-related modules into an extern directory so other
	  projects can use them.
	* morituri/common/checksum.py:
	* morituri/common/encode.py:
	* morituri/image/image.py:
	* morituri/program/cdparanoia.py:
	* morituri/program/cdrdao.py:
	* morituri/rip/cd.py:
	* morituri/rip/debug.py:
	* morituri/rip/image.py:
	* morituri/rip/main.py:
	* morituri/rip/offset.py:
	* morituri/test/test_common_checksum.py:
	* morituri/test/test_common_encode.py:
	* morituri/test/test_image_image.py:
	  Adapt.  Tests work.
2011-08-05 18:50:51 +00:00
Thomas Vander Stichele
bdbd7768eb * morituri/rip/cd.py:
Use %default in options description.
2011-05-31 08:27:44 +00:00
Thomas Vander Stichele
0157c084a1 * morituri/rip/cd.py:
Ouch, was using the DISC TEMPLATE for the tracks.
2011-05-31 08:25:01 +00:00
Thomas Vander Stichele
ffbc4268fd * morituri/rip/cd.py:
Templates should have same number of slashes.
	  This avoids #66.
	  (Possibly, it should also be the same directory, or more code
	   should be written to handle that case).
	* morituri/rip/main.py:
	  Catch CommandError.
2011-05-30 18:25:40 +00:00
Thomas Vander Stichele
263260f820 * morituri/rip/cd.py:
Create variables for default templates.
2011-05-30 18:04:24 +00:00
Thomas Vander Stichele
faf18f32f6 add debug 2011-05-30 13:08:29 +00:00
Thomas Vander Stichele
9a6af593f8 * morituri/rip/Makefile.am:
* morituri/rip/main.py:
	* morituri/rip/debug.py (added):
	  Add helper command to debug tasks.
	* morituri/common/encode.py:
	  Add debug.
2011-05-24 16:30:41 +00:00
Thomas Vander Stichele
234ac4c644 * morituri/common/common.py:
Add an EmptyError.
	* morituri/common/checksum.py:
	  Set it when we don't get any frames.
	* morituri/rip/main.py:
	  Catch it and stop ripping if this happens.
2011-05-24 15:15:44 +00:00
Thomas Vander Stichele
573d7131b2 remove unused var 2011-05-22 21:36:27 +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
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
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
e2a1ab08c7 * morituri/rip/image.py:
Document image subcommand.  Fixes #61.
2011-05-21 16:05:12 +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
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
cc5a2c39e8 * morituri/rip/main.py:
More debug info: args, version, revision.
2011-05-18 23:57:25 +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
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
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
1ca176a91a eject as well 2011-01-01 17:51:54 +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
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
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
243d949853 * morituri/rip/cd.py:
Log the version at the beginning to help in bug reports.
2010-04-25 17:41:30 +00:00
Thomas Vander Stichele
86c97aa63e * morituri/rip/main.py:
Fix another UnicodeEncodeError problem as mentioned in #25.
2010-04-25 17:39:30 +00:00
Thomas Vander Stichele
c68848026a * morituri/common/encode.py:
* morituri/rip/image.py:
	  Provide status on the retagging.
2010-04-14 22:01:45 +00:00