Different studio fix

PlayUtils was erroring on empty list - this is a better fix than the
last i think
This commit is contained in:
xnappo 2015-03-18 15:49:49 -05:00
parent 200040dd62
commit 62b3f8da2d
2 changed files with 5 additions and 4 deletions

View file

@ -144,7 +144,10 @@ class PlaybackUtils():
# Process Studios
studios = API().getStudios(result)
studio = studios[0]
if studios == []:
studio = ""
else:
studio = studios[0]
listItem.setInfo('video', {'studio' : studio})
# play info