Commit Graph

317 Commits

Author SHA1 Message Date
Thomas Vander Stichele
6e3953e15f remove unused path 2013-02-03 23:18:42 +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
d4c81126d5 add a TableCache. 2013-02-03 22:19:11 +01:00
Thomas Vander Stichele
1adc97452f Update getCache to take name. Add getReadCaches 2013-02-03 22:17:19 +01:00
Thomas Vander Stichele
1e9afffde6 extract code into program.getFastToc 2013-02-03 21:07:28 +01:00
Thomas Vander Stichele
b2fc111a9a debug more 2013-02-03 20:57:32 +01:00
Thomas Vander Stichele
8b1eef1cf1 log persister 2013-02-03 20:57:32 +01:00
Thomas Vander Stichele
db128485eb add some whitespace betwee nreleases 2013-02-03 17:27:34 +01:00
Thomas Vander Stichele
131cc78c39 add how many tracks the disc is 2013-02-03 17:24:12 +01:00
Thomas Vander Stichele
ecfbc28c69 removing old musicbrainz code 2013-02-03 14:16:42 +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
036bf0bd92 handle import errors in bin/rip.in; add setuptools to deps 2013-01-28 21:44:07 +01:00
Thomas Vander Stichele
9d9d8a81fd Document python-cddb need and how to install on Ubuntu.
Fixes #3.
2013-01-28 21:16:29 +01:00
Thomas Vander Stichele
5eb59c7549 handle CDDB import errors 2013-01-27 22:31:22 +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
3462e2ee88 Handle backslashes in name for looking up real path.
Fixes https://thomas.apestaart.org/morituri/trac/ticket/107
2013-01-20 19:21:25 +01:00
Thomas Vander Stichele
88443aa5ec audioparsers still doesn't support seek properly for flac 2013-01-20 17:57:03 +01:00
Thomas Vander Stichele
58156f91a6 better debugging and failing 2013-01-20 17:56:53 +01:00
Thomas Vander Stichele
4a24671bce better debugging when sampleLength is claimed unknown 2013-01-18 19:36:38 +01:00
Thomas Vander Stichele
99936325ae rename frame to sample to avoid confusion with cd frames 2013-01-18 19:30:13 +01:00
Thomas Vander Stichele
d1e367af99 move around 2013-01-18 19:24:47 +01:00
Thomas Vander Stichele
884c047713 return if we have an exception 2013-01-18 19:24:42 +01:00
Thomas Vander Stichele
20cb0b3180 debug better 2013-01-18 19:24:09 +01:00
Thomas Vander Stichele
0735c716d1 raise an exception for this error 2013-01-18 19:23:52 +01:00
Thomas Vander Stichele
daff75f47e add a Directory object to get common dirs from 2013-01-15 09:27:07 +01:00
Thomas Vander Stichele
d61b42490e show us the type 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
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
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
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
43963a0050 log all tasks 2012-12-06 16:58:44 +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
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
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
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