[32] fix queue overlays

This commit is contained in:
meisnate12 2022-06-09 11:27:42 -04:00
parent d5e4c99388
commit f4672f5654
3 changed files with 9 additions and 10 deletions

View file

@ -1 +1 @@
1.17.0-develop31
1.17.0-develop32

View file

@ -1941,7 +1941,7 @@ class CollectionBuilder:
final_years.append(util.parse(self.Type, final, value, datatype="int"))
return smart_pair(final_years)
elif attribute in date_attributes and modifier in ["", ".not"]:
search_mod = None
search_mod = "d"
if plex_search and data and str(data)[-1] in ["s", "m", "h", "d", "w", "o", "y"]:
search_mod = str(data)[-1]
data = str(data)[:-1]

View file

@ -97,14 +97,13 @@ class Overlays:
if blur_test > blur_num:
blur_num = blur_test
else:
applied_names.append(over_name)
for over_name in applied_names:
overlay = properties[over_name]
if overlay.queue:
if overlay.queue not in queue_overlays:
queue_overlays[overlay.queue] = {}
queue_overlays[overlay.queue][overlay.weight] = over_name
overlay = properties[over_name]
if overlay.queue:
if overlay.queue not in queue_overlays:
queue_overlays[overlay.queue] = {}
queue_overlays[overlay.queue][overlay.weight] = over_name
else:
applied_names.append(over_name)
overlay_change = False if has_overlay else True
if not overlay_change: