mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-07-26 08:17:31 +00:00
dont try to do any DB access if it is not needed in Update Actors
This commit is contained in:
parent
c38ecfa462
commit
21a29b3962
2 changed files with 55 additions and 39 deletions
|
@ -51,11 +51,14 @@ class LibrarySync():
|
|||
#what sync method to perform ?
|
||||
if syncOption == "Full Sync":
|
||||
|
||||
pr = utils.startProfiling()
|
||||
#pr = utils.startProfiling()
|
||||
self.MoviesSync(True)
|
||||
utils.stopProfiling(pr, "MoviesSync(True)")
|
||||
#utils.stopProfiling(pr, "MoviesSync(True)")
|
||||
|
||||
#pr = utils.startProfiling()
|
||||
self.TvShowsSync(True)
|
||||
#utils.stopProfiling(pr, "TvShowsSync(True)")
|
||||
|
||||
if syncOption == "Incremental Sync":
|
||||
self.MoviesSync(False)
|
||||
self.TvShowsSync(False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue