pull/1940/head
Yozora XCII 8 months ago
parent 203e085037
commit f6d7462ae4

@ -1526,12 +1526,15 @@ class Plex(Library):
if year_titles.count(f"{item.title} ({item.year})") > 1: if year_titles.count(f"{item.title} ({item.year})") > 1:
match_dict["title"] = item.title match_dict["title"] = item.title
match_dict["year"] = item.year match_dict["year"] = item.year
if item.editionTitle: map_key = f"{item.title} ({item.year})"
map_key = f"{item.title} ({item.year}) [{item.editionTitle}]" match_dict["blank_edition"] = True
match_dict["edition"] = item.editionTitle try:
else: if item.editionTitle:
map_key = f"{item.title} ({item.year})" map_key = f"{item.title} ({item.year}) [{item.editionTitle}]"
match_dict["blank_edition"] = True match_dict["edition"] = item.editionTitle
match_dict["blank_edition"] = False
except:
dont_care = True
else: else:
map_key = f"{item.title} ({item.year})" map_key = f"{item.title} ({item.year})"
match_dict["title"] = item.title match_dict["title"] = item.title

Loading…
Cancel
Save