denethor 90 Posted September 26, 2016 Share Posted September 26, 2016 Hi there My music library sync fails every time during the sync of specific album. Since the sync fails to complete it starts all over again with the 2200 movies 100 shows. (I have cleaned up my database lately) This is with the SMPC 16.4-2 and problem started with the add-on version 2.2.36. Or may be this related with the server since I am on dev branch. (Version 3.1.6111.23367) Relevant part of the log: (It keeps trying to sync album named "Dealing with it") 18:32:15 T:1434593584 NOTICE: EMBY.itemtypes -> ADD album itemid: 934f9efd634c2150f7f44fda96036507 - Name: The Best Of Me 18:32:15 T:1434593584 NOTICE: EMBY.itemtypes -> ADD album itemid: 5dc52e0915efc9eec31d68aa884a79ce - Name: Full Speed Ahead 18:32:15 T:1434593584 NOTICE: EMBY.itemtypes -> ADD album itemid: e812f8223cfd768a4e677877504192d9 - Name: Dealing With It 18:32:15 T:1434593584 NOTICE: EMBY.downloadutils -> ERROR:: === Bad status response: 400 === 18:32:16 T:1434593584 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.KeyError'> Error Contents: ('Type',) Traceback (most recent call last): File "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/plugin.video.emby/default.py", line 159, in <module> Main() File "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/plugin.video.emby/default.py", line 69, in __init__ self._library_sync(mode) File "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/plugin.video.emby/default.py", line 147, in _library_sync librarysync.ManualSync().sync() File "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/plugin.video.emby/resources/lib/librarysync.py", line 1092, in sync return self.fullSync(manualrun=True) File "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/plugin.video.emby/resources/lib/librarysync.py", line 326, in fullSync completed = self.music(embycursor, musiccursor, pDialog) File "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/plugin.video.emby/resources/lib/librarysync.py", line 1522, in music process[data_type][1](embyitem) File "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/plugin.video.emby/resources/lib/itemtypes.py", line 1927, in add_updateAlbum if artist['Type'] == "MusicArtist": KeyError: ('Type',) -->End of Python script error report<-- 18:32:16 T:1434593584 WARNING: CPythonInvoker(35, /storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/plugin.video.emby/default.py): the python script "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/plugin.video.emby/default.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE,N9XBMCAddon9xbmcaddon5AddonE,N9XBMCAddon4xbmc7MonitorE 18:32:16 T:1394280752 ERROR: static bool XFILE::CDirectory::GetDirectory(const CURL&, CFileItemList&, const XFILE::CDirectory::CHints&, bool) - Error getting plugin://plugin.video.emby/?mode=manualsync 18:32:16 T:1394280752 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.emby/?mode=manualsync) failed 18:32:16 T:1434593584 NOTICE: EMBY.default -> plugin.video.emby started 18:32:16 T:1434593584 NOTICE: EMBY.default -> Parameter string: 18:32:16 T:1434593584 NOTICE: EMBY.default -> plugin.video.emby stopped 18:33:08 T:1433528624 NOTICE: EMBY.default -> plugin.video.emby started Album artist contains dots (D.R.I.) if this is rings any bell. If you also require server logs let me know. Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted September 26, 2016 Share Posted September 26, 2016 Give the latest beta (2.2.37) a try, let me know if it fixes your issue and you have the correct album artist linked to the album in Kodi. Thanks. Link to comment Share on other sites More sharing options...
denethor 90 Posted September 28, 2016 Author Share Posted September 28, 2016 Give the latest beta (2.2.37) a try, let me know if it fixes your issue and you have the correct album artist linked to the album in Kodi. Thanks. I can confirm that this new version fixed the problem, thanks once again! 1 Link to comment Share on other sites More sharing options...
Recommended Posts