Fix virtual episodes and return offline

This commit is contained in:
angelblue05 2016-11-10 14:36:04 -06:00
parent 5cc3847e47
commit 237ee0d810

View file

@ -172,8 +172,10 @@ class Read_EmbyServer():
'ParentId': parentid, 'ParentId': parentid,
'ArtistIds': artist_id, 'ArtistIds': artist_id,
'IncludeItemTypes': itemtype, 'IncludeItemTypes': itemtype,
'IncludeLocationType': "Offline,FileSystem",
'CollapseBoxSetItems': False, 'CollapseBoxSetItems': False,
'IsVirtualUnaired': False, 'IsVirtualUnaired': False,
'IsMissing': False,
'Recursive': True, 'Recursive': True,
'Limit': 1 'Limit': 1
} }
@ -199,7 +201,9 @@ class Read_EmbyServer():
'ArtistIds': artist_id, 'ArtistIds': artist_id,
'IncludeItemTypes': itemtype, 'IncludeItemTypes': itemtype,
'CollapseBoxSetItems': False, 'CollapseBoxSetItems': False,
'IncludeLocationType': "Offline,FileSystem",
'IsVirtualUnaired': False, 'IsVirtualUnaired': False,
'IsMissing': False,
'Recursive': True, 'Recursive': True,
'StartIndex': index, 'StartIndex': index,
'Limit': jump, 'Limit': jump,
@ -337,7 +341,9 @@ class Read_EmbyServer():
'ParentId': parentid, 'ParentId': parentid,
'CollapseBoxSetItems': False, 'CollapseBoxSetItems': False,
'IncludeLocationType': "Offline,FileSystem",
'IsVirtualUnaired': False, 'IsVirtualUnaired': False,
'IsMissing': False,
'Recursive': True, 'Recursive': True,
'Ids': itemid 'Ids': itemid
} }
@ -421,6 +427,7 @@ class Read_EmbyServer():
params = { params = {
'ParentId': parent_id, 'ParentId': parent_id,
'IncludeLocationType': "Offline,FileSystem",
'Recursive': True, 'Recursive': True,
'Limit': 1 'Limit': 1
} }
@ -443,6 +450,7 @@ class Read_EmbyServer():
'ParentId': parent_id, 'ParentId': parent_id,
'Recursive': True, 'Recursive': True,
'IsVirtualUnaired': False, 'IsVirtualUnaired': False,
'IncludeLocationType': "Offline,FileSystem",
'StartIndex': index, 'StartIndex': index,
'Limit': jump, 'Limit': jump,
'SortBy': "SortName", 'SortBy': "SortName",