Skip to content

Commit 8798a9e

Browse files
fix: explicitly set includeFiles (#1281)
Co-authored-by: JonnyWong16 <[email protected]>
1 parent a3af807 commit 8798a9e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plexapi/server.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,7 @@ def browse(self, path=None, includeFiles=True):
355355
key = f'/services/browse/{base64path}'
356356
else:
357357
key = '/services/browse'
358-
if includeFiles:
359-
key += '?includeFiles=1'
358+
key += f'?includeFiles={int(includeFiles)}' # starting with PMS v1.32.7.7621 this must set explicitly
360359
return self.fetchItems(key)
361360

362361
def walk(self, path=None):

0 commit comments

Comments
 (0)