Small fixes
This commit is contained in:
parent
a64e0cea2d
commit
d82774cfa9
2 changed files with 4 additions and 2 deletions
|
@ -305,9 +305,9 @@ class Movies(Items):
|
||||||
director = API.joinList(people['Director'])
|
director = API.joinList(people['Director'])
|
||||||
genres = API.getGenres()
|
genres = API.getGenres()
|
||||||
title, sorttitle = API.GetTitle()
|
title, sorttitle = API.GetTitle()
|
||||||
plot = item['summary']
|
plot = item.get('summary', None)
|
||||||
shortplot = None
|
shortplot = None
|
||||||
tagline = item.get('tagline', '')
|
tagline = item.get('tagline', None)
|
||||||
votecount = 0
|
votecount = 0
|
||||||
rating = item.get('audienceRating', None)
|
rating = item.get('audienceRating', None)
|
||||||
year = item.get('year', None)
|
year = item.get('year', None)
|
||||||
|
|
|
@ -540,6 +540,8 @@ class LibrarySync(threading.Thread):
|
||||||
pdialog.update(heading="Processing %s / %s items" % (viewName, total))
|
pdialog.update(heading="Processing %s / %s items" % (viewName, total))
|
||||||
|
|
||||||
count = 0
|
count = 0
|
||||||
|
# DELETE ME WHEN DONE TESTING!!
|
||||||
|
embymovies = embymovies[0:10]
|
||||||
for embymovie in embymovies:
|
for embymovie in embymovies:
|
||||||
# Process individual movies
|
# Process individual movies
|
||||||
if self.shouldStop():
|
if self.shouldStop():
|
||||||
|
|
Loading…
Reference in a new issue