mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix album artist
This commit is contained in:
parent
02dee885e8
commit
d7bc182557
1 changed files with 1 additions and 1 deletions
|
@ -1951,7 +1951,7 @@ class Music(Items):
|
||||||
# Artist does not exist in emby database.
|
# Artist does not exist in emby database.
|
||||||
artist = emby.getItem(parentId)
|
artist = emby.getItem(parentId)
|
||||||
# Item may not be an artist, verification necessary.
|
# Item may not be an artist, verification necessary.
|
||||||
if artist['Type'] == "MusicArtist":
|
if artist.get('Type') == "MusicArtist":
|
||||||
# Update with the parentId, for remove reference
|
# Update with the parentId, for remove reference
|
||||||
emby_db.addReference(parentId, parentId, "MusicArtist", "artist")
|
emby_db.addReference(parentId, parentId, "MusicArtist", "artist")
|
||||||
emby_db.updateParentId(itemid, parentId)
|
emby_db.updateParentId(itemid, parentId)
|
||||||
|
|
Loading…
Reference in a new issue