Tolotos 61 Posted May 31, 2015 Posted May 31, 2015 (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: ArtworkSync -> addOrUpdateArt : Adding Art Link for kodiId: 384 (http://192.168.178.20:8096/mediabrowser/Items/158d91ac0a36d40a48e101092aa6e181/Images/Primary/0?MaxWidth=10000&MaxHeight=10000&Format=original&Tag=c8bd0b465b86e9e4d1cd7d486e5bb3b8) 15:45:44 T:1288 NOTICE: EMBY DownloadUtils -> logMsg : === ENTER downloadUrl === 15:45:44 T:1288 NOTICE: EMBY DownloadUtils -> logMsg : URL: http://192.168.178.20:8096/mediabrowser/Users/a8cb22e8bf16556402a1b9bd7ddab4c5/Items/47f7b963494dd1a911fecd267e745534?format=json&Fields=Path,Genres,SortName,Studios,Writer,ProductionYear,Taglines,CommunityRating,OfficialRating,CumulativeRunTimeTicks,Metascore,AirTime,DateCreated,MediaStreams,People,Overview 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: ArtworkSync -> addOrUpdateArt : Adding Art Link for kodiId: 385 (http://192.168.178.20:8096/mediabrowser/Items/47f7b963494dd1a911fecd267e745534/Images/Primary/0?MaxWidth=10000&MaxHeight=10000&Format=original&Tag=bdbf13ffee3cc93cbf301a2f670696a7) 15:45:44 T:1288 NOTICE: EMBY DownloadUtils -> logMsg : === ENTER downloadUrl === 15:45:44 T:1288 NOTICE: EMBY DownloadUtils -> logMsg : URL: http://192.168.178.20:8096/mediabrowser/Users/a8cb22e8bf16556402a1b9bd7ddab4c5/Items?Fields=Name,CumulativeRunTimeTicks,Etag&Recursive=true&IncludeItemTypes=Audio&format=json 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 May 31, 2015 by Tolotos
xnappo 1611 Posted May 31, 2015 Posted May 31, 2015 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 61 Posted May 31, 2015 Author Posted May 31, 2015 (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 May 31, 2015 by Tolotos
xnappo 1611 Posted May 31, 2015 Posted May 31, 2015 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 61 Posted May 31, 2015 Author Posted May 31, 2015 The folder name contains a comma '..\City Of Prague Philharmonic Orchestra, T\The Symphonic Jean Michel Jarre' Can this be the culprit?
Recommended Posts