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')
|
itemtype = item.get('CollectionType')
|
||||||
content = itemtype
|
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
|
# Mixed content or rich presentation is disabled
|
||||||
itemtype = type
|
itemtype = type
|
||||||
content = "mixed"
|
content = "mixed"
|
||||||
|
|
||||||
if itemtype == type and name != "Collections":
|
if itemtype == type and name not in ("Collections", "Trailers"):
|
||||||
collections.append({
|
collections.append({
|
||||||
|
|
||||||
'title': name,
|
'title': name,
|
||||||
|
|
Loading…
Reference in a new issue