Commit Graph

280 Commits

Author SHA1 Message Date
Thomas Vander Stichele
1c1d1c954e add FIXME 2012-12-06 17:49:32 +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
90a8d4992c * morituri/common/common.py:
Strip bitrate tags too for comparison of dicts.
	  Add a way to show us the different keys between dicts.
	* morituri/common/encode.py:
	  Debug different keys.
2012-12-06 17:28:24 +00:00
Thomas Vander Stichele
90bb3a7371 * morituri/common/encode.py:
Collect all tags by replacing from newer tag messages.
	  Gets more than bitrate from flacs now.
2012-12-06 17:18:32 +00:00
Thomas Vander Stichele
43963a0050 log all tasks 2012-12-06 16:58:44 +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
cec7f71502 * morituri/common/task.py:
Failed and done can stay unimplemented.
	  If we read stdout or stderr, reschedule immediately to process
	  all output before considering the possibility the program stopped.
2012-12-04 00:13:25 +00:00
Thomas Vander Stichele
7545829764 * morituri/common/config.py:
Add methods to get/set defeating of audio cache.
	  Make sure that we set read offset even if section is already there.
2012-12-04 00:12:38 +00:00
Thomas Vander Stichele
b8fd3f2931 * morituri/common/task.py:
* morituri/program/cdrdao.py:
	  Factor out a PopenTask base class.
2012-12-03 22:58:22 +00:00
Thomas Vander Stichele
5ddeca949e move import 2012-12-02 21:57:15 +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
5c4a63c1ab * morituri/common/common.py:
Remove migrated classes.
2012-12-02 17:54:37 +00:00
Thomas Vander Stichele
67540627fa * morituri/common/cache.py:
Disable the version-based persistence deleting.
	  Allow not creating a fresh ripresult when getting one.
2012-12-02 17:53:47 +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
3e0363de32 pychecker fixes 2012-12-02 12:31:45 +00:00
Thomas Vander Stichele
445708b4ea * morituri.spec.in:
* morituri/common/config.py:
	  Use XDG if we can import xdg.
	  Fix writing the config.
2012-12-02 12:07:18 +00:00
Thomas Vander Stichele
18c99b6e77 * morituri/common/drive.py:
* morituri/rip/drive.py:
	  Extract getDeviceInfo function.
2012-12-02 12:04:45 +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
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
6b50218701 * morituri/common/encode.py:
Also remove buggy audio parsers when encoding.
	  Fixes #73.
2012-11-23 16:39:34 +00:00
Thomas Vander Stichele
3c87608773 * morituri/common/encode.py:
Use vbr-quality instead of quality for vbr.  Fixes #94.
2012-11-23 16:30:05 +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
794a4c3f5c * morituri/common/common.py:
* morituri/image/cue.py:
	* morituri/image/toc.py:
	  factor out getRealPath
2012-11-19 08:56:17 +00:00
Thomas Vander Stichele
cd90c361a6 give a logname 2012-11-18 13:08:31 +00:00
Thomas Vander Stichele
20adca46fd fix header 2012-11-18 12:26:13 +00:00
Thomas Vander Stichele
0fab4515c6 pep8 fixes 2012-11-11 23:00:37 +00:00
Thomas Vander Stichele
e6a35146a7 pep8 fixes 2012-11-11 22:34:04 +00:00
Thomas Vander Stichele
77691747e5 pep8 fixes 2012-11-11 22:25:41 +00:00
Thomas Vander Stichele
29f71762da pep8 fixes 2012-11-11 22:23:25 +00:00
Thomas Vander Stichele
2f9dc86d86 pep8 fixes 2012-11-10 22:05:36 +00:00
Thomas Vander Stichele
ca7cd77dda pep8 fixes 2012-11-10 21:57:43 +00:00
Thomas Vander Stichele
a3fe7ba7e7 pep8 fixes 2012-11-10 21:57:06 +00:00
Thomas Vander Stichele
4ddca857f7 pep8 fixes 2012-11-10 21:56:30 +00:00
Thomas Vander Stichele
d248508f11 pep8 fixes 2012-11-10 21:53:16 +00:00
Thomas Vander Stichele
22d299c0ba pep8 fixes 2012-11-10 21:52:18 +00:00
Thomas Vander Stichele
6b45a9935b pep8 cleanup 2012-11-10 21:50:26 +00:00
Thomas Vander Stichele
fbb75dc91b pep8 cleanup 2012-11-10 21:48:04 +00:00
Thomas Vander Stichele
bbeaa7b940 remove whitespace 2012-11-10 20:27:17 +00:00
Thomas Vander Stichele
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!
2012-08-12 18:03:21 +00:00
Thomas Vander Stichele
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.
2012-08-12 12:32:09 +00:00
Thomas Vander Stichele
91b852b485 * morituri/common/checksum.py:
* morituri/common/encode.py:
	  Add a GstPipelineTask that lets us log.
	  Handle checksumming of small tracks better.
2012-08-12 12:26:33 +00:00
Thomas Vander Stichele
dbea1ca67f remove unused line 2012-08-12 11:52:24 +00:00
Thomas Vander Stichele
519baf6501 revert accidental commit 2012-07-12 09:40:00 +00:00
Thomas Vander Stichele
97101ec972 add new file 2012-07-12 09:38:59 +00:00