Don't do episode checks on first run

This commit is contained in:
xnappo 2015-04-04 11:09:14 -05:00
parent c8125399c9
commit 86e7a9622e

View file

@ -448,6 +448,10 @@ class LibrarySync():
#we have to compare the lists somehow
# TODO --> instead of matching by season and episode number we can use the uniqueid
for item in episodeData:
if(installFirstRun):
progressAction = "Adding"
WriteKodiDB().addEpisodeToKodiLibrary(item)
else:
comparestring1 = str(item.get("ParentIndexNumber")) + "-" + str(item.get("IndexNumber"))
matchFound = False
if kodiEpisodes != None: