mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-22 12:33:10 +00:00
[44] Merge remote-tracking branch 'yozora/metadatabackupfix' into nightly
This commit is contained in:
commit
dbb063a0d1
1 changed files with 9 additions and 6 deletions
|
@ -1538,12 +1538,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
|
||||||
|
map_key = f"{item.title} ({item.year})"
|
||||||
|
match_dict["blank_edition"] = True
|
||||||
|
try:
|
||||||
if item.editionTitle:
|
if item.editionTitle:
|
||||||
map_key = f"{item.title} ({item.year}) [{item.editionTitle}]"
|
map_key = f"{item.title} ({item.year}) [{item.editionTitle}]"
|
||||||
match_dict["edition"] = item.editionTitle
|
match_dict["edition"] = item.editionTitle
|
||||||
else:
|
match_dict["blank_edition"] = False
|
||||||
map_key = f"{item.title} ({item.year})"
|
except:
|
||||||
match_dict["blank_edition"] = True
|
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…
Reference in a new issue