mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-18 06:06:14 +00:00
fix for missing artists links in kodi
This commit is contained in:
parent
3579fa3ca8
commit
acef00f2bb
2 changed files with 29 additions and 12 deletions
|
@ -131,6 +131,15 @@ class ReadEmbyDB():
|
|||
if (jsonData[u'Items'] != ""):
|
||||
result = jsonData[u'Items']
|
||||
|
||||
#only return valid albums - which have artists
|
||||
tempresult = []
|
||||
for item in result:
|
||||
if item["AlbumArtists"]:
|
||||
tempresult.append(item)
|
||||
|
||||
result = tempresult
|
||||
|
||||
|
||||
# Work around to only return items from the given list
|
||||
if (result != None and len(result) > 0 and len(itemList) > 0):
|
||||
newResult = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue