From 02f9b6f7b6c5a105f0bc5237cb65387ab1c26509 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Sat, 18 Dec 2021 18:02:22 -0500 Subject: [PATCH] update show_options --- modules/plex.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/plex.py b/modules/plex.py index 952d271b..bc38fa3a 100644 --- a/modules/plex.py +++ b/modules/plex.py @@ -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