Playing a recording stops too early
#1
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.
Kodi 18.6 @ openSUSE 13.1 x86_64 - Asus E35M1-I DELUXE | 8GB Ram | 240G 2.5" SSD
Kodi 20.2 on 1st Raspberry Pi B @ XBian | Kodi 20.2 on Raspberry Pi 3B+ @ XBian | Kodi 21a2 on Raspberry Pi4B @ XBian | Kodi 19.0 on SolidRun i.MX6 @ XBian
VDR 2.4.5 & Tvheadend4.3-1917 (for recording) on Cubieboard2 @ Debian Buster
Reply
#2
Normal recording or one that is still in progress?
Reply
#3
(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
Kodi 18.6 @ openSUSE 13.1 x86_64 - Asus E35M1-I DELUXE | 8GB Ram | 240G 2.5" SSD
Kodi 20.2 on 1st Raspberry Pi B @ XBian | Kodi 20.2 on Raspberry Pi 3B+ @ XBian | Kodi 21a2 on Raspberry Pi4B @ XBian | Kodi 19.0 on SolidRun i.MX6 @ XBian
VDR 2.4.5 & Tvheadend4.3-1917 (for recording) on Cubieboard2 @ Debian Buster
Reply
#4
try this: https://github.com/FernetMenta/xbmc/comm...491d58c0a9
Reply
#5
(2013-03-22, 17:51)FernetMenta Wrote: try this: https://github.com/FernetMenta/xbmc/comm...491d58c0a9
Thank you for your quick response.
No, doesn't help Sad
Kodi 18.6 @ openSUSE 13.1 x86_64 - Asus E35M1-I DELUXE | 8GB Ram | 240G 2.5" SSD
Kodi 20.2 on 1st Raspberry Pi B @ XBian | Kodi 20.2 on Raspberry Pi 3B+ @ XBian | Kodi 21a2 on Raspberry Pi4B @ XBian | Kodi 19.0 on SolidRun i.MX6 @ XBian
VDR 2.4.5 & Tvheadend4.3-1917 (for recording) on Cubieboard2 @ Debian Buster
Reply
#6
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?
Reply
#7
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
Kodi 18.6 @ openSUSE 13.1 x86_64 - Asus E35M1-I DELUXE | 8GB Ram | 240G 2.5" SSD
Kodi 20.2 on 1st Raspberry Pi B @ XBian | Kodi 20.2 on Raspberry Pi 3B+ @ XBian | Kodi 21a2 on Raspberry Pi4B @ XBian | Kodi 19.0 on SolidRun i.MX6 @ XBian
VDR 2.4.5 & Tvheadend4.3-1917 (for recording) on Cubieboard2 @ Debian Buster
Reply
#8
How many seconds do you miss at the end?
Reply
#9
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)
Kodi 18.6 @ openSUSE 13.1 x86_64 - Asus E35M1-I DELUXE | 8GB Ram | 240G 2.5" SSD
Kodi 20.2 on 1st Raspberry Pi B @ XBian | Kodi 20.2 on Raspberry Pi 3B+ @ XBian | Kodi 21a2 on Raspberry Pi4B @ XBian | Kodi 19.0 on SolidRun i.MX6 @ XBian
VDR 2.4.5 & Tvheadend4.3-1917 (for recording) on Cubieboard2 @ Debian Buster
Reply
#10
I pushed another fix to my XBMC repo. Should work now.
Reply
#11
wait ....
Reply
#12
pushed again.
Reply
#13
Yes, that's it. Works perfectly now.

Great job, thank you
Kodi 18.6 @ openSUSE 13.1 x86_64 - Asus E35M1-I DELUXE | 8GB Ram | 240G 2.5" SSD
Kodi 20.2 on 1st Raspberry Pi B @ XBian | Kodi 20.2 on Raspberry Pi 3B+ @ XBian | Kodi 21a2 on Raspberry Pi4B @ XBian | Kodi 19.0 on SolidRun i.MX6 @ XBian
VDR 2.4.5 & Tvheadend4.3-1917 (for recording) on Cubieboard2 @ Debian Buster
Reply

Logout Mark Read Team Forum Stats Members Help
Playing a recording stops too early0