Skip to content

Commit

Permalink
fix: explicitly set includeFiles (#1281)
Browse files Browse the repository at this point in the history
Co-authored-by: JonnyWong16 <[email protected]>
  • Loading branch information
ReenigneArcher and JonnyWong16 authored Oct 31, 2023
1 parent a3af807 commit 8798a9e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plexapi/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,7 @@ def browse(self, path=None, includeFiles=True):
key = f'/services/browse/{base64path}'
else:
key = '/services/browse'
if includeFiles:
key += '?includeFiles=1'
key += f'?includeFiles={int(includeFiles)}' # starting with PMS v1.32.7.7621 this must set explicitly
return self.fetchItems(key)

def walk(self, path=None):
Expand Down

0 comments on commit 8798a9e

Please sign in to comment.