Filter fast sync

If music is disabled, filter music from returning in the fast sync
response
This commit is contained in:
angelblue05 2016-09-09 03:53:56 -05:00
parent 43832696eb
commit a9563119be

View file

@ -126,6 +126,8 @@ class LibrarySync(threading.Thread):
return False
params = {'LastUpdateDT': lastSync}
if settings('enableMusic') != "true":
params['filter'] = "music"
url = "{server}/emby/Emby.Kodi.SyncQueue/{UserId}/GetItems?format=json"
result = self.doUtils(url, parameters=params)