Skip to content

Commit

Permalink
Allow exclusion keys in sharing settings (#908)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjlawren authored Mar 17, 2022
1 parent 549e76b commit d03a274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plexapi/myplex.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ def _filterDictToStr(self, filterDict):
""" Converts friend filters to a string representation for transport. """
values = []
for key, vals in filterDict.items():
if key not in ('contentRating', 'label'):
if key not in ('contentRating', 'label', 'contentRating!', 'label!'):
raise BadRequest('Unknown filter key: %s', key)
values.append('%s=%s' % (key, '%2C'.join(vals)))
return '|'.join(values)
Expand Down

0 comments on commit d03a274

Please sign in to comment.