Kodi Community Forum
Playing a recording stops too early - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: VDR (https://forum.kodi.tv/forumdisplay.php?fid=169)
+---- Thread: Playing a recording stops too early (/showthread.php?tid=160128)



Playing a recording stops too early - Nachteule - 2013-03-22

I'm currently playing with my recordings, cutting unwanted parts from beginning and end.

But, if I play this recording, it stops always a couple of seconds before really end. Is this an already known issue or what do I have to do to avoid is. This behavior make it difficulty to cut recordings. Start of recording is always ok.

I think it has to do with local buffering in xbmc. If recording comes to end, server tells addon end of recording reached, addon tells this xbmc and xbmc will stop playing immediately.


RE: Playing a recording stops too early - FernetMenta - 2013-03-22

Normal recording or one that is still in progress?


RE: Playing a recording stops too early - Nachteule - 2013-03-22

(2013-03-22, 17:04)FernetMenta Wrote: Normal recording or one that is still in progress?
Normal recordings, cutting not needed parts from beginning and end.

I forgot to say, if I import such a recording into my movie database and play it from there, everything is ok


RE: Playing a recording stops too early - FernetMenta - 2013-03-22

try this: https://github.com/FernetMenta/xbmc/commit/71d531d83312cffde8cc86c6e03ae9491d58c0a9


RE: Playing a recording stops too early - Nachteule - 2013-03-22

(2013-03-22, 17:51)FernetMenta Wrote: try this: https://github.com/FernetMenta/xbmc/commit/71d531d83312cffde8cc86c6e03ae9491d58c0a9
Thank you for your quick response.
No, doesn't help Sad


RE: Playing a recording stops too early - FernetMenta - 2013-03-22

hmm, strange. now it takes the same code pass as normal files. vnsi does not do much when playing a recording, it's much like opening a local file.
You have updates XBMC?


RE: Playing a recording stops too early - Nachteule - 2013-03-22

Yes, I cloned your master xbmc branch into a new directory. Only the addon and vnsiserver is a little bit older.
This issue exists here for a long time


RE: Playing a recording stops too early - FernetMenta - 2013-03-22

How many seconds do you miss at the end?


RE: Playing a recording stops too early - Nachteule - 2013-03-22

7 seconds
I looked to the time in the osd (playing the recording as a normal movie), the time on the right shows me the total time of the recording (43:49) and the time on the left is the current play time. This time stops at 43:42 and will not be incremented during the last 7 seconds. This is exactly the time recording stops too early. However, if I press Pause/Play during this last 7 seconds, time on the left will be actualized.
It makes no difference using an untouched recording or a cutted, always these 7s are lost (SD material)


RE: Playing a recording stops too early - FernetMenta - 2013-03-23

I pushed another fix to my XBMC repo. Should work now.


RE: Playing a recording stops too early - FernetMenta - 2013-03-23

wait ....


RE: Playing a recording stops too early - FernetMenta - 2013-03-23

pushed again.


RE: Playing a recording stops too early - Nachteule - 2013-03-23

Yes, that's it. Works perfectly now.

Great job, thank you