mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 01:36:11 +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:
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue