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
1 changed files with 5 additions and 0 deletions

View File

@ -291,9 +291,14 @@ class ReadEmbyDB():
for item in result: for item in result:
name = item['Name'] name = item['Name']
contentType = item['Type']
itemtype = item.get('CollectionType') itemtype = item.get('CollectionType')
content = itemtype 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"): if itemtype is None and type in ("movies", "tvshows"):
# Mixed content or rich presentation is disabled # Mixed content or rich presentation is disabled
itemtype = type itemtype = type