NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC v
« Previous 1 … 7 8 9 10 11 … 43 Next »
pvr.nextpvr timeshift seek bar reproducibly breaks at specific buffer length Android

 
  • 0 Vote(s) - 0 Average
pvr.nextpvr timeshift seek bar reproducibly breaks at specific buffer length Android
mmortal03
Offline

Member

USA
Posts: 89
Threads: 9
Joined: Jan 2021
#1
2021-01-31, 10:41 AM (This post was last modified: 2021-01-31, 10:42 AM by mmortal03.)
When using the pvr.nextpvr add-on in Kodi, I'm seeing the timeshift seek bar break (disappear) in Kodi Leia and Matrix RC1 on two different Android 32-bit devices, but not on Windows 10 64-bit. The two Android devices I'm testing are a phone running LineageOS 17.1, and a Fire TV Stick 4K. It happens after an *exact* amount of buffer time has elapsed (35 minutes and 47 seconds), reproducible every time, even though my buffer minutes on the NextPVR server is set for much more time than this (180 minutes). I've reproduced it using TV channels with HD and SD resolutions, so it doesn't seem specific to the buffer file size, just the length. I'm testing it without having guide data -- I don't know if having guide data changes things, but it's also easier to witness the specific timing of the 35:47 mark being reached if no guide data is present to replace the timeshift buffer length read-out (the denominator).

To be sure, my server's Live TV buffer directory has plenty of storage space, and I checked the system memory usage in Kodi System info and didn't notice any memory leak or anything. Also, neither of the tested Android devices' storage is full. Anyway, it would seem improbable that two different client devices' storage circumstances would result in a bug that occurs at exactly the same amount of elapsed buffer time.

Here's an example log (not verbose), but I don't know if it's really that helpful: https://www.dropbox.com/s/kf5oghi94z7ucp...8.zip?dl=0

In this log, I started watching WKRN at 23:02:04.629, paused playback, and waited. Immediately on reaching 35 minutes and 47 seconds of timeshift buffer, the seek bar disappears, leaving what looks sort of like the realtime controls, but with pause functionality still working, but no seeking ability. In other words, the TV stream at this point can continue to be played and can be paused, with the buffer stream continuing to be captured on the server, but it becomes no longer possible to skip forward or backwards.

Doing math on the log times, I just don't see an obvious error entry, as I would expect it to occur in the log immediately following 23:37:50, but nothing eventful seems to occur there. I can work on producing another log in verbose mode if necessary, but hopefully someone can reproduce this issue on another system and it isn't some weird quirk pertaining to just my server and two Android devices.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,841
Threads: 954
Joined: May 2006
#2
2021-01-31, 03:04 PM
I actually suspect it is guide related but I will set up a couple of tests to confirm.  The prev and next item buttons are for navigating between programs not seeking.  Does seeking with the arrow keys work  as expected?

And as a reminder I need Kodi debug logs for Kodi problems.

Edit:  Pausing with an EPG working fine.  You can see the buffer time is past 36 minutes (into the next show).  I let it go to 40 minutes witho no. The navigation button would skip to that next show.

Edit: 2 I re-read your post and see that you see the issue only on 32 bit Android. So I guess I will check a 32 bit Windows install. Same on Window 32 bit so I don't think it is an addon problem it is the same code.

Need to see the debug logs I guess.

Martin


Attached Files Thumbnail(s)
   
mmortal03
Offline

Member

USA
Posts: 89
Threads: 9
Joined: Jan 2021
#3
2021-01-31, 09:15 PM (This post was last modified: 2021-02-01, 03:17 AM by mmortal03.)
(2021-01-31, 03:04 PM)mvallevand Wrote: I actually suspect it is guide related but I will set up a couple of tests to confirm.  The prev and next item buttons are for navigating between programs not seeking.  Does seeking with the arrow keys work as expected?

Yeah, I'm referring to seeking with the arrow keys (left and right) and even clicking/tapping on the seek bar (both breaking). I don't have a keyboard on the phone to simulate left/right keys, but tapping to seek is also impossible once the seek bar disappears. On the Fire TV Stick 4K remote, the left and right circle directions are, by default, mapped exactly the same as the left and right arrow keys on a keyboard. These just do nothing after this bug occurs, i.e. once the seek bar disappears. Here are screenshots:

Before bug occurs:

 [Image: H4bSHyM.png]

After bug occurs: 

[Image: aN9qglJ.png]

(2021-01-31, 03:04 PM)mvallevand Wrote: And as a reminder I need Kodi debug logs for Kodi problems.

