Batch up all the params needed to update a movie and send them all at once

This commit is contained in:
shaun 2015-03-21 10:33:04 +11:00
commit 960cec8163
2 changed files with 220 additions and 2 deletions

View file

@ -165,7 +165,8 @@ class LibrarySync():
kodimovie = allKodiMovies.get(item["Id"], None)
if(kodimovie != None):
WriteKodiDB().updateMovieToKodiLibrary(item,kodimovie)
#WriteKodiDB().updateMovieToKodiLibrary(item, kodimovie)
WriteKodiDB().updateMovieToKodiLibrary_Batched(item, kodimovie)
if(self.ShouldStop(pDialog)):
return True