mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
fix for db passing
This commit is contained in:
parent
b5e2e0948e
commit
5f644d82f2
1 changed files with 1 additions and 1 deletions
|
@ -476,7 +476,7 @@ class LibrarySync():
|
||||||
#double check the item it might me added delayed by the Kodi scanner
|
#double check the item it might me added delayed by the Kodi scanner
|
||||||
if ReadKodiDB().getKodiEpisodeByMbItem(item["Id"],tvshow) == None:
|
if ReadKodiDB().getKodiEpisodeByMbItem(item["Id"],tvshow) == None:
|
||||||
#no match so we have to create it
|
#no match so we have to create it
|
||||||
WriteKodiDB().addEpisodeToKodiLibrary(item)
|
WriteKodiDB().addEpisodeToKodiLibrary(item,connection, cursor)
|
||||||
progressAction = "Adding"
|
progressAction = "Adding"
|
||||||
totalItemsAdded += 1
|
totalItemsAdded += 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue