From a841b68ee0e3488e4e25ddb8e9a5b8f3dc0c1f35 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sat, 17 Oct 2015 18:22:41 -0500 Subject: [PATCH] Ignore channels Now that they are being integrated in views --- resources/lib/ReadEmbyDB.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/lib/ReadEmbyDB.py b/resources/lib/ReadEmbyDB.py index 061fc2f4..86bd6b68 100644 --- a/resources/lib/ReadEmbyDB.py +++ b/resources/lib/ReadEmbyDB.py @@ -291,9 +291,14 @@ class ReadEmbyDB(): for item in result: name = item['Name'] + contentType = item['Type'] itemtype = item.get('CollectionType') content = itemtype + if contentType == "Channel": + # Ignore channel type otherwise, they get processed as mixed content + continue + if itemtype is None and type in ("movies", "tvshows"): # Mixed content or rich presentation is disabled itemtype = type