Commit Graph

170 Commits

Author SHA1 Message Date
Thomas Vander Stichele
a1e787648e add more tests, after calculating expected values for this disc 2013-08-24 02:40:20 +02:00
Thomas Vander Stichele
1ef45c2b2a stop absolutizing 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
d1940b639f update tests 2013-08-24 02:38:39 +02:00
Thomas Vander Stichele
1ac8d43f88 use diffStrings 2013-08-24 02:38:39 +02:00
Thomas Vander Stichele
16bdaac89e add all EAC cue files for surfer rosa 2013-08-24 02:38:39 +02:00
Thomas Vander Stichele
a8fe47f1bd compare output .cue with EAC one we add
The EAC one clearly marks the HTOA of one frame as pre-gap, while we
don't yet do that.
2013-08-24 02:38:39 +02:00
Thomas Vander Stichele
f30b8b598f add more asserts on the current code for strokes
this shows that some of the logic may be wrong; track 1 index 1
should have relative 0 as it draws from the file, not silence
2013-08-24 02:38:39 +02:00
Thomas Vander Stichele
debd48d3e6 Add testcase to show that previous commit fixes #19. 2013-07-30 13:37:32 +02:00
Thomas Vander Stichele
7c95e8e017 Set proper track ids. Fixes #34 2013-07-30 13:23:34 +02:00
Thomas Vander Stichele
e5b2627db2 add more FIXME 2013-07-30 13:16:15 +02:00
Thomas Vander Stichele
ead648feef add getIds and use it to set correct ids 2013-07-30 13:09:56 +02:00
Thomas Vander Stichele
a8ef4a54c4 make sure sortname contains all artists 2013-07-30 13:07:09 +02:00
Thomas Vander Stichele
3d53056573 Extract a Credit list subclass to get name/sortname/id 2013-07-30 13:06:02 +02:00
Thomas Vander Stichele
7533b269fc add another test to fix 2013-07-30 12:47:00 +02:00
Thomas Vander Stichele
321f871805 add a test case to fix 2013-07-30 12:35:23 +02:00
Thomas Vander Stichele
430ee02a71 put space before colon 2013-07-29 12:29:47 +02:00
Thomas Vander Stichele
064c22e9e7 add test for directory module 2013-07-14 09:28:41 +02:00
Thomas Vander Stichele
34d58e2b5c more filtering 2013-07-13 22:46:20 +02:00
Thomas Vander Stichele
e29fa0fb18 fix a failing test 2013-07-13 18:49:00 +02:00
Thomas Vander Stichele
c75f71ead3 Add path filter 2013-07-13 18:38:31 +02:00
Thomas Vander Stichele
f93390d1bc pass config to program 2013-07-13 18:37:10 +02:00
thomasvs
eba184e54b Merge pull request #21 from supermanvelo/master
break up logger line; handle encoding for diff
2013-07-13 08:31:42 -07:00
Thomas Vander Stichele
7813103a4d get version for cdrdao too.
Add debug commands: rip debug version cdrdao/cdparanoia
2013-07-13 11:42:06 +02:00
Thomas Vander Stichele
ee99d833a7 rename our musicbrainzngs.py to mbngs.py
Helps Debian package which prefers to strip out our copy of
musicbrainzngs
2013-03-05 16:12:52 +01:00
Thomas Vander Stichele
05ec378c16 add another test case to work on INDEX 02 2013-03-03 18:17:00 +01:00
Velo Superman
a2afe79644 handle encoding properly when outputting diff 2013-03-03 14:19:23 +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
d907ccfaf6 add test case with turn on the bright lights toc 2013-02-03 20:57:32 +01:00
Thomas Vander Stichele
ecfbc28c69 removing old musicbrainz code 2013-02-03 14:16:42 +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
dc0a3f9614 fix test after moving templates 2013-01-16 08:54:02 +01:00
Thomas Vander Stichele
0306e022fb fix distcheck 2013-01-13 22:47:09 +01:00
Thomas Vander Stichele
1757a3eb7f fix tests after adding release type to templates 2013-01-13 22:45:53 +01: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
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
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
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
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
638d2bc7a0 add missing tests 2012-12-02 11:11:34 +00:00
Thomas Vander Stichele
1bf9272f18 * morituri/common/config.py (added):
* morituri/test/test_common_config.py (added):
	* morituri/common/Makefile.am:
	* morituri/test/Makefile.am:
	  First stab at adding a configuration file to store
	  drive read offsets.
2012-12-02 11:09:13 +00:00
Thomas Vander Stichele
cba7dbe41a pep8 fixes 2012-11-29 19:54:46 +00:00
Thomas Vander Stichele
31a6bd942a patch by: mustbenice
* morituri/program/cdparanoia.py:
	* morituri/result/result.py:
	* morituri/rip/cd.py:
	* morituri/test/test_program_cdparanoia.py:
	  Get cdparanoia version.
	  Store both cdparanoia and cdrdao versions on rip result.
2012-11-25 22:00:42 +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
d0435dc2ab * morituri/test/test_common_encode.py:
Work around https://bugzilla.gnome.org/show_bug.cgi?id=688625
2012-11-19 20:44:53 +00:00
Thomas Vander Stichele
3dc88a4a28 * morituri/test/common.py:
Make tests log.
2012-11-19 20:44:30 +00:00