Forgot to add filters

For collections and trailers
This commit is contained in:
angelblue05 2015-12-30 21:39:10 -06:00
parent bfcf110d82
commit 8b2bd3e30b

View file

@ -233,8 +233,8 @@ class Read_EmbyServer():
if itemId == folder['Id']:
itemtype = folder.get('CollectionType', "mixed")
if (itemtype == type or
(itemtype == "mixed" and type in ("movies", "tvshows"))):
if (name not in ('Collections', 'Trailers') and (itemtype == type or
(itemtype == "mixed" and type in ("movies", "tvshows")))):
views.append({