Commit Graph

151 Commits

Author SHA1 Message Date
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
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