Jump to content

Emby4Kodi 1.0.0: Music sync error


Recommended Posts

Tolotos
Posted (edited)

Hi,

 

I get this error during music syncing:

 

15:45:44 T:1288  NOTICE: ADD album to Kodi library -> addOrUpdateAlbumToKodiLibrary : Id: 158d91ac0a36d40a48e101092aa6e181 - Title: 200 Blues Classics
15:45:44 T:1288  NOTICE: EMBY DownloadUtils -> logMsg : === ENTER downloadUrl ===
15:45:44 T:1288  NOTICE: EMBY DownloadUtils -> logMsg : ====== 200 Success ======
15:45:44 T:1288  NOTICE: ADD album to Kodi library -> addOrUpdateAlbumToKodiLibrary : Id: 47f7b963494dd1a911fecd267e745534 - Title: The Symphonic Jean Michel Jarre
15:45:44 T:1288  NOTICE: EMBY DownloadUtils -> logMsg : === ENTER downloadUrl ===
15:45:47 T:1288  NOTICE: Sync DB -> FullLibrarySync : syncDatabase Exiting
15:45:47 T:1288   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.TypeError'>
                                            Error Contents: object of type 'NoneType' has no len()
                                            Traceback (most recent call last):
                                              File "C:\Users\RGU\AppData\Roaming\Kodi\addons\plugin.video.emby\service.py", line 259, in <module>
                                                Service().ServiceEntryPoint()
                                              File "C:\Users\RGU\AppData\Roaming\Kodi\addons\plugin.video.emby\service.py", line 145, in ServiceEntryPoint
                                                libSync = librarySync.FullLibrarySync()
                                              File "C:\Users\RGU\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\LibrarySync.py", line 104, in FullLibrarySync
                                                self.MusicFullSync(connection,cursor,pDialog)
                                              File "C:\Users\RGU\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\LibrarySync.py", line 368, in MusicFullSync
                                                self.ProcessMusicSongs(connection,cursor,pDialog)
                                              File "C:\Users\RGU\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\LibrarySync.py", line 384, in ProcessMusicSongs
                                                total = len(allEmbySongs) + 1
                                            TypeError: object of type 'NoneType' has no len()
                                            -->End of Python script error report<--
 
 
--Tolotos
Edited by Tolotos
xnappo
Posted

Did this work before?  We turned Music on by default in this version, it was off by default in the older versions. 

 

Thanks,

xnappo

Tolotos
Posted (edited)

Yes, It work before. I'm not sure with which version I created the database but with the 1.0.0 I switched on direct play and rebuild the databases. 

I have a emby user which sees only a few songs. For this user the import works. But users who sees the complete collection (~10000 songs) get the error.

--Tolotos

Edited by Tolotos
xnappo
Posted

I there anything interesting about this:

 

The Symphonic Jean Michel Jarre

 

Is it a folder with no songs in it or anything like that?

Tolotos
Posted

The folder name contains a comma '..\City Of Prague Philharmonic Orchestra, T\The Symphonic Jean Michel Jarre' 

Can this be the culprit?

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