mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
fixed strange bug in music sync
This commit is contained in:
parent
62d9ae5b65
commit
2968638220
1 changed files with 3 additions and 1 deletions
|
@ -44,7 +44,9 @@ class WriteKodiMusicDB():
|
||||||
def addOrUpdateArtistToKodiLibrary(self, embyId, connection, cursor):
|
def addOrUpdateArtistToKodiLibrary(self, embyId, connection, cursor):
|
||||||
|
|
||||||
MBitem = ReadEmbyDB().getFullItem(embyId)
|
MBitem = ReadEmbyDB().getFullItem(embyId)
|
||||||
|
if not MBitem:
|
||||||
|
self.logMsg("ADD or UPDATE artist to Kodi library FAILED!, Id: %s" %(embyId), 1)
|
||||||
|
return
|
||||||
# If the item already exist in the local Kodi DB we'll perform a full item update
|
# If the item already exist in the local Kodi DB we'll perform a full item update
|
||||||
# If the item doesn't exist, we'll add it to the database
|
# If the item doesn't exist, we'll add it to the database
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue