mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-26 06:20:23 +00:00
[18] fix old text ratings
This commit is contained in:
parent
c10460f757
commit
7d85015c9f
2 changed files with 5 additions and 2 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.17.2-develop17
|
||||
1.17.2-develop18
|
||||
|
|
|
@ -284,7 +284,10 @@ class Overlay:
|
|||
if text in old_special_text:
|
||||
text_mod = text[-1] if text[-1] in ["0", "%", "#"] else None
|
||||
text = text if text_mod is None else text[:-1]
|
||||
self.name = f"text(<<{text}#>>)" if text_mod == "#" else f"text(<<{text}%>>{'' if text_mod == '0' else '%'})"
|
||||
if text_mod is None:
|
||||
self.name = f"text(<<{text}>>)"
|
||||
else:
|
||||
self.name = f"text(<<{text}#>>)" if text_mod == "#" else f"text(<<{text}%>>{'' if text_mod == '0' else '%'})"
|
||||
if "<<originally_available[" in text:
|
||||
match = re.search("<<originally_available\\[(.+)]>>", text)
|
||||
if match:
|
||||
|
|
Loading…
Reference in a new issue