NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC v
« Previous 1 … 4 5 6 7 8 … 43 Next »
Kodi AFTV4K resume

 
  • 0 Vote(s) - 0 Average
Kodi AFTV4K resume
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#1
2021-11-01, 03:12 AM
I'm watching two in progress recordings. NFL Vikings vs Cowboys and the World series. Sometimes when I switch to the other game and select resume it starts at 0 instead of where it left off. This happened a few times. The last time I decided to capture some logs.

Kodi 19.3 android client Nextpvr v5 running on Linux.

The logs should show that last resume attempt and maybe a couple more earlier in the logs.


Attached Files
.zip   logs-20211031-2154.zip (Size: 1.56 MB / Downloads: 2)
.zip   kodi.zip (Size: 114 bytes / Downloads: 1)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,019
Threads: 956
Joined: May 2006
#2
2021-11-01, 03:50 AM
Kod.log is zero bytes and without it I can't help solve the problem. I do see why NextPVR is reporting zero because Kodi is reporting the end time is greater then the end time plus the end time won't even have happened.

2021-10-31 19:53:47.950 [DEBUG][61] PlaybackPositionHelper.StorePlaybackPosition(2021 World Series_20211031_19002200.ts, 10980, 10860)

2021-10-31 21:37:00.728 [DEBUG][185] PlaybackPositionHelper.StorePlaybackPosition(2021 World Series_20211031_19002200.ts, 10980, 10860)

If I had go guess I feel it is somehow related to you playing the file way too close to real time, I do see a lot of of opens with seek. You could also be seeking over commercials too close to real time, that information is all hidden without the Kodi log.

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#3
2021-11-01, 04:13 AM
(2021-11-01, 03:50 AM)mvallevand Wrote: Kod.log is zero bytes and without it I can't help solve the problem. I do see why NextPVR is reporting zero because Kodi is reporting the end time is greater then the end time plus the end time won't even have happened.

2021-10-31 19:53:47.950 [DEBUG][61] PlaybackPositionHelper.StorePlaybackPosition(2021 World Series_20211031_19002200.ts, 10980, 10860)

2021-10-31 21:37:00.728 [DEBUG][185] PlaybackPositionHelper.StorePlaybackPosition(2021 World Series_20211031_19002200.ts, 10980, 10860)

If I had go guess I feel it is somehow related to you playing the file way too close to real time, I do see a lot of of opens with seek.  You could also be seeking over commercials too close to real time, that information is all hidden without the Kodi log.

Martin

Sorry, here is the real kodi log.

I believe the recording was at least 15 minutes from live when I tried the resume.


Attached Files
.zip   kodi.zip (Size: 332.93 KB / Downloads: 1)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,019
Threads: 956
Joined: May 2006
#4
2021-11-01, 03:40 PM
Thanks the Kodi log helped and I can duplicate it.  Because you are watching the recording effectively at live point and because there is no content length from NextPVR for in progress recording Kodi gets confused and they can be marked as completed by Kodi rather the passing the current playback position.  This "watched" logic doesn't seem to kick in until about 23 minutes into the recording so my normal testing didn't catch it.

I was handling this in the code for recordings by passing NextPVR the full duration but for in-progress recordings I should be passing the clock time.  Unfortunately this is not a trivial problem.

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#5
2021-11-01, 07:06 PM
Thanks for the explanation. I don't typically watch watch two events like this switching between the two.

The most common way for me is to join one recording about an hour after it starts. Then I skip commercials and halftime programming until I get caught up to live. At this point I usually cancel the recording and just watch it live. Most of the time I don't have any issues. Occasionally, when skipping ahead Kodi will freeze and require me to restart the recording. I'm guessing that if the resume time is too close to live I will have the same problem.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,019
Threads: 956
Joined: May 2006
#6
2021-11-01, 07:43 PM
The issue is Kodi deciding to mark it watched in error before it is really finished. If you watched a recording to the end it would be fine but if you exit close to live you could lose a resume point. I figure out a solution.

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,019
Threads: 956
Joined: May 2006
#7
2021-11-02, 09:50 PM
@VCR58 because of the bug in the NextPVR backend with art from Kodi NextPVR recordings I recommended that sub not release this PR until a backend patch is available. This will allow Windows users to remain on 19.0.0 Since you already have 19.0.1 on Android feel free to download 19.0.2 and test it yourself. https://jenkins.kodi.tv/blue/organizatio.../artifacts

