Commit Graph

328 Commits

Author SHA1 Message Date
Velo Superman
d7848cd34c break into two lines to separate logger problems from morituri 2013-03-01 19:32:15 +01:00
thomasvs
75351dc287 Merge pull request #14 from alkino/with_statement
Use with statement to open files
2013-02-26 14:47:48 -08:00
Thomas Vander Stichele
4e03a6e966 work around GStreamer bug in flacdec for really short files 2013-02-26 23:12:16 +01:00
Thomas Vander Stichele
f052896505 change debug message 2013-02-26 23:12:16 +01:00
Thomas Vander Stichele
a692542307 debug and cleanup 2013-02-26 23:12:16 +01:00
Thomas Vander Stichele
f05ec0f2e9 The logic was the wrong way around.
The idea is that we set an interval that is definitely smaller than
the whole file.
2013-02-26 23:12:15 +01:00
Nicolas Cornu
45725999d2 Use with statement to open files 2013-02-26 22:06:22 +01:00
Nicolas Cornu
d882f845ff Use os.path.join instead of hardcoded paths 2013-02-26 21:17:38 +01:00
Thomas Vander Stichele
3f4291bb18 Handle off-by-1 errors in cdparanoia progress parsing
Fixes the exception I got on ripping The Strokes - Someday
2013-02-24 11:37:13 +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
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