Posts: 658
Joined: Jul 2011
Reputation:
1
Found where the bug lies.
With <hidexbmc>true</hidexbmc> XBMC does not correctly pick up the time that MPC-HC was played for, with it set to false it seems to work (been using false for the past day and it's working).
Posts: 658
Joined: Jul 2011
Reputation:
1
2014-10-06, 14:39
(This post was last modified: 2014-10-06, 14:43 by StinDaWg.)
Scratch my last post, that didn't end up working, but I've found the root of this bug. Lets say I have my playercorefactory.xml set to mark as watched after 20 minutes. At the beginning this works fine. I can play any video I want and it doesn't get marked as watched until MPC-HC has been open for more than 20 minutes. However, once a video gets marked as watched, any subsequent video you play will get marked as watched no matter what. You can end it after a couple of seconds and it will still be marked as watched. So, in the end, it seems this setting only works on first run, and is broken once any single video gets marked as watched.
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
Just stop using external players. There is no need. Problem solved.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 16,946
Joined: Feb 2011
Reputation:
256
fix incoming - will post a testbuild for you in a couple of hours.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 658
Joined: Jul 2011
Reputation:
1
Just did a quick test and it seems to work properly now. What was broken in the code?
Posts: 658
Joined: Jul 2011
Reputation:
1
Unfortunately after further testing the problem still persists. Once a video gets marked as watched every subsequent video gets marked as watched no matter how long it's played.
Posts: 658
Joined: Jul 2011
Reputation:
1
I changed play count time to 60 seconds so I could do a quick test. Seems OK. I'll change it back to 20 minutes and use it as I normally do for a day or 2 and let you know if it's still good.
Posts: 658
Joined: Jul 2011
Reputation:
1
I think you can go ahead and merge this into main. No issues.