445708b4ea
* morituri.spec.in: * morituri/common/config.py: Use XDG if we can import xdg. Fix writing the config.
Thomas Vander Stichele
2012-12-02 12:07:18 +00:00
638d2bc7a0
add missing tests
Thomas Vander Stichele
2012-12-02 11:11:34 +00:00
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.
Thomas Vander Stichele
2012-12-02 11:09:13 +00:00
10e83dba4b
add TODO
Thomas Vander Stichele
2012-11-29 23:22:55 +00:00
cba7dbe41a
pep8 fixes
Thomas Vander Stichele
2012-11-29 19:54:46 +00:00
f0cb567a0d
* morituri/common/program.py: * morituri/rip/cd.py: Reset rip duration when we continue a rip but have to rerip a track.
Thomas Vander Stichele
2012-11-28 08:19:43 +00:00
e67ad23894
* morituri/common/program.py: * morituri/program/cdparanoia.py: * morituri/result/result.py: Track ripping speed for test and encode per-track.
Thomas Vander Stichele
2012-11-27 08:09:51 +00:00
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.
Thomas Vander Stichele
2012-11-25 22:00:42 +00:00
76e8d94801
* morituri/program/cdparanoia.py: Make sure we calculate fractional speed.
Thomas Vander Stichele
2012-11-25 20:57:19 +00:00
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.
Thomas Vander Stichele
2012-11-25 19:54:15 +00:00
26827195c0
* morituri/common/program.py: Add %y to template for year. Fixes#98.
Thomas Vander Stichele
2012-11-22 23:22:26 +00:00
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.
Thomas Vander Stichele
2012-11-22 23:20:44 +00:00
3dc88a4a28
* morituri/test/common.py: Make tests log.
Thomas Vander Stichele
2012-11-19 20:44:30 +00:00
fa3a6b76c7
add tests
Thomas Vander Stichele
2012-11-19 09:00:50 +00:00
794a4c3f5c
* morituri/common/common.py: * morituri/image/cue.py: * morituri/image/toc.py: factor out getRealPath
Thomas Vander Stichele
2012-11-19 08:56:17 +00:00
56f1de4c5c
* morituri/image/toc.py: * morituri/test/test_image_toc.py: Add test for getRealPath. Fix bug found by it for absolute paths.
Thomas Vander Stichele
2012-11-19 08:50:09 +00:00
5173f99b7a
* Makefile.am: * doc/Makefile.am: Adapt to changing over to git module for python-command
Thomas Vander Stichele
2012-11-18 15:15:04 +00:00
3704ce31da
put symlink to github checkout
Thomas Vander Stichele
2012-11-18 15:09:55 +00:00
009d4c5376
remove command externals
Thomas Vander Stichele
2012-11-18 15:09:12 +00:00
3370acac68
* morituri/extern/task/gstreamer.py: Fix wrong commit made to fix#89.
Thomas Vander Stichele
2012-11-18 14:57:56 +00:00
cd90c361a6
give a logname
Thomas Vander Stichele
2012-11-18 13:08:31 +00:00
cc7d031b5e
* gstreamer.py: Only set an exception once in bus_error_cb. Was triggered by morituri's checksum test, but only if multiple tests were run - got the same bus error twice.
Thomas Vander Stichele
2012-11-18 13:06:59 +00:00
903fade567
simplify logic; log bus error cb
Thomas Vander Stichele
2012-11-18 13:04:37 +00:00
ad1d9cb28a
use a logging task runner
Thomas Vander Stichele
2012-11-18 13:04:16 +00:00
a8371ed541
fix docstring
Thomas Vander Stichele
2012-11-18 13:01:50 +00:00
2a0bc4a8df
make a LogStub class
Thomas Vander Stichele
2012-11-18 12:31:15 +00:00
20adca46fd
fix header
Thomas Vander Stichele
2012-11-18 12:26:13 +00:00
bd87a67e48
pep8 fixes
Thomas Vander Stichele
2012-11-18 12:20:18 +00:00
4aa0fb0438
* morituri/rip/offset.py: Don't let an exception on testing an offset slip pass. Fixes#99.
Thomas Vander Stichele
2012-11-17 19:38:33 +00:00
108dc72f5f
convert prints to writes
Thomas Vander Stichele
2012-11-17 19:35:57 +00:00
008e257f22
self.stdout instead of print
Thomas Vander Stichele
2012-11-12 08:02:57 +00:00
0fab4515c6
pep8 fixes
Thomas Vander Stichele
2012-11-11 23:00:37 +00:00
6adf75a832
pep8 fixes
Thomas Vander Stichele
2012-11-11 22:45:41 +00:00
4a4e1ba128
* morituri/program/cdparanoia.py: * morituri/rip/cd.py: Add a number of tries to rip a track.
Thomas Vander Stichele
2012-11-11 22:40:53 +00:00
e4cbc33583
pep8 fixes
Thomas Vander Stichele
2012-11-11 22:39:13 +00:00
c2f827c24c
pep8 fixes
Thomas Vander Stichele
2012-11-11 22:37:11 +00:00
d757afe5b1
pep8 fixes
Thomas Vander Stichele
2012-11-11 22:36:06 +00:00
e6a35146a7
pep8 fixes
Thomas Vander Stichele
2012-11-11 22:34:04 +00:00
25d2bdf7b6
pep8 fixes
Thomas Vander Stichele
2012-11-11 22:32:31 +00:00
f4c79e4e26
pep8 fixes
Thomas Vander Stichele
2012-11-11 22:32:20 +00:00
e133b9da1b
pep8 fixes
Thomas Vander Stichele
2012-11-11 22:30:17 +00:00
b186e74788
pep8 fixes
Thomas Vander Stichele
2012-11-11 22:26:11 +00:00
77691747e5
pep8 fixes
Thomas Vander Stichele
2012-11-11 22:25:41 +00:00
4d975b6d26
pep8 fixes
Thomas Vander Stichele
2012-11-11 22:25:24 +00:00
6b31fa47d1
pep8 fixes
Thomas Vander Stichele
2012-11-11 22:25:08 +00:00
b0db74b5a8
pep8 fixes
Thomas Vander Stichele
2012-11-11 22:24:03 +00:00
29f71762da
pep8 fixes
Thomas Vander Stichele
2012-11-11 22:23:25 +00:00
dc01274dd0
pep8 fixes
Thomas Vander Stichele
2012-11-10 22:36:14 +00:00
b9d6807065
pep8 fixes
Thomas Vander Stichele
2012-11-10 22:24:50 +00:00
e3cce37de4
pep8 fixes
Thomas Vander Stichele
2012-11-10 22:18:09 +00:00
4d6a682b49
pep8 fixes
Thomas Vander Stichele
2012-11-10 22:15:24 +00:00
a010dee24a
pep8 fixes
Thomas Vander Stichele
2012-11-10 22:15:10 +00:00
090886bc45
pep8 fixes
Thomas Vander Stichele
2012-11-10 22:15:04 +00:00
df2cbc6b0f
pep8 fixes
Thomas Vander Stichele
2012-11-10 22:14:43 +00:00
2f9dc86d86
pep8 fixes
Thomas Vander Stichele
2012-11-10 22:05:36 +00:00
ca7cd77dda
pep8 fixes
Thomas Vander Stichele
2012-11-10 21:57:43 +00:00
a3fe7ba7e7
pep8 fixes
Thomas Vander Stichele
2012-11-10 21:57:06 +00:00
4ddca857f7
pep8 fixes
Thomas Vander Stichele
2012-11-10 21:56:30 +00:00
d248508f11
pep8 fixes
Thomas Vander Stichele
2012-11-10 21:53:16 +00:00
22d299c0ba
pep8 fixes
Thomas Vander Stichele
2012-11-10 21:52:18 +00:00
6b45a9935b
pep8 cleanup
Thomas Vander Stichele
2012-11-10 21:50:26 +00:00
fbb75dc91b
pep8 cleanup
Thomas Vander Stichele
2012-11-10 21:48:04 +00:00
0d4971b301
whitespace
Thomas Vander Stichele
2012-11-10 21:41:35 +00:00
2282a39f2b
log checksums
Thomas Vander Stichele
2012-11-10 21:30:53 +00:00
b6f940c08a
remove unused import
Thomas Vander Stichele
2012-11-10 20:27:38 +00:00
bbeaa7b940
remove whitespace
Thomas Vander Stichele
2012-11-10 20:27:17 +00:00
f0c66013e3
* morituri/extern/task/gstreamer.py: * morituri/test/test_common_checksum.py: Protect backslashes in names. Fixes#89.
Thomas Vander Stichele
2012-08-12 18:25:03 +00:00
1da3c8cdfb
* morituri/common/drive.py: If cdio.get_devices_with_cap finds a single drive, it returns a str instead of a list. Work around that bug. Fixes#102. * morituri/test/test_common_drive.py (added): * morituri/test/Makefile.am: Add test for it. Caught a bug in my first implementation, too!
Thomas Vander Stichele
2012-08-12 18:03:21 +00:00
1e2f8aa93f
* morituri/common/Makefile.am: * morituri/common/checksum.py: * morituri/common/encode.py: Add a GstPipelineTask that lets us log. Handle checksumming of small tracks better.
Thomas Vander Stichele
2012-08-12 12:32:09 +00:00
91b852b485
* morituri/common/checksum.py: * morituri/common/encode.py: Add a GstPipelineTask that lets us log. Handle checksumming of small tracks better.
Thomas Vander Stichele
2012-08-12 12:26:33 +00:00
dbea1ca67f
remove unused line
Thomas Vander Stichele
2012-08-12 11:52:24 +00:00
519baf6501
revert accidental commit
Thomas Vander Stichele
2012-07-12 09:40:00 +00:00
97101ec972
add new file
Thomas Vander Stichele
2012-07-12 09:38:59 +00:00
b9af80e76d
* task.py: Add a debug statement.
Thomas Vander Stichele
2012-07-12 09:18:52 +00:00
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.
Thomas Vander Stichele
2012-04-01 20:41:55 +00:00
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.
Thomas Vander Stichele
2012-04-01 20:40:21 +00:00
f1b827d6c5
add debug
Thomas Vander Stichele
2012-01-23 21:11:03 +00:00
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
Thomas Vander Stichele
2012-01-23 10:09:24 +00:00