So guys, hopefully ironed out some bugs. In a nutshell:
Startup crashes should all be fixed
Movie information not showing up is fixed. Took me ages to find a single line of code
If your PMS doesn’t like the strain PKC is putting on it during initial sync, PKC will now cancel the sync process (I’m looking at you, @bart.plessers ;-)). I haven’t managed to do that - please report back!
Rewired Plex Companion. God, that was a mess
Talking with the outside world is now done in one function. Should make future fixes quicker
The new background sync process should work, too. If you view something outside of Kodi/PKC, this is almost instantly detected by PKC. However, due to the nature of how Plex works, the following is (and will probably never be) possible to detect instantly:
Toggle the viewstate of an item to (un)watched outside of Kodi
Changing details of an item, e.g. replacing a poster
However, some changes to individual items are instantly detected, e.g. if you match a yet unrecognized movie.
Still have same issues as earlier reported wih log when switching between 2 Kodi profiles. Switching between profiles leads to PKC eventually not keeping up with the logins, nodes being wiped out for widgets, and eventually errors out when trying to play something. Rebooting will fix widgets and all functionality until switching profiles.
I can however say that movie info screen is popping up again for me.
@Silvaire said:
Still have same issues as earlier reported wih log when switching between 2 Kodi profiles. Switching between profiles leads to PKC eventually not keeping up with the logins, nodes being wiped out for widgets, and eventually errors out when trying to play something. Rebooting will fix widgets and all functionality until switching profiles.
I can however say that movie info screen is popping up again for me.
How many times and how fast are you actually switching profiles? Switching once in a while within minutes seems more reasonable and practical than switching within a couple of seconds…
@Silvaire said:
Still have same issues as earlier reported wih log when switching between 2 Kodi profiles. Switching between profiles leads to PKC eventually not keeping up with the logins, nodes being wiped out for widgets, and eventually errors out when trying to play something. Rebooting will fix widgets and all functionality until switching profiles.
I can however say that movie info screen is popping up again for me.
How many times and how fast are you actually switching profiles? Switching once in a while within minutes seems more reasonable and practical than switching within a couple of seconds…
Tends to happen on the first switch – or at the very least widgets/nodes become broken on the first switch. Only reason I continue to swap back and forth is to do more testing for you to see where the pressure points are. I’ll send you another log by PM in a bit but preliminary results are it is the same behavior as 1.0.17. Thanks.
The new background sync process should work, too. If you view something outside of Kodi/PKC, this is almost instantly detected by PKC. However, due to the nature of how Plex works, the following is (and will probably never be) possible to detect instantly:
Toggle the viewstate of an item to (un)watched outside of Kodi
Changing details of an item, e.g. replacing a poster
However, some changes to individual items are instantly detected, e.g. if you match a yet unrecognized movie.
Seems to be working well so far @croneter. It does seem to be hanging up on exit though. Don’t have time to get you logs atm but will do so later.
So you don’t think we will ever see PKC being able to update instantly when new content is added? It used to do that but that was probably because of the constant polling. I just tried it and newly added content only show up after a full scan (30 minutes or restart).
@croneter Just some feedback that 1.1.1 is working perfectly for me. It has resolved the initial connection error I was seeing on the last revision. No issues on exit, or any others to report so a big thank you for your hard work.
A quick question. I don’t keep Kodi running all the time, it’s on my android tv so I quit when done. I’m not that bothered about Kodi detecting changes the second they happen. So should I leave the constant background sync on or is it better to disable. Any advantage or disadvantage?
Getting the error “AttributeError: _ElementInterface instance has no attribute ‘iter’” when trying to signin
Here are my logs : http://xbmclogs.com/piph5wm2z
I hope it helps !
Another showstopper bug: when my wife tries to play stuff on her account, she keeps getting prompted to log in, and when she logs in, it says unauthorized. Happens over and over again and through reboots. Also freezes KODI.
@TheMystery said:
I am using version 1.0.16, in plex and plexpy i now see what is playing.
But if i watch live tv then the last played episode / movie shows up as running in plex and plexpy, but nothing is played on that moment from plex.
Is this a known problem?
@croneter, with version 1.1.1 i have stil this problem when i watch live tv.
Have you an idea what the problem can be?
@Silvaire said:
Another showstopper bug: when my wife tries to play stuff on her account, she keeps getting prompted to log in, and when she logs in, it says unauthorized. Happens over and over again and through reboots. Also freezes KODI.
That’s something new. Could you please send me debug logs (turned on in PKC settings) showing this?
The new background sync process should work, too. If you view something outside of Kodi/PKC, this is almost instantly detected by PKC. However, due to the nature of how Plex works, the following is (and will probably never be) possible to detect instantly:
Toggle the viewstate of an item to (un)watched outside of Kodi
Changing details of an item, e.g. replacing a poster
However, some changes to individual items are instantly detected, e.g. if you match a yet unrecognized movie.
Seems to be working well so far @croneter. It does seem to be hanging up on exit though. Don’t have time to get you logs atm but will do so later.
So you don’t think we will ever see PKC being able to update instantly when new content is added? It used to do that but that was probably because of the constant polling. I just tried it and newly added content only show up after a full scan (30 minutes or restart).
New content should still show up within approx. 1min. Sync of watch status works?