From 32ad6cf6847106f5f7eedf9a4b6fafa8e2ee7533 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Mon, 12 Oct 2015 12:44:20 -0500 Subject: [PATCH] Fix for collections Filter out trailers channel --- resources/lib/ReadEmbyDB.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/ReadEmbyDB.py b/resources/lib/ReadEmbyDB.py index d197ecba..061fc2f4 100644 --- a/resources/lib/ReadEmbyDB.py +++ b/resources/lib/ReadEmbyDB.py @@ -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,