Small fixes

This commit is contained in:
tomkat83 2015-12-29 10:36:16 +01:00
parent a64e0cea2d
commit d82774cfa9
2 changed files with 4 additions and 2 deletions

View file

@ -305,9 +305,9 @@ class Movies(Items):
director = API.joinList(people['Director'])
genres = API.getGenres()
title, sorttitle = API.GetTitle()
plot = item['summary']
plot = item.get('summary', None)
shortplot = None
tagline = item.get('tagline', '')
tagline = item.get('tagline', None)
votecount = 0
rating = item.get('audienceRating', None)
year = item.get('year', None)

View file

@ -540,6 +540,8 @@ class LibrarySync(threading.Thread):
pdialog.update(heading="Processing %s / %s items" % (viewName, total))
count = 0
# DELETE ME WHEN DONE TESTING!!
embymovies = embymovies[0:10]
for embymovie in embymovies:
# Process individual movies
if self.shouldStop():