fix for db passing

This commit is contained in:
im85288 2015-04-04 23:38:31 +01:00
parent b5e2e0948e
commit 5f644d82f2

View file

@ -476,7 +476,7 @@ class LibrarySync():
#double check the item it might me added delayed by the Kodi scanner
if ReadKodiDB().getKodiEpisodeByMbItem(item["Id"],tvshow) == None:
#no match so we have to create it
WriteKodiDB().addEpisodeToKodiLibrary(item)
WriteKodiDB().addEpisodeToKodiLibrary(item,connection, cursor)
progressAction = "Adding"
totalItemsAdded += 1