Ignore channels

Now that they are being integrated in views
This commit is contained in:
angelblue05 2015-10-17 18:22:41 -05:00
parent eabf94623a
commit a841b68ee0

View file

@ -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