WIP Media importing and library integration (UPnP, Emby, Plex, ...)
(2020-01-14, 18:29)sualfred Wrote: I had time for a quick shot again.
Resume points aren't set correctly if playback has been started from a widget. Items get marked "watched".
This is a known issue related to how Kodi doesn't properly load all the information for items in a widget.
(2020-01-14, 18:29)sualfred Wrote: I had time for a quick shot again.
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
Thanks I'll take a look. Haven't seen the issue myself yet. I use 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.
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
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.
(2020-01-14, 18:29)sualfred Wrote: I had time for a quick shot again.
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.
@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.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply


Messages In This Thread
Unexpected Behaviour - by LongMan - 2015-04-20, 23:53
RE: Media importing and library integration (UPnP, Emby, Plex, ...) - by Montellese - 2020-01-14, 22:18
20.2 Generic Builds - by LongMan - 2023-07-20, 04:49
Logout Mark Read Team Forum Stats Members Help
Media importing and library integration (UPnP, Emby, Plex, ...)10