Jump to content

Recommended Posts

Posted

Emby Kodi sync is consistently failing

 

2019-11-27 07:42:07.436 T:21770  NOTICE: EMBY.objects.core.tvshows -> UPDATE tvshow [694/4] 34036: Arrow
2019-11-27 07:42:07.437 T:21770  NOTICE: EMBY.database -> ERROR:: type: <type 'exceptions.KeyError'> value: 'Name'
2019-11-27 07:42:07.437 T:21770  NOTICE: EMBY.database -> [emby] 20 rows updated.
2019-11-27 07:42:07.438 T:21770  NOTICE: EMBY.database -> ERROR:: type: <type 'exceptions.KeyError'> value: 'Name'
2019-11-27 07:42:07.438 T:21770  NOTICE: EMBY.database -> 227 rows updated.
2019-11-27 07:42:14.707 T:21770  NOTICE: EMBY.sync -> ERROR:: full sync exited unexpectedly
2019-11-27 07:42:14.750 T:21770  NOTICE: EMBY.sync -> [ enable artwork cache ]
2019-11-27 07:42:14.750 T:21770  NOTICE: EMBY.sync -> --<[ fullsync ]
2019-11-27 07:42:14.753 T:21770  NOTICE: EMBY.library -> ERROR:: 'Name'
                                            Traceback (most recent call last):
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/resources/lib/library.py", line 481, in startup
                                                self.sync_libraries()
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/resources/lib/library.py", line 433, in sync_libraries
                                                sync.libraries(forced=forced)
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/resources/lib/sync.py", line 123, in libraries
                                                self.start()
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/resources/lib/sync.py", line 212, in start
                                                self.process_library(library)
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/resources/lib/sync.py", line 261, in process_library
                                                media[library['CollectionType']](library)
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/resources/lib/helper/wrapper.py", line 39, in wrapper
                                                result = func(self, dialog=dialog, *args, **kwargs)
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/resources/lib/sync.py", line 343, in tvshows
                                                if obj.tvshow(show, library=library) != False:
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/resources/lib/helper/wrapper.py", line 100, in wrapper
                                                return func(*args, **kwargs)
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/resources/lib/helper/wrapper.py", line 113, in wrapper
                                                return func(self, item, e_item=e_item, *args, **kwargs)
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/resources/lib/helper/wrapper.py", line 170, in wrapper
                                                return func(self, item, *args, **kwargs)
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/plugin.video.emby/emby/objects/core/tvshows.py", line 161, in tvshow
                                                self.add_people(*values(obj, QU.add_people_tvshow_obj))
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/plugin.video.emby/emby/objects/kodi/kodi.py", line 140, in add_people
                                                person_id = self.get_person(person['Name'])
                                            KeyError: 'Name'
2019-11-27 07:42:16.758 T:21770  NOTICE: EMBY.library -> ---<[ library ]
2019-11-27 07:42:49.762 T:21623 WARNING: Trying to add unsupported control type 1
2019-11-27 07:42:50.269 T:21788 WARNING: Previous line repeats 5 times.
2019-11-27 07:42:50.270 T:21788   ERROR: DoWork - Direct texture file loading failed for androidapp://sources/apps/com.nvidia.remotelocator.png
2019-11-27 07:42:50.274 T:21791   ERROR: DoWork - Direct texture file loading failed for androidapp://sources/apps/com.android.documentsui.png
2019-11-27 07:42:50.275 T:21790   ERROR: DoWork - Direct texture file loading failed for androidapp://sources/apps/com.amazon.venezia.png
2019-11-27 07:42:52.255 T:21623 WARNING: Trying to add unsupported control type 1
2019-11-27 07:42:52.269 T:21623 WARNING: Previous line repeats 2 times.
2019-11-27 07:42:52.269 T:21623   ERROR: Unmatched [
2019-11-27 07:42:52.269 T:21623   ERROR: Error parsing boolean expression [!skin.hassetting(hideposterlabels) | !window.isvisible(myvideonav.xml) | [
                                                        [string.startswith(container.folderpath,plugin://script.embuary.helper/?info=getgenre)]
                                                ]
2019-11-27 07:42:52.277 T:21623 WARNING: Trying to add unsupported control type 1
2019-11-27 07:42:52.530 T:21789 WARNING: Previous line repeats 12 times.
2019-11-27 07:42:52.530 T:21789   ERROR: GetDirectory - Error getting -
2019-11-27 07:42:53.620 T:21795   ERROR: Previous line repeats 6 times.
2019-11-27 07:42:53.620 T:21795  NOTICE: Emby -> ---[ START EMBYCLIENT ]---
2019-11-27 07:42:53.729 T:21795  NOTICE: EMBY.entrypoint.default -> path: ?content_type=video params: {
                                                "content_type": "video"
                                            }
2019-11-27 07:42:53.832 T:21795  NOTICE: EMBY.default -> ---<[ default ]
2019-11-27 07:42:59.823 T:21724  NOTICE: EMBY.objects.listener -> Play dialog selected.
2019-11-27 07:45:08.570 T:21623  NOTICE: Previous line repeats 3 times.
2019-11-27 07:45:08.570 T:21623 WARNING: CGUIWindowManager - HandleAction - ignoring action 92, because topmost modal dialog closing animation is running
 
Angelblue05
Posted

Hmm, it seems to be failing trying to import actors etc for the show.

 

What is your emby server version? Thanks.

Posted (edited)

Version 4.3.0.24 beta

 

I did find a work around.

 

I moved everything out of my TV folder, did a repair then moved all my shows back in and this time it sync'd up. I have not yet tried to do a full repair to see if it's fixed for good

Edited by marcmv1
  • Like 1
Angelblue05
Posted

This is fixed with 4.1.17 add-on side. No idea server side, why the api is returning person without the Name key sometimes?

Guest
This topic is now closed to further replies.
×
×
  • Create New...