Commit Graph

147 Commits

Author SHA1 Message Date
JoeLametta
ed4c9f4ece Convert 'Morituri' to 'morituri' (cue sheet)
The ripper name in the log file is written all lowercase: do the same
in the cue sheet too.
Short cosmetic fixes for 'logger.py'
2015-11-30 13:26:04 +01:00
JoeLametta
9ade743d63 Various short bugfixes
thomasvs/morituri#139
2015-11-29 16:25:38 +01:00
Frederik "Freso" S. Olesen
d81dd339c1 Resolve musicbrainz.org/{bare/cdlookup.html -> cdtoc/attach} redirect. 2014-11-02 11:17:51 +01:00
Frederik "Freso" S. Olesen
926ce46c8d Use HTTPS for musicbrainz.org. 2014-11-02 03:03:13 +01:00
Frederik "Freso" S. Olesen
f08d0a28ca Remove traces of mm.musicbrainz.org.
See
http://chatlogs.musicbrainz.org/musicbrainz-devel/2014/2014-11/2014-11-02.html#T01-18-50-32205
2014-11-02 03:01:38 +01:00
Samantha Baldwin
38cf1f0753 Show morituri version in cue and update TODO. 2014-05-26 00:11:08 -04:00
Thomas Vander Stichele
354bd7744f fix so first FILE goes before TRACK 01 and possible PREGAP 2013-08-24 13:58:21 +02:00
Thomas Vander Stichele
1141f5e27c add type doc 2013-08-24 02:41:21 +02:00
Thomas Vander Stichele
abc03e8e43 since the cached results have wrong (negative) relative for index > 01,
make sure we don't use the cache by upping the version
2013-08-24 02:41:21 +02:00
Thomas Vander Stichele
bcd350f768 use a common _index method for all cases 2013-08-24 02:41:00 +02:00
Thomas Vander Stichele
61fdb2c332 move some assignments around to be more logical 2013-08-24 02:40:20 +02:00
Thomas Vander Stichele
ddea002a8f also add source for DATAFILE 2013-08-24 02:40:20 +02:00
Thomas Vander Stichele
b59bf8f98a make sources an object property 2013-08-24 02:40:20 +02:00
Thomas Vander Stichele
38193c7f0c add/fix debug 2013-08-24 02:40:20 +02:00
Thomas Vander Stichele
2200776b30 update debug 2013-08-24 02:40:20 +02:00
Thomas Vander Stichele
e3e3a87547 WIP: try to set relative offset correctly based on sources 2013-08-24 02:40:20 +02:00
Thomas Vander Stichele
2c23418490 now take relative from currentFile 2013-08-24 02:40:20 +02:00
Thomas Vander Stichele
142fa9e33e create index with the correct path by using sources 2013-08-24 02:38:39 +02:00
Thomas Vander Stichele
73a7056d85 handle index 00 of track 1 specially 2013-08-24 02:38:39 +02:00
Thomas Vander Stichele
f11672fd3d add a Source object, but don't use it yet 2013-08-24 02:38:39 +02:00
Thomas Vander Stichele
7118555a7f add doc 2013-08-24 02:38:39 +02:00
Thomas Vander Stichele
1271ccea18 Set start and length properly on File 2013-08-24 02:38:39 +02:00
Thomas Vander Stichele
879dd7f946 reset relative offset on SILENCE/ZERO 2013-08-24 02:38:39 +02:00
Thomas Vander Stichele
330b2dcb6c make track/index debug uniform 2013-03-05 17:07:36 +01:00
Thomas Vander Stichele
307db4f59f update logging; bump classVersion of Table
now table will get a logName set correctly when unpickled too
2013-03-05 16:59:38 +01:00
Thomas Vander Stichele
55a2325e1e add debugging, comments and documentation 2013-03-01 18:50:43 +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
7b42cbf93b add debug 2013-02-03 20:57:32 +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
20cb0b3180 debug better 2013-01-18 19:24:09 +01:00
Thomas Vander Stichele
cba7dbe41a pep8 fixes 2012-11-29 19:54:46 +00:00
Thomas Vander Stichele
55df17cf89 * morituri/image/cue.py:
* morituri/image/table.py:
	* morituri/image/toc.py:
	  Fix pychecker warnings.
2012-11-23 15:36:27 +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
794a4c3f5c * morituri/common/common.py:
* morituri/image/cue.py:
	* morituri/image/toc.py:
	  factor out getRealPath
