Jump to content


Photo
Completed

Sync fails with specific album

spmc shield music library

  • This topic is locked This topic is locked
2 replies to this topic

#1 denethor OFFLINE  

denethor

    Advanced Member

  • Members
  • 342 posts
  • Local time: 12:10 PM
  • LocationIstanbul,TR

Posted 26 September 2016 - 12:26 PM

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.



#2 Angelblue05 OFFLINE  

Angelblue05

    Advanced Member

  • Developers
  • 12690 posts
  • Local time: 03:10 AM

Posted 26 September 2016 - 07:27 PM

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.



#3 denethor OFFLINE  

denethor

    Advanced Member

  • Members
  • 342 posts
  • Local time: 12:10 PM
  • LocationIstanbul,TR

Posted 28 September 2016 - 06:13 PM

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!
  • Angelblue05 likes this





Also tagged with one or more of these keywords: Completed, spmc, shield, music library

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users