Commit Graph

162 Commits

Author SHA1 Message Date
Thomas Vander Stichele
fdab6f1e3f fix doc 2013-03-01 18:50:43 +01:00
Thomas Vander Stichele
a692542307 debug and cleanup 2013-02-26 23:12:16 +01:00
Thomas Vander Stichele
f890ba7f57 set useragent on musicbrainz 2013-02-07 09:20:38 +01:00
Thomas Vander Stichele
f010fd204c deduplicate rip directories with catalog number or barcode 2013-02-05 19:42:36 +01:00
Thomas Vander Stichele
b08357010e store catalog number and barcode in discmetadata 2013-02-05 19:42:36 +01:00
Thomas Vander Stichele
e3b168c2a1 key on musicbrainz disc id by default
Do not use cache if the mb disc id does not match the table cache value.

Fixes asserts on the mb disc id differing.

Fixes trac ticket 103.
2013-02-03 22:20:00 +01:00
Thomas Vander Stichele
1e9afffde6 extract code into program.getFastToc 2013-02-03 21:07:28 +01:00
Thomas Vander Stichele
dadcc5c54e add summary 2013-02-03 20:54:09 +01:00
Thomas Vander Stichele
dac8f2f921 fix whitespace 2013-02-03 14:58:19 +01:00
Thomas Vander Stichele
c4772303b7 check logger up front.
Fixes #8
2013-02-03 10:50:58 +01:00
Thomas Vander Stichele
7c3118e1f2 feature: add 'rip cd info'
split up CD command into a base class and two subclasses.
Make instance variables accordingly.
2013-02-02 23:35:22 +01:00
Frederik "Freso" S. Olesen
4040c95817 Add "%X" template variable for uppercase filename extension. 2013-02-01 17:33:19 +01:00
Thomas Vander Stichele
ad1cf0ff84 Handle broken pycdio 0.18 2013-01-28 22:13:25 +01:00
Thomas Vander Stichele
7b45d5681b return when we don't have a ret assigned 2013-01-27 22:30:21 +01:00
Thomas Vander Stichele
6ac8408f0d use python-deps to handle missing dependencies.
Apply it to gst python module.
2013-01-27 22:24:22 +01:00
Thomas Vander Stichele
24c48ba672 output drive cache defeating in rip drive list 2013-01-20 20:33:21 +01:00
Thomas Vander Stichele
298f13432a retry reading toc 3 times, often fails after loading 2013-01-20 20:02:46 +01:00
Thomas Vander Stichele
46feb71205 move common template options and description 2013-01-15 09:27:07 +01:00
Thomas Vander Stichele
090b9656d5 FEATURE: add --working-directory option
morituri will change to this directory before ripping, so
--output-directory is relative to this.
2013-01-13 16:47:48 +01:00
Thomas Vander Stichele
b80c89dbd6 default to include the release type (%r) in file paths 2013-01-13 16:13:29 +01:00
Thomas Vander Stichele
d92e117469 remove unused import 2013-01-13 16:13:20 +01:00
Thomas Vander Stichele
d9bf584c13 * morituri/common/config.py:
* morituri/rip/cd.py:
	* morituri/rip/drive.py:
	  Handle missing config better.
	  Fixes #111.
2013-01-06 21:31:03 +00:00
Thomas Vander Stichele
50a1bb02b1 * morituri/common/config.py:
* morituri/rip/cd.py:
	* morituri/test/test_common_config.py:
	  strip model/release too.
2013-01-01 23:00:32 +00:00
Thomas Vander Stichele
b5827847ef * morituri/common/program.py:
* morituri/rip/cd.py:
	  feature: add %x for extension to track/disc template.
2012-12-22 23:09:09 +00:00
Thomas Vander Stichele
f987210f6c * morituri/common/program.py:
* morituri/rip/image.py:
	  feature: add %r/%R for release type to track/disc template.
2012-12-22 22:52:48 +00:00
Thomas Vander Stichele
cf8f505d82 * morituri/common/musicbrainzngs.py:
* morituri/rip/debug.py:
	  Also store releaseType for disc metadata.
2012-12-22 18:17:05 +00:00
Thomas Vander Stichele
e616b4690d write mb disc id 2012-12-06 17:51:02 +00:00
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