mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-24 17:01:39 +00:00
Move manual sync to own class
It's better to separate the code to gain more control over the manual sync rather than working around the full sync and doing "if compare" all over the place.
This commit is contained in:
parent
7fd8a686b8
commit
6653b1a929
2 changed files with 505 additions and 353 deletions
|
@ -99,7 +99,7 @@ class Main:
|
|||
import librarysync
|
||||
lib = librarysync.LibrarySync()
|
||||
if mode == "manualsync":
|
||||
lib.fullSync(manualrun=True)
|
||||
librarysync.ManualSync()
|
||||
else:
|
||||
lib.fullSync(repair=True)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue