From 237ee0d810ee76e8afafc14c33fc9bd4fe3d7410 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Thu, 10 Nov 2016 14:36:04 -0600 Subject: [PATCH] Fix virtual episodes and return offline --- resources/lib/read_embyserver.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/resources/lib/read_embyserver.py b/resources/lib/read_embyserver.py index a596cc44..7a01afbb 100644 --- a/resources/lib/read_embyserver.py +++ b/resources/lib/read_embyserver.py @@ -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",