mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 01:36:11 +00:00
Fix for collections
Filter out trailers channel
This commit is contained in:
parent
0fd88210b4
commit
32ad6cf684
1 changed files with 2 additions and 2 deletions
|
@ -294,12 +294,12 @@ class ReadEmbyDB():
|
|||
itemtype = item.get('CollectionType')
|
||||
content = itemtype
|
||||
|
||||
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
|
||||
itemtype = type
|
||||
content = "mixed"
|
||||
|
||||
if itemtype == type and name != "Collections":
|
||||
if itemtype == type and name not in ("Collections", "Trailers"):
|
||||
collections.append({
|
||||
|
||||
'title': name,
|
||||
|
|
Loading…
Reference in a new issue