mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-17 13:46:14 +00:00
Fix episode tags, unspecified collection types
This commit is contained in:
parent
65b6411fb3
commit
f46b67209c
2 changed files with 19 additions and 19 deletions
|
@ -258,8 +258,8 @@ class ReadEmbyDB():
|
|||
Name = Temp.encode('utf-8')
|
||||
section = item.get("CollectionType")
|
||||
itemtype = item.get("CollectionType")
|
||||
if itemtype == None:
|
||||
itemtype = "None" # User may not have declared the type
|
||||
if itemtype == None or itemtype == "":
|
||||
itemtype = "movies" # User may not have declared the type
|
||||
if itemtype == type and item.get("Name") != "Collections":
|
||||
collections.append( {'title' : item.get("Name"),
|
||||
'type' : itemtype,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue