Commit Graph

135 Commits

Author SHA1 Message Date
Thomas Vander Stichele
64fb8c9f14 * morituri/common/program.py:
add release id to output.
	* morituri/rip/image.py:
	  add --release-id to rip image retag.  Fixes #96.
2012-12-06 17:42:14 +00:00
Thomas Vander Stichele
326caa84a8 * morituri/rip/debug.py:
Add rip debug tag to debug reading tags.
2012-12-06 17:16:41 +00:00
Thomas Vander Stichele
c261be455c * morituri/rip/image.py:
Use getRealPath when retagging an image, fixes bug where it
	  doesn't find the files relative to the cuepath.
2012-12-06 16:50:51 +00:00
Thomas Vander Stichele
0c9d3c552b * morituri/common/program.py:
* morituri/rip/cd.py:
	* morituri/rip/image.py:
	  Add stdout to program.  Use it for getting musicbrainz info.
2012-12-06 16:44:54 +00:00
Thomas Vander Stichele
efe078f231 rename variable 2012-12-06 16:34:08 +00:00
Thomas Vander Stichele
4647d107a9 * morituri/program/cdparanoia.py:
* morituri/test/test_program_cdparanoia.py:
	  Add a task that can analyze the drive for whether it defeats
	  the audio cache.
	* morituri/result/result.py:
	* morituri/rip/cd.py:
	  Make it possible to store whether a drive defeats audio cache
	  in the result.
	* morituri/rip/drive.py:
	  Add rip drive analyze command to analyze caching of a drive,
	  and store it in the config.
2012-12-04 00:14:42 +00:00
Thomas Vander Stichele
3a9a939520 paranoia deserves a capital P 2012-12-03 22:11:57 +00:00
Thomas Vander Stichele
5b670ab4fa add profile info to rip 2012-12-03 08:10:18 +00:00
Thomas Vander Stichele
fc2966b08a * morituri/rip/cd.py:
* morituri/result/result.py:
	  Store versions and encoding profile info in the rip result.
2012-12-02 22:00:43 +00:00
Thomas Vander Stichele
2b8d605b74 * morituri/rip/debug.py:
add rip debug resultcache log command to generate a log
	  based on a cached result.
2012-12-02 17:55:43 +00:00
Thomas Vander Stichele
09931dbd6b remove unused import 2012-12-02 17:55:10 +00:00
Thomas Vander Stichele
306e6f2ad7 * morituri/common/cache.py:
* morituri/rip/debug.py:
	* morituri/test/test_common_cache.py:
	  Add rip debug resultcache list to list cached results.
2012-12-02 17:27:15 +00:00
Thomas Vander Stichele
b86febb3b1 pep8 fixes 2012-12-02 16:40:46 +00:00
Thomas Vander Stichele
3e0363de32 pychecker fixes 2012-12-02 12:31:45 +00:00
Thomas Vander Stichele
d096db1e7c * morituri/rip/drive.py:
rip drive list now shows configured read offset if applicable.
2012-12-02 12:25:49 +00:00
Thomas Vander Stichele
5d26eae4b9 * morituri/rip/cd.py:
Use configured read offset for drive if possible.
	  Fixes #76.
2012-12-02 12:19:08 +00:00
Thomas Vander Stichele
1e980db4ef * morituri/rip/main.py:
Add the config object to the root command.
	* morituri/rip/offset.py:
	  Save the drive's read offset when we find it.
2012-12-02 12:18:15 +00:00
Thomas Vander Stichele
18c99b6e77 * morituri/common/drive.py:
* morituri/rip/drive.py:
	  Extract getDeviceInfo function.
2012-12-02 12:04:45 +00:00
Thomas Vander Stichele
cba7dbe41a pep8 fixes 2012-11-29 19:54:46 +00:00
Thomas Vander Stichele
f0cb567a0d * morituri/common/program.py:
* morituri/rip/cd.py:
	  Reset rip duration when we continue a rip but have to rerip
	  a track.
2012-11-28 08:19:43 +00:00
Thomas Vander Stichele
31a6bd942a patch by: mustbenice
* morituri/program/cdparanoia.py:
	* morituri/result/result.py:
	* morituri/rip/cd.py:
	* morituri/test/test_program_cdparanoia.py:
	  Get cdparanoia version.
	  Store both cdparanoia and cdrdao versions on rip result.
2012-11-25 22:00:42 +00:00
Thomas Vander Stichele
7f36f540d0 * morituri/result/logger.py:
* morituri/result/result.py:
	* morituri/rip/cd.py:
	* morituri/rip/main.py:
	  Expose loggers as pluggable.
	  Add --logger option to rip cd rip to specify logger.
2012-11-25 18:22:03 +00:00
Thomas Vander Stichele
9b4e653ae4 * morituri/common/common.py:
* morituri/common/program.py:
	* morituri/image/table.py:
	* morituri/rip/cd.py:
	* morituri/test/test_common_common.py:
	* morituri/test/test_image_toc.py:
	  Handle cases where disc_template and track_template are not in
	  the same directory.
2012-11-22 23:20:44 +00:00
Thomas Vander Stichele
4aa0fb0438 * morituri/rip/offset.py:
Don't let an exception on testing an offset slip pass.
	  Fixes #99.
2012-11-17 19:38:33 +00:00
Thomas Vander Stichele
108dc72f5f convert prints to writes 2012-11-17 19:35:57 +00:00
Thomas Vander Stichele
008e257f22 self.stdout instead of print 2012-11-12 08:02:57 +00:00
Thomas Vander Stichele
0fab4515c6 pep8 fixes 2012-11-11 23:00:37 +00:00
Thomas Vander Stichele
4a4e1ba128 * morituri/program/cdparanoia.py:
* morituri/rip/cd.py:
	  Add a number of tries to rip a track.
2012-11-11 22:40:53 +00:00
Thomas Vander Stichele
e4cbc33583 pep8 fixes 2012-11-11 22:39:13 +00:00
Thomas Vander Stichele
b186e74788 pep8 fixes 2012-11-11 22:26:11 +00:00
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