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 »
Watching in-progress recording goes past end of recording

 
  • 0 Vote(s) - 0 Average
Watching in-progress recording goes past end of recording
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#51
2020-12-15, 02:34 PM
If I watch half a recording, it shows the progress indicator and partially watched icon as expected. I can resume playback correctly. However, it seems to internally mark the recording as Watched. That is, it shows the Watched indicator at the top folder level for the show and I can only "Mark as unwatched" in the context menu for the recording. If mark it as unwatched and then mark it as watched, this doesn't stick (it switches back to unwatched when I restart Kodi). This is the case for both with/without MySQL.
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,184
Threads: 958
Joined: May 2006
#52
2020-12-15, 03:46 PM
You did find another state change where Kodi isn't calling the backend marking are recording as watched that is already at position 0.  Not really a logical selection but the attached hopefully addresses that. 

I notice that when marking as record as unwatched it can take a while for the selection bar to change to unwatched but when it not highlighted it does show. Eventually it shows.  That is all core.

There is also still something funny going on though I am seeing this https://imgur.com/a/dzjXu97  on a resume (top is first time from zero the bottom is the same file after Kodi restart) I do think the time choice better I just don't know if I can add another hack to fix it.



Martin
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#53
2020-12-15, 06:33 PM (This post was last modified: 2020-12-15, 06:34 PM by cncb.)
That seems to fix the toggle of watched.  Is there any way to address the issue below?

(2020-12-15, 02:34 PM)cncb Wrote: If I watch half a recording, it shows the progress indicator and partially watched icon as expected.  I can resume playback correctly.  However, it seems to internally mark the recording as Watched.  That is, it shows the Watched indicator at the top folder level for the show and I can only "Mark as unwatched" in the context menu for the recording.
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,184
Threads: 958
Joined: May 2006
#54
2020-12-15, 07:08 PM
After reading the code it turns out the watched status relates to the play count.  When you click watch or watch to the end the play count increments.  When the play count increases it is already watched which is why you can't mark it watched.  Also the playback position indicator (which I considered partially watched) overrides the watch status.

This update attempts to workaround that issue properly on load so it will be normal until the recording is watched or you re-open a previously watched recording. 

There still is no way in Kodi to reset the playback position on a watched recording to EOF because it is already watched.  You'd have to unwatch and then watch to trigger that.

Martin
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#55
2020-12-15, 07:31 PM
Looks good.  Seems to be working just like Leia now.  Thanks again for all your work on this.
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,184
Threads: 958
Joined: May 2006
#56
2020-12-15, 08:02 PM
Leia doesn't work quite the same. if you click watched it will save the watched status in a local database but it will clear the NextPVR database so only the one client will know it is watched. Using MySQL you might not have noticed but if you used the web client or any client not connected to you'd see it as unwatched.

Thanks for the testing.

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,184
Threads: 958
Joined: May 2006
#57
2020-12-16, 02:22 PM
@cncb Since you are a MySQL user do you think it is better to have an option to turn of the sync with the backend totally and then the resume and play count would be managed solely be Kodi?

Independence might be good for people with lots of boxes, or Kodi setup with multpole logins and it might helps with kids or guests too, but MySQL use will take more management since one machine configured wrong will wipe out everyone so it is really an expert setting

Martin
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#58
2020-12-16, 02:32 PM
Yes, that would a useful option. I was actually going to suggest that during testing but assumed it could not be done.
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,184
Threads: 958
Joined: May 2006
#59
2020-12-16, 03:47 PM
Give this a go and see now it works.   Resume points should be totally isolated from NextPVR with this setting.  It actually causes less traffic with NextPVR because there is a lot of back and fourth with clients when the resume point changes.  Downside again is other clients won't see them.

The settings will be stored in MyVideos119.db if you want to browse MySQL.  Resume is in the bookmark table timeInSeconds and playCount is in the files table.

It's the full zip for the settings dialog etc. 
 
Martin


Attached Files
.zip   pvr.nextpvr-8.0.3.zip (Size: 335.59 KB / Downloads: 2)
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#60
2020-12-16, 08:17 PM
It works but I think the option is "reversed".  That is, if "Store local resume points" is enabled, it appears to sync with the NPVR server.  It stores it locally in the database when disabled.
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (8): « Previous 1 … 4 5 6 7 8 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Seeking Guidance on Recording Settings for IPTV Channels Gonvir 3 537 2025-04-22, 10:22 PM
Last Post: sub
  direct streams and recording jsox79 6 1,067 2024-07-26, 01:01 PM
Last Post: mvallevand
  Adding/editing timer to one time (manual) recording from Kodi guide has no effect mmortal03 6 1,279 2024-06-25, 09:30 PM
Last Post: mmortal03
  Error 'Recording failed: No video data received' JackNoren 2 863 2024-02-27, 09:44 AM
Last Post: mvallevand
  How to change the recording directory in NextPVR v5 RylanWilkinson 1 911 2024-02-20, 04:29 PM
Last Post: sub
  Playback of LiveTV Recording that is still recording behaviour RealTeej 24 5,117 2023-03-14, 07:55 PM
Last Post: kirschey
  Direct remote access to the three new recording screens ElihuRozen 4 1,606 2022-01-22, 12:25 AM
Last Post: mvallevand
  Set one time manual recording from Kodi. biggoronjon 10 2,382 2021-08-17, 07:40 PM
Last Post: mvallevand
  Recording Groups (Duplicating/Multiplying) aritafari 7 1,850 2021-08-17, 05:39 PM
Last Post: mvallevand
  Changing Name Field on Manual Recording ElihuRozen 0 925 2021-05-17, 04:31 AM
Last Post: ElihuRozen

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

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

Linear Mode
Threaded Mode