Thomas Vander Stichele
f010fd204c
deduplicate rip directories with catalog number or barcode
2013-02-05 19:42:36 +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
dadcc5c54e
add summary
2013-02-03 20:54:09 +01:00
Thomas Vander Stichele
c4772303b7
check logger up front.
...
Fixes #8
2013-02-03 10:50:58 +01:00
Thomas Vander Stichele
7c3118e1f2
feature: add 'rip cd info'
...
split up CD command into a base class and two subclasses.
Make instance variables accordingly.
2013-02-02 23:35:22 +01:00
Thomas Vander Stichele
298f13432a
retry reading toc 3 times, often fails after loading
2013-01-20 20:02:46 +01:00
Thomas Vander Stichele
46feb71205
move common template options and description
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
b80c89dbd6
default to include the release type (%r) in file paths
2013-01-13 16:13:29 +01:00
Thomas Vander Stichele
d92e117469
remove unused import
2013-01-13 16:13:20 +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
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
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
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
efe078f231
rename variable
2012-12-06 16:34:08 +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
3a9a939520
paranoia deserves a capital P
2012-12-03 22:11:57 +00:00
Thomas Vander Stichele
5b670ab4fa
add profile info to rip
2012-12-03 08:10:18 +00:00
Thomas Vander Stichele
fc2966b08a
* morituri/rip/cd.py:
...
* morituri/result/result.py:
Store versions and encoding profile info in the rip result.
2012-12-02 22:00:43 +00:00
Thomas Vander Stichele
09931dbd6b
remove unused import
2012-12-02 17:55:10 +00:00
Thomas Vander Stichele
b86febb3b1
pep8 fixes
2012-12-02 16:40:46 +00:00
Thomas Vander Stichele
5d26eae4b9
* morituri/rip/cd.py:
...
Use configured read offset for drive if possible.
Fixes #76 .
2012-12-02 12:19:08 +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
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
7f36f540d0
* morituri/result/logger.py:
...
* morituri/result/result.py:
* morituri/rip/cd.py:
* morituri/rip/main.py:
Expose loggers as pluggable.
Add --logger option to rip cd rip to specify logger.
2012-11-25 18:22:03 +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
008e257f22
self.stdout instead of print
2012-11-12 08:02:57 +00:00
Thomas Vander Stichele
0fab4515c6
pep8 fixes
2012-11-11 23:00:37 +00:00
Thomas Vander Stichele
4a4e1ba128
* morituri/program/cdparanoia.py:
...
* morituri/rip/cd.py:
Add a number of tries to rip a track.
2012-11-11 22:40:53 +00:00
Thomas Vander Stichele
e4cbc33583
pep8 fixes
2012-11-11 22:39:13 +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
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
9f1ad76fb8
whitespace removal
2011-10-19 17:32:35 +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
60772e655b
remove import
2011-09-04 14:18:14 +00:00
Thomas Vander Stichele
4f377406f9
make sure we stop on bad crc
2011-08-15 22:39:54 +00:00
Thomas Vander Stichele
2273db764c
* morituri/common/program.py:
...
* morituri/rip/cd.py:
Always print MusicBrainz URL.
2011-08-14 12:20:30 +00:00
Thomas Vander Stichele
e95d7a159b
* morituri/rip/cd.py:
...
Make sure we definitely fail on failed checksum.
2011-08-13 16:42:52 +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
Thomas Vander Stichele
bdbd7768eb
* morituri/rip/cd.py:
...
Use %default in options description.
2011-05-31 08:27:44 +00:00
Thomas Vander Stichele
0157c084a1
* morituri/rip/cd.py:
...
Ouch, was using the DISC TEMPLATE for the tracks.
2011-05-31 08:25:01 +00:00
Thomas Vander Stichele
ffbc4268fd
* morituri/rip/cd.py:
...
Templates should have same number of slashes.
This avoids #66 .
(Possibly, it should also be the same directory, or more code
should be written to handle that case).
* morituri/rip/main.py:
Catch CommandError.
2011-05-30 18:25:40 +00:00
Thomas Vander Stichele
263260f820
* morituri/rip/cd.py:
...
Create variables for default templates.
2011-05-30 18:04:24 +00:00
Thomas Vander Stichele
faf18f32f6
add debug
2011-05-30 13:08:29 +00:00
Thomas Vander Stichele
b86cf68341
* morituri/rip/cd.py:
...
Factor out function to write .m3u lines.
2011-05-22 11:12:16 +00:00
Thomas Vander Stichele
24afc106f9
patch by: Loïc Minier <lool@dooz.org>
...
* morituri/rip/cd.py:
Don't strip extension of HTOA track.
Fixes #50 .
2011-05-22 11:10:26 +00:00
Thomas Vander Stichele
c301015537
* morituri/common/checksum.py:
...
* morituri/common/encode.py:
* morituri/image/table.py:
* morituri/rip/cd.py:
* morituri/rip/image.py:
* morituri/rip/offset.py:
* morituri/test/test_common_accurip.py:
* morituri/test/test_common_checksum.py:
* morituri/test/test_image_cue.py:
* morituri/test/test_image_table.py:
Pychecker fixes.
2011-05-21 11:50:39 +00:00
Thomas Vander Stichele
f70ba7cb32
* morituri/program/cdparanoia.py:
...
* morituri/common/encode.py:
* morituri/common/program.py:
* morituri/rip/cd.py:
Add action and what args to describe task better.
2011-05-19 00:28:36 +00:00