Work around until ParentId and Ids work together

This is a simple work around to filter the items after we get them,
hopefully we can get the API fixed to allow ParentId and Ids to work
together. until then we do the filtering on the full list returned.
This commit is contained in:
shaun 2015-04-03 15:13:28 +11:00
parent 5b55a4bce1
commit 7a22a1a60e

View file

@ -116,7 +116,7 @@ class LibrarySync():
for item in allMB3Movies: for item in allMB3Movies:
if not item.get('IsFolder'): if not item.get('IsFolder'):
allEmbyMovieIds.append(item["Id"]) allEmbyMovieIds.append(item["Id"])
item['Tag'] = [] item['Tag'] = []
item['Tag'].append(view.get('title')) item['Tag'].append(view.get('title'))