Jump to content

Emby-next-gen 5.2.01 synchronisation of music library crashes


somy

Recommended Posts

Hi,

I have some issues with Emby-next-gen 5.2.01 - it couldn't sync the music library, and it always stops at 4% and every time when I start Kodi it asks to resume, but the resume also fails. Looking into the log (please see below) I think I found some errors which could be relevant, but it doesn't tell me what went wrong. Any suggestion is appreciated!

 

2021-03-22 22:44:50.232 T:81851    INFO <general>: EMBY.database.database -> ---<[ database: texture ] 105553152983520
2021-03-22 22:44:50.240 T:81851    INFO <general>: EMBY.core.music.Music -> UPDATE album [37] Rhapsody In Blue: 61338
2021-03-22 22:44:50.251 T:81851    INFO <general>: EMBY.core.music.Music -> UPDATE artist [13] Artur Rubinstein: 31235
2021-03-22 22:44:50.264 T:81851    INFO <general>: EMBY.core.music.Music -> UPDATE album [38] Chopin Préludes and Piano Sonata No. 2: 59919
2021-03-22 22:44:50.265 T:81851    INFO <general>: EMBY.core.music.Music -> UPDATE album [39] Schubert Sonata For Arpeggione and Schumann Fantasiestücke Op. 73: 60421
2021-03-22 22:44:50.266 T:81851    INFO <general>: EMBY.core.music.Music -> UPDATE album [40] Sonatas: Moonlight, Les Adieux, Pathétique, Appassionata: 60132
2021-03-22 22:44:50.266 T:81851    INFO <general>: EMBY.core.music.Music -> UPDATE album [41] Brahms Piano Concerto No. 1: 60278
2021-03-22 22:44:50.267 T:81851    INFO <general>: EMBY.core.music.Music -> UPDATE album [8] Saint-Saens Concerto No.2 / Franck Symphonic Variations / Liszt Concerto No. 1: 60427
2021-03-22 22:44:50.292 T:81851    INFO <general>: EMBY.core.music.Music -> SongId 59920 not found
2021-03-22 22:44:50.293 T:81851    INFO <general>: EMBY.database.database -> type: <class 'TypeError'> value: 'NoneType' object is not subscriptable
2021-03-22 22:44:50.293 T:81851    INFO <general>: EMBY.database.database -> [emby] 111 rows updated.
2021-03-22 22:44:50.294 T:81851    INFO <general>: EMBY.database.database -> ---<[ database: emby ] 105553153201552
2021-03-22 22:44:50.295 T:81851    INFO <general>: EMBY.database.database -> type: <class 'TypeError'> value: 'NoneType' object is not subscriptable
2021-03-22 22:44:50.295 T:81851    INFO <general>: EMBY.database.database -> [music] 952 rows updated.
2021-03-22 22:44:50.296 T:81851    INFO <general>: EMBY.database.database -> ---<[ database: music ] 105553153196032
2021-03-22 22:44:50.298 T:81851    INFO <general>: EMBY.sync -> --<[ fullsync ]
2021-03-22 22:44:50.298 T:81851   ERROR <general>: Exception in thread 
2021-03-22 22:44:50.298 T:81851   ERROR <general>: Thread-2
2021-03-22 22:44:50.298 T:81851   ERROR <general>: :
                                                   
2021-03-22 22:44:50.298 T:81851   ERROR <general>: Traceback (most recent call last):
                                                   
2021-03-22 22:44:50.298 T:81851   ERROR <general>:   File "/Applications/Kodi.app/Contents/Libraries/lib/python3.8/threading.py", line 932, in _bootstrap_inner
                                                   
2021-03-22 22:44:50.299 T:81851   ERROR <general>:     
2021-03-22 22:44:50.299 T:81851   ERROR <general>: self.run()
2021-03-22 22:44:50.299 T:81851   ERROR <general>: 
                                                   
2021-03-22 22:44:50.299 T:81851   ERROR <general>:   File "/Users/mai/Library/Application Support/Kodi/addons/plugin.video.emby-next-gen/database/library.py", line 126, in run
                                                   
2021-03-22 22:44:50.299 T:81851   ERROR <general>:     
2021-03-22 22:44:50.299 T:81851   ERROR <general>: if not self.started and not self.startup():
2021-03-22 22:44:50.299 T:81851   ERROR <general>: 
                                                   
