update show_options

This commit is contained in:
meisnate12 2021-12-18 18:02:22 -05:00
parent ae7643b38c
commit 02f9b6f7b6

View file

@ -391,7 +391,10 @@ class Plex(Library):
names = []
choices = {}
for choice in self.Plex.listFilterChoices(final_search):
names.append(choice.title if title else choice.key)
if choice.title not in names:
names.append(choice.title)
if choice.key not in names:
names.append(choice.key)
choices[choice.title.lower()] = choice.title if title else choice.key
choices[choice.key.lower()] = choice.title if title else choice.key
return choices, names