Fix for collections

Filter out trailers channel
This commit is contained in:
angelblue05 2015-10-12 12:44:20 -05:00
parent 0fd88210b4
commit 32ad6cf684

View file

@ -294,12 +294,12 @@ class ReadEmbyDB():
itemtype = item.get('CollectionType')
content = itemtype
if itemtype is None and type in {"movies", "tvshows"}:
if itemtype is None and type in ("movies", "tvshows"):
# Mixed content or rich presentation is disabled
itemtype = type
content = "mixed"
if itemtype == type and name != "Collections":
if itemtype == type and name not in ("Collections", "Trailers"):
collections.append({
'title': name,