2020-01-14, 22:18
(2020-01-14, 18:29)sualfred Wrote: I had time for a quick shot again.This is a known issue related to how Kodi doesn't properly load all the information for items in a widget.
Resume points aren't set correctly if playback has been started from a widget. Items get marked "watched".
(2020-01-14, 18:29)sualfred Wrote: I had time for a quick shot again.Thanks I'll take a look. Haven't seen the issue myself yet. I use
Playback reporting to the server is sometimes not working. It is shown for a millesecond and than it's gone. If this happens the item is storing the progress correctly (issue #1). The log has some "RuntimeError: XBMC is not playing any file" issues. Looks like a race condition. I've noticed you are using "onPlayBackStarted()". I guess switching to to "onAVStarted()" should help. Log -> https://paste.kodi.tv/ituwiqikar.kodi
onPlayBackStarted()
to get the file and then onAVStarted()
to retrieve the rest of the details. That's also how Emby for Kodi does it. I recently added locking because there might be threading issues but that hasn't made it into the repository yet.(2020-01-14, 18:29)sualfred Wrote: I had time for a quick shot again.TBH I haven't spent much thought on this. Thanks for the link to EmbyCon's implementation. I've created an issue for this at https://github.com/Montellese/mediaimpor...y/issues/8.
Extra artworks are wrong or not stored. For movies only "Logo" will be recognized but it has to be stored as "clearlogo". Same happens for TV shows but there is also a empty "banner" value. Take a look on EmbyCon for reference: https://github.com/faush01/plugin.video....#L235-L289
(2020-01-14, 18:29)sualfred Wrote: I had time for a quick shot again.@LongMan has already created an issue for this at https://github.com/Montellese/mediaimpor...y/issues/2 and I'm going to take a look at how Emby for Kodi does it.
Kodi startup up sync is taking quite long (up to 2 minutes). Emby has server side plugin that is collecting changes for Kodi. It was made for Emby for Kodi to get rid of the long startup sync. Maybe you also can use it.