2021-03-22 22:44:50.299 T:81851   ERROR <general>:   File "/Users/mai/Library/Application Support/Kodi/addons/plugin.video.emby-next-gen/database/library.py", line 385, in startup
                                                   
2021-03-22 22:44:50.299 T:81851   ERROR <general>:     
2021-03-22 22:44:50.299 T:81851   ERROR <general>: self.sync_libraries()
2021-03-22 22:44:50.300 T:81851   ERROR <general>: 
                                                   
2021-03-22 22:44:50.300 T:81851   ERROR <general>:   File "/Users/mai/Library/Application Support/Kodi/addons/plugin.video.emby-next-gen/database/library.py", line 349, in sync_libraries
                                                   
2021-03-22 22:44:50.300 T:81851   ERROR <general>:     
2021-03-22 22:44:50.300 T:81851   ERROR <general>: syncObj.libraries(forced=forced)
2021-03-22 22:44:50.300 T:81851   ERROR <general>: 
                                                   
2021-03-22 22:44:50.300 T:81851   ERROR <general>:   File "/Users/mai/Library/Application Support/Kodi/addons/plugin.video.emby-next-gen/database/sync.py", line 75, in libraries
                                                   
2021-03-22 22:44:50.300 T:81851   ERROR <general>:     
2021-03-22 22:44:50.300 T:81851   ERROR <general>: self.start()
2021-03-22 22:44:50.300 T:81851   ERROR <general>: 
                                                   
2021-03-22 22:44:50.300 T:81851   ERROR <general>:   File "/Users/mai/Library/Application Support/Kodi/addons/plugin.video.emby-next-gen/database/sync.py", line 158, in start
                                                   
2021-03-22 22:44:50.300 T:81851   ERROR <general>:     
2021-03-22 22:44:50.300 T:81851   ERROR <general>: if not self.process_library(library):
2021-03-22 22:44:50.300 T:81851   ERROR <general>: 
                                                   
2021-03-22 22:44:50.300 T:81851   ERROR <general>:   File "/Users/mai/Library/Application Support/Kodi/addons/plugin.video.emby-next-gen/database/sync.py", line 202, in process_library
                                                   
2021-03-22 22:44:50.300 T:81851   ERROR <general>:     
2021-03-22 22:44:50.300 T:81851   ERROR <general>: media[library['CollectionType']](library, self.library.Downloader)
2021-03-22 22:44:50.300 T:81851   ERROR <general>: 
                                                   
2021-03-22 22:44:50.301 T:81851   ERROR <general>:   File "/Users/mai/Library/Application Support/Kodi/addons/plugin.video.emby-next-gen/database/sync.py", line 353, in music
                                                   
2021-03-22 22:44:50.301 T:81851   ERROR <general>:     
2021-03-22 22:44:50.301 T:81851   ERROR <general>: MusicObject.song(song, library=library)
2021-03-22 22:44:50.301 T:81851   ERROR <general>: 
                                                   
2021-03-22 22:44:50.301 T:81851   ERROR <general>:   File "/Users/mai/Library/Application Support/Kodi/addons/plugin.video.emby-next-gen/core/music.py", line 283, in song
                                                   
2021-03-22 22:44:50.302 T:81851   ERROR <general>:     
2021-03-22 22:44:50.302 T:81851   ERROR <general>: self.song_add(obj)
2021-03-22 22:44:50.302 T:81851   ERROR <general>: 
                                                   
2021-03-22 22:44:50.302 T:81851   ERROR <general>:   File "/Users/mai/Library/Application Support/Kodi/addons/plugin.video.emby-next-gen/core/music.py", line 306, in song_add
                                                   
2021-03-22 22:44:50.302 T:81851   ERROR <general>:     
2021-03-22 22:44:50.302 T:81851   ERROR <general>: obj['AlbumId'] = self.emby_db.get_item_by_id(*self.Utils.values(obj, database.queries.get_item_song_obj))[0]
2021-03-22 22:44:50.302 T:81851   ERROR <general>: 
                                                   
2021-03-22 22:44:50.302 T:81851   ERROR <general>: TypeError
2021-03-22 22:44:50.302 T:81851   ERROR <general>: : 
2021-03-22 22:44:50.302 T:81851   ERROR <general>: 'NoneType' object is not subscriptable
2021-03-22 22:44:50.302 T:81851   ERROR <general>: 
                                                   

Link to comment
Share on other sites

Just to add: this used to work without any issue, was there any change to the recent versions? 

Any suggestion is appreciated!!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...