Don't do episode checks on first run
This commit is contained in:
parent
c8125399c9
commit
86e7a9622e
1 changed files with 23 additions and 19 deletions
|
@ -448,6 +448,10 @@ class LibrarySync():
|
||||||
#we have to compare the lists somehow
|
#we have to compare the lists somehow
|
||||||
# TODO --> instead of matching by season and episode number we can use the uniqueid
|
# TODO --> instead of matching by season and episode number we can use the uniqueid
|
||||||
for item in episodeData:
|
for item in episodeData:
|
||||||
|
if(installFirstRun):
|
||||||
|
progressAction = "Adding"
|
||||||
|
WriteKodiDB().addEpisodeToKodiLibrary(item)
|
||||||
|
else:
|
||||||
comparestring1 = str(item.get("ParentIndexNumber")) + "-" + str(item.get("IndexNumber"))
|
comparestring1 = str(item.get("ParentIndexNumber")) + "-" + str(item.get("IndexNumber"))
|
||||||
matchFound = False
|
matchFound = False
|
||||||
if kodiEpisodes != None:
|
if kodiEpisodes != None:
|
||||||
|
|
Loading…
Reference in a new issue