mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Fix for empty studios
This commit is contained in:
parent
1a95c2abf6
commit
b5214ad8ba
1 changed files with 3 additions and 1 deletions
|
@ -94,10 +94,12 @@ class API():
|
|||
if item.get("SeriesStudio") != None and item.get("SeriesStudio") != '':
|
||||
studios.append(item.get("SeriesStudio"))
|
||||
else:
|
||||
if(item.get("Studios") != None):
|
||||
if(item.get("Studios") != [] and item.get("Studios") != None):
|
||||
for studio_string in item.get("Studios"):
|
||||
temp=studio_string.get("Name")
|
||||
studios.append(temp)
|
||||
else:
|
||||
studios.append("")
|
||||
return studios
|
||||
|
||||
def getMediaStreams(self, item, mediaSources=False):
|
||||
|
|
Loading…
Reference in a new issue