PositionRecordedStream -
#1
Hi,

I'm currently playing around with providing the raw MPEG-TS stream to XBMC instead of the streaming url. This is in preparation of a future timeshift support.

While playing recordings works fine, I have a problem with seeking in a recording. I think that this has maybe something to do with the PositionRecordedStream-Function. I always get the following error:

Code:
20:45:25 T:139960803501824   ERROR: PVR - exception 'vector::_M_range_check' caught while trying to call 'PositionRecordedStream()' on add-on 'duo:192.168.0.128'. Please contact the developer of this add-on: Joerg Dembski

I already commented out everything possible in the client.cpp - the function currently looks like this:
Code:
long long PositionRecordedStream(void)
{
return -1;
}

Does anybody have an idea why it keeps throwing me this error? It's quite ironic that the Log-Line tells me to contact myself and I don't know what is happening here Smile
VU+ / Enigma2 PVR Client: Documentation | Development | Discussion
Reply
#2
you can remove the try-catch from https://github.com/xbmc/xbmc/blob/master...t.cpp#L883
and then run it in gdb to see where it bugs out exactly
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#3
Thanks, that did the trick. It is a copy&paste error - the log is stating PositionRecordedStream, but LengthRecordedStream was actually called.

Here is a PR to fix this:
https://github.com/xbmc/xbmc/pull/1664
VU+ / Enigma2 PVR Client: Documentation | Development | Discussion
Reply

Logout Mark Read Team Forum Stats Members Help
PositionRecordedStream - 0