They best way to test it start a recording and test with 19.0.1 after 22 minutes and try and force seek to the end of the recording and exit. It should reset to no resume quite often. Then update to 19.0.2 and on the same recording it should not go back to the beginning.

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#8
2021-11-03, 05:03 AM (This post was last modified: 2021-11-03, 05:35 AM by VCR58.)
(2021-11-02, 09:50 PM)mvallevand Wrote: @VCR58 because of the bug in the NextPVR backend with art from Kodi NextPVR recordings I recommended that sub not release this PR until a backend patch is available.  This will allow Windows users to remain on 19.0.0  Since you already have 19.0.1 on Android feel free to download 19.0.2 and test it yourself.  https://jenkins.kodi.tv/blue/organizatio.../artifacts 

They best way to test it start a recording and test with 19.0.1 after 22 minutes and try and force seek to the end of the recording and exit.  It should reset to no resume quite often.  Then update to 19.0.2 and on the same recording it should not go back to the beginning.

Martin

Thanks Martin, the new PVR 19.0.2 works great. I was able to perform the testing you recommended. The new one gave me the correct resume time and the old one started over from the beginning.

Here are the logs if you want to check them. The Firestick has the new PVR 19.0.2 and the TiVo has 19.0.1 in the logs.


Attached Files
.zip   logs-20211102-2348.zip (Size: 1.4 MB / Downloads: 0)
.zip   koditivo.zip (Size: 8.34 KB / Downloads: 0)
.zip   kodifiretv.zip (Size: 50.21 KB / Downloads: 0)
aderlopas
Offline

Senior Member

Posts: 313
Threads: 40
Joined: Dec 2013
#9
2021-11-03, 05:16 AM
(2021-11-01, 07:43 PM)mvallevand Wrote: The issue is Kodi deciding to mark it watched in error before it is really finished.  If you watched a recording to the end it would be fine but if you exit close to live you could lose a resume point.  I figure out a solution.

Martin

Possibly the below settings in Kodi will help mark something at watched at 100% and not before?

HOW-TO:Modify automatic watch and resume points - Official Kodi Wiki
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,019
Threads: 956
Joined: May 2006
#10
2021-11-03, 02:29 PM
Yes using <ignorepercentatend>0</ignorepercentatend> could help here but it would need to be tested, I didn't find it consistent and it has to be on every machine. Not everyone is comfortable editing advancedsetting especially on Android but Kodi Team wouldn't let me modify them in the addon There are a few I'd like to control via pvr.nextpvr settings.

Knowing those is important not just for in-progress especially if you don't use post padding.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Kodi Channel not updating aTF6i 2 534 2025-03-09, 12:26 AM
Last Post: aTF6i
  EPG not loading in Kodi? membball84 3 517 2025-02-13, 01:24 AM
Last Post: membball84
  Automated Updates of IPTV Channels in NPVR and Kodi via APIs taylormia 1 947 2025-02-04, 03:13 AM
Last Post: lustfulmacaw
  Kodi 22 (Piers) and library thumbnails mvallevand 8 1,352 2025-01-15, 06:32 PM
Last Post: mvallevand
  Suggestions for the KODI Add-on Escape7 38 9,664 2024-12-20, 05:31 AM
Last Post: sub
  Kodi Channel Icons wrong and can't be corrected wapkaplet 11 1,373 2024-10-23, 02:11 PM
Last Post: mvallevand
  Kodi PVR Client Not Working trongod 8 1,677 2024-09-11, 10:20 PM
Last Post: trongod
  Kodi 21.0 Omega/NextPVR 21.1.0 PVR & Live TV Group Manager bouilliabai 28 4,640 2024-08-06, 10:00 PM
Last Post: sub
  Kodi-V5 WiFi Problem? kerryball 0 413 2024-06-26, 06:49 AM
Last Post: kerryball
  Adding/editing timer to one time (manual) recording from Kodi guide has no effect mmortal03 6 1,186 2024-06-25, 09:30 PM
Last Post: mmortal03

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

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

Linear Mode
Threaded Mode