mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Removed the verification for mixed content
Since OriginalCollectionType is now implemented server side.
This commit is contained in:
parent
81aa96d540
commit
ad0f33a09b
1 changed files with 4 additions and 4 deletions
|
@ -332,18 +332,18 @@ class Read_EmbyServer():
|
||||||
# Filter view types
|
# Filter view types
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# 11/10/2015 Review key, when it's added to server. Currently unavailable.
|
# 3/4/2016 OriginalCollectionType is added
|
||||||
itemtype = item.get('OriginalCollectionType', item.get('CollectionType'))
|
itemtype = item.get('OriginalCollectionType', item.get('CollectionType', "mixed"))
|
||||||
|
|
||||||
# 11/29/2015 Remove this once OriginalCollectionType is added to stable server.
|
# 11/29/2015 Remove this once OriginalCollectionType is added to stable server.
|
||||||
# Assumed missing is mixed then.
|
# Assumed missing is mixed then.
|
||||||
if itemtype is None:
|
'''if itemtype is None:
|
||||||
url = "{server}/emby/Library/MediaFolders?format=json"
|
url = "{server}/emby/Library/MediaFolders?format=json"
|
||||||
result = doUtils(url)
|
result = doUtils(url)
|
||||||
|
|
||||||
for folder in result['Items']:
|
for folder in result['Items']:
|
||||||
if itemId == folder['Id']:
|
if itemId == folder['Id']:
|
||||||
itemtype = folder.get('CollectionType', "mixed")
|
itemtype = folder.get('CollectionType', "mixed")'''
|
||||||
|
|
||||||
if name not in ('Collections', 'Trailers'):
|
if name not in ('Collections', 'Trailers'):
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue