2014-05-15, 20:56
Hi,
Using the Gotham DsPlayer builds, I am having issues with one the the Python API's I use in an Add On script - RenderCapture (see http://mirrors.xbmc.org/docs/python-docs...re-capture).
I am calling the code after a video has begun playing. Here is the routine in excerpt:
This executes with a successful capture (CAPTURE_STATE_DONE) consistently with plain vanilla Gotham 13.0 or 13.1.
But consistently fails (CAPTURE_STATE_FAILED) with the DSPlayer builds. This previously worked fine in the Frodo DSPlayer builds. I was wondering if this is implemented differently in the Gotham DSPlayer builds?
Thanks for your help.
Using the Gotham DsPlayer builds, I am having issues with one the the Python API's I use in an Add On script - RenderCapture (see http://mirrors.xbmc.org/docs/python-docs...re-capture).
I am calling the code after a video has begun playing. Here is the routine in excerpt:
Code:
...
capture = xbmc.RenderCapture()
capture.capture(width, height, xbmc.CAPTURE_FLAG_CONTINUOUS)
tar = capture.getAspectRatio()
capture.waitForCaptureStateChangeEvent(2000)
aax = capture.getCaptureState()
if aax == xbmc.CAPTURE_STATE_FAILED:
...
elif aax == xbmc.CAPTURE_STATE_DONE:
...
But consistently fails (CAPTURE_STATE_FAILED) with the DSPlayer builds. This previously worked fine in the Frodo DSPlayer builds. I was wondering if this is implemented differently in the Gotham DSPlayer builds?
Thanks for your help.