mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-05 07:46:12 +00:00
Hotfix (#71)
* Fix typos * Indicate unicode dict * Fix artistid * Attempt to fix encoding
This commit is contained in:
parent
ba22e26c06
commit
85d054f33a
4 changed files with 12 additions and 8 deletions
|
@ -528,8 +528,11 @@ class Music(Items):
|
|||
artist_full = emby.getItem(artist_eid)
|
||||
self.add_updateArtist(artist_full)
|
||||
artist_edb = emby_db.getItem_byId(artist_eid)
|
||||
artistid = artist_edb[0]
|
||||
finally:
|
||||
artistid = artist_edb[0] if artist_edb else None
|
||||
except Exception:
|
||||
artistid = None
|
||||
|
||||
if artistid:
|
||||
# Link song to artist
|
||||
self.kodi_db.link_song_artist(artistid, songid, index, artist_name)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue