mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix log
This commit is contained in:
parent
623c6cab85
commit
ae7131a7c1
1 changed files with 1 additions and 1 deletions
|
@ -2126,9 +2126,9 @@ class Music(Items):
|
|||
albumid = emby_dbalbum[0]
|
||||
except KeyError:
|
||||
# Verify if there's an album associated.
|
||||
self.logMsg("Song itemid: %s has no albumId associated." % itemid, 1)
|
||||
album_name = item.get('Album')
|
||||
if album_name:
|
||||
self.logMsg("Creating virtual music album for song: %s." % itemid, 1)
|
||||
albumid = kodi_db.addAlbum(album_name, API.getProvider('MusicBrainzAlbum'))
|
||||
emby_db.addReference("%salbum%s" % (itemid, albumid), albumid, "MusicAlbum_", "album")
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue