Commit Graph

724 Commits

Author SHA1 Message Date
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
6d80e25ce1 add to TODO 2013-01-13 16:07:48 +01:00
Thomas Vander Stichele
862221c5fd add flacparse 2013-01-13 16:06:32 +01:00
Thomas Vander Stichele
3823c9cea0 ignore only toplevel configure 2013-01-13 16:05:57 +01:00
Thomas Vander Stichele
05cb0958cd ignore more 2013-01-13 16:04:24 +01:00
Thomas Vander Stichele
f5c4068f6a moap ignore 2013-01-13 16:00:03 +01:00
Thomas Vander Stichele
8d014b9e76 add submodules 2013-01-13 15:54:04 +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
25947c369d update error message 2013-01-06 21:27:35 +00:00
Thomas Vander Stichele
813a41badf whitespace and commenting 2013-01-06 15:25:51 +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
197bce97c5 fix test 2012-12-23 09:48:41 +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
c08a06b1e9 * morituri/common/program.py:
feature: add %r/%R for release type to track/disc template.
	* morituri/rip/image.py:
	  feature: add rip image rename to rename files based on metadata.
2012-12-22 22:53:48 +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
f31bce225e add ivar 2012-12-06 17:49:50 +00:00
Thomas Vander Stichele
1c1d1c954e add FIXME 2012-12-06 17:49:32 +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
90a8d4992c * morituri/common/common.py:
Strip bitrate tags too for comparison of dicts.
	  Add a way to show us the different keys between dicts.
	* morituri/common/encode.py:
	  Debug different keys.
2012-12-06 17:28:24 +00:00
Thomas Vander Stichele
90bb3a7371 * morituri/common/encode.py:
Collect all tags by replacing from newer tag messages.
	  Gets more than bitrate from flacs now.
2012-12-06 17:18:32 +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
43963a0050 log all tasks 2012-12-06 16:58:44 +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
cec7f71502 * morituri/common/task.py:
Failed and done can stay unimplemented.
	  If we read stdout or stderr, reschedule immediately to process
	  all output before considering the possibility the program stopped.
2012-12-04 00:13:25 +00:00
Thomas Vander Stichele
7545829764 * morituri/common/config.py:
Add methods to get/set defeating of audio cache.
	  Make sure that we set read offset even if section is already there.
2012-12-04 00:12:38 +00:00
Thomas Vander Stichele
b8fd3f2931 * morituri/common/task.py:
* morituri/program/cdrdao.py:
	  Factor out a PopenTask base class.
2012-12-03 22:58:22 +00:00
Thomas Vander Stichele
3a9a939520 paranoia deserves a capital P 2012-12-03 22:11:57 +00:00
Thomas Vander Stichele
fa3d9d4895 add output from my Plextor 2012-12-03 21:59:46 +00:00
Thomas Vander Stichele
e8c1c855f6 add test output from cdparanoia -A 2012-12-03 21:57:23 +00:00
Thomas Vander Stichele
119316dde2 * morituri/common/program.py:
Store rip result after verifying AccurateRip so those results
	  are stored too.
2012-12-03 08:11:16 +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
5ddeca949e move import 2012-12-02 21:57:15 +00:00
Thomas Vander Stichele
0a0aadfc30 * morituri/test/test_common_gstreamer.py (added):
* morituri/common/gstreamer.py:
	* morituri/test/Makefile.am:
	  add functions to get versions of gstreamer, gst-python,
	  and element factory plugins.
2012-12-02 21:56:19 +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
a26241b8f4 bump classVersion 2012-12-02 17:54:57 +00:00
Thomas Vander Stichele
5c4a63c1ab * morituri/common/common.py:
Remove migrated classes.
2012-12-02 17:54:37 +00:00
Thomas Vander Stichele
67540627fa * morituri/common/cache.py:
Disable the version-based persistence deleting.
	  Allow not creating a fresh ripresult when getting one.
2012-12-02 17:53:47 +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
c634dd0e92 * morituri/common/cache.py (added):
* morituri/test/cache (added):
	* morituri/test/cache/result (added):
	* morituri/test/cache/result/fe105a11.pickle (added):
	* morituri/test/test_common_cache.py (added):
	* morituri/common/Makefile.am:
	* morituri/common/program.py:
	* morituri/test/Makefile.am:
	  Extract ResultCache object into separate file.
2012-12-02 16:38:03 +00:00
Thomas Vander Stichele
3e0363de32 pychecker fixes 2012-12-02 12:31:45 +00:00