2012-11-19 08:56:17 +00:00
Thomas Vander Stichele
56f1de4c5c * morituri/image/toc.py:
* morituri/test/test_image_toc.py:
	  Add test for getRealPath.  Fix bug found by it for absolute paths.
2012-11-19 08:50:09 +00:00
Thomas Vander Stichele
76d587185d * morituri/image/table.py:
* morituri/test/test_image_table.py:
	* morituri/test/test_image_toc.py:
	  Increase coverage.
2012-11-18 16:20:21 +00:00
Thomas Vander Stichele
0fab4515c6 pep8 fixes 2012-11-11 23:00:37 +00:00
Thomas Vander Stichele
d757afe5b1 pep8 fixes 2012-11-11 22:36:06 +00:00
Thomas Vander Stichele
25d2bdf7b6 pep8 fixes 2012-11-11 22:32:31 +00:00
Thomas Vander Stichele
f4c79e4e26 pep8 fixes 2012-11-11 22:32:20 +00:00
Thomas Vander Stichele
a010dee24a pep8 fixes 2012-11-10 22:15:10 +00:00
Thomas Vander Stichele
090886bc45 pep8 fixes 2012-11-10 22:15:04 +00:00
Thomas Vander Stichele
df2cbc6b0f pep8 fixes 2012-11-10 22:14:43 +00:00
Thomas Vander Stichele
e617d40b47 * morituri.spec.in:
Spec fix.
	* morituri/image/image.py:
	  Log fix.
2012-01-21 18:04:00 +00:00
Thomas Vander Stichele
fb39764923 make things more loggable 2011-09-20 08:07:11 +00:00
Thomas Vander Stichele
367af25232 * TODO:
Add a note about das capital disc.
	* morituri/test/release.08397059-86c1-463b-8ed0-cd596dbd174f.xml:
	* morituri/test/release.93a6268c-ddf1-4898-bf93-fb862b1c5c5e.xml:
	  Add musicbrainz ws1 results for Das Capital and Ladyhawke.
	* morituri/test/test_common_program.py:
	  Fix typos.
	  Add tests for Ladyhawke and Das Capital duration and parsing.
	* morituri/test/test_image_table.py:
	  Fix according to new algorithm.
	* morituri/test/test_image_toc.py:
	  Get frame length for both cd's.
	* morituri/image/table.py:
	  Add getFrameLength method.  Fix up duration.
2011-08-14 14:19:50 +00:00
Thomas Vander Stichele
d43860bdfb * morituri/test/release.c7d919f4-3ea0-4c4b-a230-b3605f069440.xml:
Add release data for Bettie Serveert, Lamprey
	* morituri/test/test_common_program.py:
	  Add a test for parsing and getting the whole duration.
	* morituri/common/common.py:
	  Add a method to format time.
	* morituri/common/program.py:
	  Add duration to tracks and release metadatas.
	  When there are multiple matches, look up the closest in duration.
	  Make sure that multiple matches closest in duration contain same
	  artist and title.
	  Complain about the other ones.
	* morituri/image/table.py:
	  Add a method to calculate a duration from the table.
	* morituri/test/test_image_table.py:
	  Add a test for it.
2011-08-14 12:18:51 +00:00
Thomas Vander Stichele
8ec7bcbb9d * morituri/common/checksum.py:
* morituri/common/common.py:
	* morituri/common/encode.py:
	* morituri/image/image.py:
	* morituri/test/test_common_encode.py:
	  Moved quoteParse.
2011-08-05 19:18:10 +00:00
Thomas Vander Stichele
798a209195 * morituri/extern/task (added):
* morituri/extern/task/taskgtk.py (added):
	* morituri/extern/task/gstreamer.py (added):
	* morituri/extern/task/task.py (added):
	* morituri/common/taskgtk.py (deleted):
	* morituri/common/gstreamer.py (deleted):
	* morituri/common/task.py (deleted):
	  Move task-related modules into an extern directory so other
	  projects can use them.
	* morituri/common/checksum.py:
	* morituri/common/encode.py:
	* morituri/image/image.py:
	* morituri/program/cdparanoia.py:
	* morituri/program/cdrdao.py:
	* morituri/rip/cd.py:
	* morituri/rip/debug.py:
	* morituri/rip/image.py:
	* morituri/rip/main.py:
	* morituri/rip/offset.py:
	* morituri/test/test_common_checksum.py:
	* morituri/test/test_common_encode.py:
	* morituri/test/test_image_image.py:
	  Adapt.  Tests work.
2011-08-05 18:50:51 +00:00