Commit Graph

23 Commits

Author SHA1 Message Date
Thomas Vander Stichele
3370acac68 * morituri/extern/task/gstreamer.py:
Fix wrong commit made to fix #89.
2012-11-18 14:57:56 +00:00
Thomas Vander Stichele
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.
2012-11-18 13:06:59 +00:00
Thomas Vander Stichele
903fade567 simplify logic; log bus error cb 2012-11-18 13:04:37 +00:00
Thomas Vander Stichele
2a0bc4a8df make a LogStub class 2012-11-18 12:31:15 +00:00
Thomas Vander Stichele
bd87a67e48 pep8 fixes 2012-11-18 12:20:18 +00:00
Thomas Vander Stichele
f0c66013e3 * morituri/extern/task/gstreamer.py:
* morituri/test/test_common_checksum.py:
	  Protect backslashes in names.  Fixes #89.
2012-08-12 18:25:03 +00:00
Thomas Vander Stichele
b9af80e76d * task.py:
Add a debug statement.
2012-07-12 09:18:52 +00:00
Thomas Vander Stichele
ad71fa06db * TODO:
* morituri/extern/task/task.py:
	  Instead of chaining next in multi tasks, making the call
	  chain larger (and exceed maximum depth on track 75), schedule
	  it immediately.
2011-10-19 17:34:02 +00:00
Thomas Vander Stichele
ba3dd85dc5 * morituri/extern/task/gstreamer.py:
Query using time if DEFAULT fails.
2011-09-15 14:23:25 +00:00
Thomas Vander Stichele
e6176d8b8c doc fix 2011-08-25 11:04:20 +00:00
Thomas Vander Stichele
fdbaa33b1f * task.py:
Better logging when scheduling.
	* gstreamer.py:
	  If paused() returns True, don't go to playing.
	  add a method for querying duration in the common case.
2011-08-15 10:25:55 +00:00
Thomas Vander Stichele
ac2ab6a34a * task.py:
Remove scrubFilename call.
2011-08-08 11:37:09 +00:00
Thomas Vander Stichele
bc62f92ce4 * task.py:
Pull in getExceptionMessage privately.
2011-08-08 11:35:35 +00:00
Thomas Vander Stichele
a8c437307c * morituri/extern/task/task.py:
Also stub out log calls on Runner.
2011-08-07 18:24:01 +00:00
Thomas Vander Stichele
c8e5545776 * morituri/extern/task/task.py:
Also handle error() log calls.
2011-08-07 18:20:21 +00:00
Thomas Vander Stichele
b5e1e8da7d * gstreamer.py:
* task.py:
	  Don't rely on the log module; users that want to log
	  should first subclass from a log class that implements
	  warning/info/debug/log
2011-08-05 20:21:31 +00:00
Thomas Vander Stichele
8af605c2c0 * gstreamer.py:
Document bus and pipeline.  Make bus public.
2011-08-05 20:19:58 +00:00
Thomas Vander Stichele
0da4d75935 update headers 2011-08-05 19:19:01 +00:00
Thomas Vander Stichele
95cd741904 * gstreamer.py:
Add quoteParse() method.
2011-08-05 19:16:40 +00:00
Thomas Vander Stichele
7ae0f41457 * gstreamer.py:
Add getPipeline() method.
	  Base class implementation uses getPipelineDesc().
2011-08-05 19:11:00 +00:00
Thomas Vander Stichele
55c4bddfcf * morituri/common/Makefile.am:
* morituri/common/checksum.py:
	* morituri/common/gstreamer.py:
	* morituri/extern/Makefile.am:
	* morituri/extern/task/gstreamer.py:
	* morituri/common/gstreamer.py (added):
	  Extract function to remove audio parsers.
	  Fix up dist.
2011-08-05 19:04:53 +00:00
Thomas Vander Stichele
82287a32cc add module __init__ 2011-08-05 18:55:28 +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