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