For sure, I will generate one for you soon.

Quote:Edit: 2 I re-read your post and see that you see the issue only on 32 bit Android. So I guess I will check a 32 bit Windows install. Same on Window 32 bit so I don't think it is an addon problem it is the same code.

I was thinking that I could set up a Windows 10 32-bit install in VirtualBox to test this, but can you temporarily de-activate the guide data on one channel to test in Windows 32-bit, since you already have it available to you? That way we could explicitly rule the server out and you'd be able to reproduce it. It's one easy setting to deactivate the guide in Kodi on a channel, and won't do anything permanent to your guide. Just go into PVR & Live TV settings, channel manager, and de-select "Activate guide" for the channel you're testing.

Edit: I did some googling, and Kodi generally won't run on VirtualBox, so that's good to know!
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,841
Threads: 954
Joined: May 2006
#4
2021-01-31, 09:33 PM
You don't need Virtual Box on Windows it is easily do have a portable mode install with -p parameter In any case with an EPG it worked on 32 bit. I'm testing this without an EPG on Win 32.

The server should not have anything to do with this that I can think of.

Martin
mmortal03
Offline

Member

USA
Posts: 89
Threads: 9
Joined: Jan 2021
#5
2021-02-01, 02:05 AM
(2021-01-31, 09:33 PM)mvallevand Wrote: I'm testing this without an EPG on Win 32.

Any luck? What happened?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,841
Threads: 954
Joined: May 2006
#6
2021-02-01, 02:15 AM
Worked fine I left it on for a few hours and it didn't disappear. I am working on another device in my computer room but I just started a test on an Android tablet.

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,841
Threads: 954
Joined: May 2006
#7
2021-02-01, 03:26 AM
When you pause on Android do you keep the focus on Kodi? Android is not multi tasking which could cause a issue.

Martin
mmortal03
Offline

Member

USA
Posts: 89
Threads: 9
Joined: Jan 2021
#8
2021-02-01, 03:46 AM
(2021-02-01, 02:15 AM)mvallevand Wrote: Worked fine I left it on for a few hours and it didn't disappear.  I am working on another device in my computer room but I just started a test on an Android tablet.

Martin

Interesting, so it's possibly just an Android 32-bit bug -- we'll have to see how your Android test goes. I just found an external SSD that I forgot I had, so I will install Windows 10 32-bit on that to try to confirm your result. I also wonder what would happen on Android 64-bit, but I don't have an Android 64-bit device handy. I do have Android-x86 64-bit installed on a machine, so I may test that, as well.
mmortal03
Offline

Member

USA
Posts: 89
Threads: 9
Joined: Jan 2021
#9
2021-02-01, 03:49 AM
(2021-02-01, 03:26 AM)mvallevand Wrote: When you pause on Android do you keep the focus on Kodi?  Android is not multi tasking which could cause a issue.

Martin

On the Fire TV Stick 4K, I have it set to never sleep, and am leaving it with Kodi on screen, never leaving. On the phone, I'm leaving the screen always on and never leaving Kodi.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,841
Threads: 954
Joined: May 2006
#10
2021-02-01, 04:02 AM
This is why I need your Kodi debug logs.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR and Android 10 charlyms 7 760 2024-11-17, 09:39 PM
Last Post: mvallevand
  Android TV Box Upgrade & Player Error meccano 11 1,010 2024-09-17, 03:32 PM
Last Post: mvallevand
  NextPVR Client for CoreELEC ChrisI 3 553 2024-09-07, 10:11 PM
Last Post: mvallevand
  Kodi 21.0 Omega/NextPVR 21.1.0 PVR & Live TV Group Manager bouilliabai 28 4,056 2024-08-06, 10:00 PM
Last Post: sub
  Kodi Omega NextPVR Recordings short press context menu (More... item) mmortal03 5 1,043 2024-04-18, 11:19 PM
Last Post: mmortal03
  How to change the recording directory in NextPVR v5 RylanWilkinson 1 753 2024-02-20, 04:29 PM
Last Post: sub
  Kodi NextPVR playback error "Playback Failed" eggburt 6 2,200 2024-02-16, 04:33 AM
Last Post: eggburt
  Nextpvr add-on for Kodi won't sync channels WagMan 3 862 2023-12-23, 01:06 AM
Last Post: mvallevand
  NextPVR not starting or couldn't be loaded Apple TV on Kodi start Ade_AV 19 2,693 2023-08-25, 01:12 AM
Last Post: mvallevand
  NextPVR latest version went missing. Ericktreetops 2 784 2023-08-10, 12:43 PM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode