mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 12:16:12 +00:00
Ignore channels
Now that they are being integrated in views
This commit is contained in:
parent
eabf94623a
commit
a841b68ee0
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue