update show_options

pull/528/head
meisnate12 3 years ago
parent ae7643b38c
commit 02f9b6f7b6

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

Loading…
Cancel
Save