a787676239
* morituri/common/encode.py: Add a task to read tags. * morituri/test/test_common_encode.py: Add a test.
Thomas Vander Stichele
2010-04-13 07:37:01 +00:00
7022d9627c
add something to check
Thomas Vander Stichele
2010-04-11 17:14:44 +00:00
2e7a3974c4
* morituri/common/encode.py: Add a vbr profile.
Thomas Vander Stichele
2010-04-11 17:14:37 +00:00
b3aa22194b
* morituri/rip/image.py: Don't splitext on inputdir; fixes encoding of directories like Sigur Ros - Takk... (which removed a period)
Thomas Vander Stichele
2010-04-10 23:01:54 +00:00
c34546d70a
* morituri/image/table.py: * morituri/program/cdparanoia.py: Do some 80 character cleanups.
Thomas Vander Stichele
2010-04-09 16:20:41 +00:00
b1155ed183
* morituri/rip/image.py: Fix problem to encode from files with unicode chars.
Thomas Vander Stichele
2010-04-08 21:07:25 +00:00
e124c79c64
* morituri/program/cdparanoia.py: Add some debug. * morituri/common/encode.py: Add more debug. Handle the case where peak is full scale, and peakdB thus 0, which triggered not setting self.peak.
Thomas Vander Stichele
2010-04-08 21:06:52 +00:00
1a5a32f7d1
pychecker fix
Thomas Vander Stichele
2010-04-06 00:19:12 +00:00
39d3265a4a
remove whitespace
Thomas Vander Stichele
2010-04-06 00:19:06 +00:00
af0909600d
patch by: Peter Oliver. * morituri/common/program.py: Allow using sortName for artist/track using %S/%s. Fixes#19.
Thomas Vander Stichele
2010-04-06 00:17:40 +00:00
98213c4196
* doc/release: Document having clean test run. * morituri/common/encode.py: Catch and properly stop on gst.QueryError. Don't set peak in stop if we had an error. * morituri/test/test_common_encode.py: * morituri/test/test_common_renamer.py: * morituri/test/test_image_cue.py: Clean up after tests.
Thomas Vander Stichele
2010-04-06 00:02:56 +00:00
f978907fcf
* morituri/common/task.py: * morituri/image/cue.py: Add logCategory. * morituri/image/image.py: If subtasks had an exception, retrigger the exception and stop.
Thomas Vander Stichele
2010-04-05 23:31:34 +00:00
8ea1dc025d
* morituri/image/image.py: Fix AudioLengthTask for the case where we don't have the decoder, by instead of doing get_state, waiting for an ASYNC_DONE or ERROR message. Properly raise a gst.GError in that case. * morituri/common/task.py: Add some debug. * morituri/test/test_image_image.py: After this fix, we now catch the TYPE_NOT_FOUND because of an empty stream instead of the later gst.QueryError. * morituri/test/test_common_encode.py: Let us know what it is if not a gst.QueryError.
Thomas Vander Stichele
2010-04-05 23:20:40 +00:00
f1b97923d9
clean up rip.1 in distclean
Thomas Vander Stichele
2010-04-04 23:58:40 +00:00
ecd6e15783
* doc/Makefile.am: Don't put rip.1 manpage in subdir.
Thomas Vander Stichele
2010-04-04 23:54:41 +00:00
47bfa0ee4c
* morituri/common/common.py: add quoteParse function to quote properly for gst.parse_launch() * morituri/common/checksum.py: Fix single quote problem. use self.setException() * morituri/common/encode.py: Fix single quote problem. * morituri/image/image.py: Fix single quote problem. Reraise gst.QueryError. * morituri/test/test_common_encode.py: * morituri/test/test_common_encode.py (added): Add tests for unicode/single/double quote. * morituri/test/test_image_image.py: * morituri/test/test_common_checksum.py: Add tests for single/double quote. * morituri/test/common.py: add twisted-like failUnlessRaises to TestCase that returns the exception, so we can check wrapped exceptions in TaskException. Fixes#16.
Thomas Vander Stichele
2010-04-04 23:21:10 +00:00
3000f0a1e7
* morituri/common/common.py: add quoteParse function to quote properly for gst.parse_launch() * morituri/common/checksum.py: Fix single quote problem. use self.setException() * morituri/common/encode.py: Fix single quote problem. * morituri/image/image.py: Fix single quote problem. Reraise gst.QueryError. * morituri/test/test_common_encode.py: * morituri/test/test_common_encode.py (added): Add tests for unicode/single/double quote. * morituri/test/test_image_image.py: * morituri/test/test_common_checksum.py: Add tests for single/double quote. * morituri/test/common.py: add twisted-like failUnlessRaises to TestCase that returns the exception, so we can check wrapped exceptions in TaskException.
Thomas Vander Stichele
2010-04-04 23:20:52 +00:00
49c74c0d07
add dir to generate man page in
Thomas Vander Stichele
2010-04-04 23:13:35 +00:00
6ae35a7a08
* morituri/common/task.py: Wrap exceptions during tasks in a TaskException, storing the message, for improved error reporting later on.
Thomas Vander Stichele
2010-04-04 23:10:44 +00:00
96e5fb2c2c
* doc/Makefile.am: * morituri.spec.in: * morituri/extern/Makefile.am: Use help2man.py to generate manpage.
Thomas Vander Stichele
2010-04-04 23:08:35 +00:00
0ebd8dc54b
make logging work
Thomas Vander Stichele
2010-04-04 22:31:29 +00:00
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.
Thomas Vander Stichele
2010-04-04 19:29:49 +00:00
cadc896c93
* bin/Makefile.am: Install rip as the script.
Thomas Vander Stichele
2010-03-15 15:20:03 +00:00
17f800cdb3
remove result.py
Thomas Vander Stichele
2010-03-15 15:18:28 +00:00
c6d374bd16
* morituri/common/Makefile.am: Add missing result.py * morituri/test/Makefile.am: * morituri/test/test_image_toc.py: * morituri/test/JoséGonzález.toc (added): * morituri/test/José González.toc (deleted): automake doesn't handle spaces in names, so move it.
Thomas Vander Stichele
2010-03-15 15:16:14 +00:00
dfb178577a
script changed
Thomas Vander Stichele
2010-03-15 14:25:57 +00:00
f432ae8e47
* bin/rip.in: Add our PYTHONLIBDIR to sys.path if needed. Should make this work when doing ./configure; sudo checkinstall make install on e.g. Ubuntu.
Thomas Vander Stichele
2010-03-15 14:23:45 +00:00
3f2b07ef1c
* configure.ac: * bin/rip.in (added): * bin/rip (deleted): Generate bin/rip so we can do sys.path stuff.
Thomas Vander Stichele
2010-03-15 14:21:11 +00:00
5a7c6f63d1
add note
Thomas Vander Stichele
2010-03-14 13:05:48 +00:00
efbfc717aa
* morituri/rip/offset.py: Add a more complete list of offsets, obtained using misc/offsets.py
Thomas Vander Stichele
2010-03-14 13:03:50 +00:00
77d77013f1
* misc/offsets.py (added): Add a script to calculate list of offsets based on AccurateRip's online database, according to popularity.
Thomas Vander Stichele
2010-03-14 12:51:03 +00:00
7e8d64dab7
add a TODO
Thomas Vander Stichele
2010-02-28 19:03:09 +00:00
1788470dcf
* morituri/common/program.py: Fix a problem with Arid's new album of not having an id.
Thomas Vander Stichele
2010-02-28 19:02:03 +00:00
ee186a0d30
* morituri/common/accurip.py: The AccuRip cache dir could exist without the file; handle that case.
Thomas Vander Stichele
2010-01-31 15:54:12 +00:00
26ecd42c2f
* morituri/common/program.py: For Various Artists releases, fall back to the release artist if the track artist is None.
Thomas Vander Stichele
2009-12-28 16:50:36 +00:00
83027a710a
apparently this can also throw indexerror
Thomas Vander Stichele
2009-12-09 17:37:41 +00:00
ace1a096bf
handle exceptions when opening device
Thomas Vander Stichele
2009-12-09 17:37:19 +00:00
fa17065ae3
fix example for unicode
Thomas Vander Stichele
2009-12-09 17:34:02 +00:00
217bc560da
add TODO items
Thomas Vander Stichele
2009-12-09 17:32:56 +00:00
fa481303fb
bump to gplv3
Thomas Vander Stichele
2009-11-14 17:47:51 +00:00
fe68f676c9
* morituri/image/image.py: Add ImageEncodeTask to encode a disk image to a different profile and directory. * morituri/common/encode.py: Add lossy encoding profiles for mp3 and vorbis. Rename muxer to tagger since that's what we use it for. Do progress probe after level to make sure we get samples for offsets. * morituri/rip/image.py: Add rip image encode command.
Thomas Vander Stichele
2009-10-17 13:53:58 +00:00
13936a6f11
adding test file
Thomas Vander Stichele
2009-10-17 12:50:13 +00:00
757c3aba15
* morituri/common/task.py: Add exceptionMessage on Task to store the result of log.getExceptionMessage when the stack is still valid.
Thomas Vander Stichele
2009-10-16 21:39:19 +00:00
bb5ed0500b
update release doc
Thomas Vander Stichele
2009-09-26 15:54:39 +00:00
e61e7bc37c
* configure.ac: Back to TRUNK.
Thomas Vander Stichele
2009-09-26 15:54:34 +00:00
da7925b4e3
releasing 0.1.0
Thomas Vander Stichele
2009-09-26 15:17:54 +00:00
b3888a7017
finally fix whitespace
Thomas Vander Stichele
2009-09-26 15:07:12 +00:00
6d52b61d90
update project urls
Thomas Vander Stichele
2009-09-26 14:58:06 +00:00
649e6d1327
update doap and release notes
Thomas Vander Stichele
2009-09-26 14:35:27 +00:00
31b93a2abe
whitespace fixes
Thomas Vander Stichele
2009-09-26 14:33:07 +00:00
5cf823a640
* morituri/program/cdparanoia.py: explicitize keyword args. Break some 80+ lines.
Thomas Vander Stichele
2009-09-19 11:58:33 +00:00
2fc5623330
* morituri/rip/offset.py: Pass device parameter to ReadTrackTask. Thanks to Alex B for spotting this on my blog.
Thomas Vander Stichele
2009-09-19 11:58:14 +00:00
1980b69810
update notes
Thomas Vander Stichele
2009-09-19 11:57:39 +00:00
ce7b5762f7
* morituri/program/cdparanoia.py: * morituri/rip/offset.py: Another unicode fix.
Thomas Vander Stichele
2009-09-12 17:23:39 +00:00
b455f13080
another unicode fix
Thomas Vander Stichele
2009-09-12 09:10:56 +00:00
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, ...
Thomas Vander Stichele
2009-09-11 22:16:46 +00:00
f3bf6220fb
remove code.interact fix another unicode oversight
Thomas Vander Stichele
2009-09-11 15:50:45 +00:00
8f94731876
pychecker fix
Thomas Vander Stichele
2009-09-11 15:43:47 +00:00
d30eb59a66
* morituri/program/cdrdao.py: Wrap read in an exception handler. * morituri/common/task.py: Debug exceptions more.
Thomas Vander Stichele
2009-09-11 15:41:51 +00:00
e6f13ccf84
* HACKING: Note unicode handling. * morituri/test/test_image_image.py: * morituri/image/table.py: * morituri/program/cdparanoia.py: * morituri/common/checksum.py: Use unicode for paths. Use repr for path representation. * morituri/test/test_common_checksum.py: Add test for unicode audio file name.
Thomas Vander Stichele
2009-09-11 15:40:44 +00:00
9a15e890e0
* morituri/image/cue.py: * morituri/image/toc.py: * morituri/test/test_image_cue.py: * morituri/test/test_image_toc.py: Read input file as utf-8. Fix logging of paths. * morituri/image/image.py: Document and add asserts for unicodeness of paths. Encode path in launch lines as utf-8
Thomas Vander Stichele
2009-09-11 15:37:02 +00:00
ac9d8f194d
* morituri/common/task.py: Make SyncRunner wrap start() so we correctly handle any exception being thrown.
Thomas Vander Stichele
2009-09-11 12:08:02 +00:00
d9530cb82a
* morituri/common/checksum.py: * morituri/test/Makefile.am: * morituri/test/test_common_checksum.py (added): Add a check to make sure that checksumming an empty file doesn't hang. Fix the hang.
Thomas Vander Stichele
2009-09-11 11:48:17 +00:00
d7c204c62b
update todo
Thomas Vander Stichele
2009-09-08 22:27:18 +00:00
0c6a1a221d
update TODO
Thomas Vander Stichele
2009-09-08 21:46:09 +00:00
51027d3d2a
* morituri.spec.in: Add pycdio as requirement.
Thomas Vander Stichele
2009-09-08 21:29:10 +00:00
acd444608b
remove duplicate line
Thomas Vander Stichele
2009-09-08 21:15:02 +00:00
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.
Thomas Vander Stichele
2009-09-07 18:57:14 +00:00
ff5a534da7
* morituri.spec.in: Update requirements to work around known bugs.
Thomas Vander Stichele
2009-09-07 18:56:32 +00:00
ed2b4d4806
remove unexisting file
Thomas Vander Stichele
2009-09-06 22:43:51 +00:00
2efcb21a63
* morituri/rip/cd.py: Fix warning against rebuilt package.
Thomas Vander Stichele
2009-09-06 18:04:21 +00:00
402c3c019a
* README: Fix up dependencies. * morituri.spec.in: Fix dependencies and noarch install location. * morituri/common/Makefile.am: Add result.py to dist
Thomas Vander Stichele
2009-09-06 17:08:17 +00:00
c0ec17d188
* configure.ac: * m4/Makefile.am: * m4/as-ac-expand.m4 (added): Correctly set installation dir for noarch python files so that it works on 64 bit.
Thomas Vander Stichele
2009-09-06 17:07:40 +00:00
6df7313dc4
* morituri/program/cdrdao.py: Parse version number. * morituri/rip/cd.py: Warn about cdrdao versions with a bug. * morituri/test/test_program_cdrdao.py: Test that we can parse the version.
Thomas Vander Stichele
2009-09-05 22:06:02 +00:00
e61a10266d
* morituri/program/cdrdao.py: Handle errors. Tested by not having a CD in the drive.
Thomas Vander Stichele
2009-07-02 20:36:35 +00:00
b9bc3ba154
* morituri/common/task.py: Document better. Create an ITaskListener interface where we can document. Log some more.
Thomas Vander Stichele
2009-07-02 20:34:50 +00:00
bd146a9a35
fix distcheck
Thomas Vander Stichele
2009-06-28 12:43:22 +00:00
e04e02a31e
fix for when there are no responses
Thomas Vander Stichele
2009-06-24 21:30:08 +00:00
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.
Thomas Vander Stichele
2009-06-24 20:47:44 +00:00
5d002d9126
doc update
Thomas Vander Stichele
2009-06-24 20:46:37 +00:00
32d67902d0
fix i
Thomas Vander Stichele
2009-06-24 19:19:43 +00:00
d57cb7ad15
* morituri/image/table.py: Fix deprecationwarning for python 2.6
Thomas Vander Stichele
2009-06-24 19:18:41 +00:00
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.
Thomas Vander Stichele
2009-06-24 18:40:27 +00:00
53e8d9275c
pychecker fix
Thomas Vander Stichele
2009-06-24 18:39:07 +00:00
7f2979b249
update docs
Thomas Vander Stichele
2009-06-24 18:38:51 +00:00
a7f23e4dca
fix import
Thomas Vander Stichele
2009-06-24 18:38:36 +00:00
0b80eaaa9d
* morituri/result/result.py: Document some more.
Thomas Vander Stichele
2009-06-24 16:34:47 +00:00
6e3e0a7218
* morituri/test/Makefile.am: * morituri/test/dBAR-020-002e5023-029d8e49-040eaa14.bin (added): Add AR result for Luke Haines Is Dead disc 1
Thomas Vander Stichele
2009-06-24 16:31:48 +00:00
6e3eeed548
remove unused import
Thomas Vander Stichele
2009-06-20 16:18:00 +00:00
15a5969062
add note
Thomas Vander Stichele
2009-06-20 15:26:28 +00:00
1643d1ec50
* Makefile.am: * misc/pycheckerrc: * morituri/common/accurip.py: * morituri/common/checksum.py: * morituri/common/encode.py: * morituri/image/table.py: * morituri/rip/drive.py: Fix up for pychecker warnings for 2.6 Fix rip drive list, which forgot some modules.
Thomas Vander Stichele
2009-06-20 10:57:12 +00:00
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.
Thomas Vander Stichele
2009-06-16 21:09:27 +00:00
0e07a721d1
declare sessions var
Thomas Vander Stichele
2009-06-16 20:50:15 +00:00
10375235da
* morituri/common/drive.py: Really make pycdio and cdio optional. * morituri/rip/drive.py: * morituri/rip/offset.py: Use drive.getAllDevicePaths()
Thomas Vander Stichele
2009-06-16 19:27:18 +00:00
1cdfea3d73
remove code.interact
Thomas Vander Stichele
2009-06-15 07:34:48 +00:00
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.
Thomas Vander Stichele
2009-06-15 07:07:41 +00:00