Fix smart playlist listFilterChoices

This commit is contained in:
JonnyWong16 2021-03-11 13:28:25 -08:00
parent 6e501728a0
commit 42163b85e2
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -237,7 +237,7 @@ class Playlist(PlexPartialObject, Playable, ArtMixin, PosterMixin):
uri = uri + '&limit=%s' % str(limit)
for category, value in kwargs.items():
sectionChoices = section.listChoices(category)
sectionChoices = section.listFilterChoices(category)
for choice in sectionChoices:
if str(choice.title).lower() == str(value).lower():
uri = uri + '&%s=%s' % (category.lower(), str(choice.key))