Commit Graph

25 Commits

Author SHA1 Message Date
Thomas Vander Stichele
1a5a32f7d1 pychecker fix 2010-04-06 00:19:12 +00:00
Thomas Vander Stichele
af0909600d patch by: Peter Oliver.
* morituri/common/program.py:
	  Allow using sortName for artist/track using %S/%s.
	  Fixes #19.
2010-04-06 00:17:40 +00:00
Thomas Vander Stichele
22a3554381 * morituri/common/encode.py:
* morituri/common/program.py:
	* morituri/image/image.py:
	* morituri/program/cdparanoia.py:
	* morituri/rip/cd.py:
	* morituri/rip/image.py:
	* morituri/rip/offset.py:
	  Move all gst-using imports inside functions and classes
	  to avoid 'import gst' eating our options.
	  Fixes #12.
2010-04-04 19:29:49 +00:00
Thomas Vander Stichele
1788470dcf * morituri/common/program.py:
Fix a problem with Arid's new album of not having an id.
2010-02-28 19:02:03 +00:00
Thomas Vander Stichele
26ecd42c2f * morituri/common/program.py:
For Various Artists releases, fall back to the release artist if
	  the track artist is None.
2009-12-28 16:50:36 +00:00
Thomas Vander Stichele
b3888a7017 finally fix whitespace 2009-09-26 15:07:12 +00:00
Thomas Vander Stichele
31b93a2abe whitespace fixes 2009-09-26 14:33:07 +00:00
Thomas Vander Stichele
b455f13080 another unicode fix 2009-09-12 09:10:56 +00:00
Thomas Vander Stichele
dfa3efe662 * HACKING:
More unicode notes.
	* morituri/common/program.py:
	* morituri/image/table.py:
	* morituri/image/toc.py:
	* morituri/result/result.py:
	* morituri/rip/cd.py:
	* morituri/test/test_image_toc.py:
	  Further unicode fixes, for options, CD-Text, paths, ...
2009-09-11 22:16:46 +00:00
Thomas Vander Stichele
8f94731876 pychecker fix 2009-09-11 15:43:47 +00:00
Thomas Vander Stichele
f5f1811881 * morituri/common/program.py:
Fix getting AccurateRip results for albums with a HTOA.
	* morituri/test/Makefile.am:
	* morituri/test/test_common_program.py:
	* morituri/test/silentalarm.result.pickle (added):
	  Add testcase for it, Bloc Party's Silent Alarm.
2009-09-07 18:57:14 +00:00
Thomas Vander Stichele
e04e02a31e fix for when there are no responses 2009-06-24 21:30:08 +00:00
Thomas Vander Stichele
1e063f08a7 * morituri/test/test_common_program.py:
* morituri/common/program.py:
	  Extract a common method to get textual representation of
	  AccurateRip results, and test it.
	* morituri/rip/cd.py:
	* morituri/rip/image.py:
	  Use the method.
2009-06-24 20:47:44 +00:00
Thomas Vander Stichele
32d67902d0 fix i 2009-06-24 19:19:43 +00:00
Thomas Vander Stichele
0d3651ab12 * morituri/test/test_common_program.py (added):
* morituri/common/program.py:
	  Break verifyImage into two so we can test it.
	  Test it using an AccurateRip result for Luke Haines Is Dead
	  which had a wrongly ripped track 10.
2009-06-24 18:40:27 +00:00
Thomas Vander Stichele
c24574dfec shorten accurip variable names 2009-06-24 17:17:17 +00:00
Thomas Vander Stichele
efdc830893 * morituri/rip/main.py:
* morituri/rip/image.py (added):
	  Add command to verify an image.
	* morituri/common/program.py:
	* morituri/rip/cd.py:
	  Fix AccurateRip checksum output.
2009-06-16 21:09:27 +00:00
Thomas Vander Stichele
1cdfea3d73 remove code.interact 2009-06-15 07:34:48 +00:00
Thomas Vander Stichele
d17829c36a * morituri/result/result.py:
Add max confidence from database.
	* morituri/common/program.py:
	* morituri/rip/cd.py:
	  Move AccurateRip checking to program.py
	  Re-rip if verification failed when continuing a rip.
2009-06-15 07:07:41 +00:00
Thomas Vander Stichele
1efa2d7b20 * morituri/common/program.py:
* morituri/rip/cd.py:
	  Serialize the rip result after every rip, so we can pick up
	  where we left off with all result data.
2009-06-09 19:39:59 +00:00
Thomas Vander Stichele
644e67f105 more variable shuffling 2009-06-07 17:16:04 +00:00
Thomas Vander Stichele
2d892291a8 * morituri/common/program.py:
Move getPath to Program.
	  Remove arguments to ripTrack that can be gotten from
	  trackResult.
	* morituri/rip/cd.py:
	  Continue without musicbrainz metadata.
	  Unify htoa and normal track ripping.
	* morituri/result/result.py:
	  Add getTrackResult so it's easier to look up track results
	  when there's a HTOA.
2009-06-07 17:10:54 +00:00
Thomas Vander Stichele
df779bc8df * morituri/common/program.py:
* morituri/rip/cd.py:
	  Move HTOA checking to program.
2009-06-07 16:06:58 +00:00
Thomas Vander Stichele
a460abc475 * morituri/result/logger.py:
Fix for toctable->table
	* morituri/common/program.py:
	* morituri/rip/cd.py:
	  Move lots of functionality to program module.
2009-06-07 15:22:55 +00:00
Thomas Vander Stichele
28c2a47d62 * morituri/result/result.py:
Change toctable to table since it's a full index table.
	* morituri/common/Makefile.am:
	* morituri/common/program.py (added):
	  Add module and class for program state.
	* morituri/rip/cd.py:
	  Use the program state to clean up the do() function.
2009-06-07 14:20:30 +00:00