mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 12:16:12 +00:00
Filter fast sync
If music is disabled, filter music from returning in the fast sync response
This commit is contained in:
parent
43832696eb
commit
a9563119be
1 changed files with 2 additions and 0 deletions
|
@ -126,6 +126,8 @@ class LibrarySync(threading.Thread):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
params = {'LastUpdateDT': lastSync}
|
params = {'LastUpdateDT': lastSync}
|
||||||
|
if settings('enableMusic') != "true":
|
||||||
|
params['filter'] = "music"
|
||||||
url = "{server}/emby/Emby.Kodi.SyncQueue/{UserId}/GetItems?format=json"
|
url = "{server}/emby/Emby.Kodi.SyncQueue/{UserId}/GetItems?format=json"
|
||||||
result = self.doUtils(url, parameters=params)
|
result = self.doUtils(url, parameters=params)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue