From d82774cfa93ced5b30cab56078343242f3ecae36 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Tue, 29 Dec 2015 10:36:16 +0100 Subject: [PATCH] Small fixes --- resources/lib/itemtypes.py | 4 ++-- resources/lib/librarysync.py | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/lib/itemtypes.py b/resources/lib/itemtypes.py index aad50e34..47a5f8cf 100644 --- a/resources/lib/itemtypes.py +++ b/resources/lib/itemtypes.py @@ -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) diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index 40529bc9..f7655bfe 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -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():