Thomas Vander Stichele
d88d9f9bc6
rename metadata to discMD to be clearer
2013-07-30 11:39:40 +02:00
Thomas Vander Stichele
697aafc21d
handle exceptions on verifying empty or half-done tracks
2013-07-22 01:54:00 +02:00
Thomas Vander Stichele
34d58e2b5c
more filtering
2013-07-13 22:46:20 +02:00
Thomas Vander Stichele
49d8e9c268
use PathFilter object to filter paths
2013-07-13 18:50:52 +02:00
Thomas Vander Stichele
f93390d1bc
pass config to program
2013-07-13 18:37:10 +02:00
Thomas Vander Stichele
7ba5f24f7a
we already get the version some other way
2013-07-13 17:32:59 +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
27030a9842
fix output
2013-07-04 00:47:15 +02: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
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
Velo Superman
7e3d7f0ab7
return cdrdao version used
2013-03-03 17:55:10 +01:00
Velo Superman
d7848cd34c
break into two lines to separate logger problems from morituri
2013-03-01 19:32:15 +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
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
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
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
Frederik "Freso" S. Olesen
4040c95817
Add "%X" template variable for uppercase filename extension.
2013-02-01 17:33:19 +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
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
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
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
5ddeca949e
move import
2012-12-02 21:57: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
cba7dbe41a
pep8 fixes
2012-11-29 19:54:46 +00:00
Thomas Vander Stichele
f0cb567a0d
* morituri/common/program.py:
...
* morituri/rip/cd.py:
Reset rip duration when we continue a rip but have to rerip
a track.
2012-11-28 08:19:43 +00:00
Thomas Vander Stichele
e67ad23894
* morituri/common/program.py:
...
* morituri/program/cdparanoia.py:
* morituri/result/result.py:
Track ripping speed for test and encode per-track.
2012-11-27 08:09:51 +00:00
Thomas Vander Stichele
5b1e2c88a4
patch by: mustbenice
...
* morituri/common/program.py:
* morituri/program/cdparanoia.py:
* morituri/result/logger.py:
* morituri/result/result.py:
Calculate speed of reading track.
Output Test and Copy speed per track in log.
2012-11-25 19:54:15 +00:00
Thomas Vander Stichele
26827195c0
* morituri/common/program.py:
...
Add %y to template for year. Fixes #98 .
2012-11-22 23:22:26 +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
0fab4515c6
pep8 fixes
2012-11-11 23:00:37 +00:00
Thomas Vander Stichele
29f71762da
pep8 fixes
2012-11-11 22:23:25 +00:00
Thomas Vander Stichele
53db632202
* morituri/common/program.py:
...
Use a temp var to make code more readable.
2012-06-24 12:59:19 +00:00
Thomas Vander Stichele
8a7a69a361
* morituri/common/program.py:
...
Tell us which track is not in the db.
2012-06-24 12:56:37 +00:00
Thomas Vander Stichele
9bf5892dbd
patch by: Christophe Fergeau <cfergeau@redhat.com)
...
* morituri/common/program.py:
When morituri finds multiple matches for a given release, it only
keeps the releases whose length are the closest to the CD being
ripped.
However, this currently interacts badly with the --release-id
parameter because this duration filtering is done before trying to
do the release-id matching. The release that the user has specified
may have been removed from the potential matches by the time the
release
id match is tried.
This commit removes the duration filtering when the user explicitly
specified a release id. I've observed this bug with the first disc
of The Wall (Experience Edition) by the Pink Floyd.
Fixes #91 .
2012-04-01 20:41:55 +00:00
Thomas Vander Stichele
93f033dfca
patch by: Christophe Fergeau <cfergeau@redhat.com)
...
* morituri/common/program.py:
When --release-id is used, we are not making guesses based on the
CD lengths, so the message saying that we picked the closest match
in duration, which can still trigger, is inappropriate.
2012-04-01 20:40:21 +00:00
Thomas Vander Stichele
c4e170daad
* TODO:
...
* morituri/common/program.py:
* morituri/rip/cd.py:
Add rip cd rip --release-id as an option to select the exact
release this disc is a part of.
Fixes Radiohead - Pablo Honey and U2 - Achtung Baby
2012-01-23 10:09:24 +00:00
Thomas Vander Stichele
69a1e731a3
* morituri/common/program.py:
...
Actually return the result from verifyTrack.
Debug the cache loading some more. Make a note for a TODO.
2012-01-22 11:00:55 +00:00
Thomas Vander Stichele
a8a7a33b0a
* morituri/common/checksum.py:
...
* morituri/common/program.py:
Fix/add logging.
2012-01-21 18:04:41 +00:00
Thomas Vander Stichele
c2838ad05c
* morituri/rip/main.py:
...
* morituri/common/musicbrainzngs.py:
* morituri/common/program.py:
* morituri/rip/cd.py:
Add -R option to rip to record API results for debugging.
2011-10-28 17:49:36 +00:00
Thomas Vander Stichele
b5fc509747
* morituri/common/Makefile.am:
...
* morituri/common/musicbrainzngs.py:
* morituri/common/program.py:
* morituri/extern/Makefile.am:
Use musicbrainz NGS for ripping.
Can now rip Weezer, the Blue Album, both discs.
2011-10-22 15:52:57 +00:00
Thomas Vander Stichele
6ab37720df
* morituri/common/Makefile.am:
...
* morituri/common/musicbrainz.py:
* morituri/common/program.py:
* morituri/test/Makefile.am:
* morituri/test/test_common_musicbrainz.py (added):
* morituri/common/musicbrainz.py (added):
Split off musicbrainz-specific code.
2011-10-19 18:00:11 +00:00
Thomas Vander Stichele
2c27b73d09
* morituri/common/common.py:
...
Add shrinkPath to write shorter path names.
* morituri/test/test_common_common.py (added):
Add test.
* morituri/program/cdparanoia.py:
Catch ENAMETOOLONG and shrink path.
* morituri/common/program.py:
Update track result's filename if it was shrunk.
* morituri/rip/cd.py:
set the possibly shrunk path on the result.
2011-09-18 15:19:45 +00:00
Thomas Vander Stichele
516a01d47a
* morituri/common/program.py:
...
Add Musicbrainz command.
2011-09-15 14:22:37 +00:00
Thomas Vander Stichele
513706eab6
add ivars to TrackMetadata
2011-09-04 14:21:29 +00:00