mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-25 14:00:21 +00:00
[24] versions fix
This commit is contained in:
parent
eb6b17d7eb
commit
7876bee41b
5 changed files with 12 additions and 28 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.18.3-develop23
|
||||
1.18.3-develop24
|
||||
|
|
|
@ -12,6 +12,11 @@ external_templates:
|
|||
default:
|
||||
vertical_align: top
|
||||
conditionals:
|
||||
horizontal_align:
|
||||
default: right
|
||||
conditions:
|
||||
- overlay_level: episode
|
||||
value: center
|
||||
vertical_offset:
|
||||
default: 15
|
||||
conditions:
|
||||
|
@ -34,11 +39,6 @@ external_templates:
|
|||
value: 0
|
||||
- horizontal_align: [left, right]
|
||||
value: 15
|
||||
horizontal_align:
|
||||
default: right
|
||||
conditions:
|
||||
- overlay_level: episode
|
||||
value: center
|
||||
back_color: "#00000099"
|
||||
back_width: 105
|
||||
back_height: 105
|
||||
|
|
|
@ -1,24 +1,5 @@
|
|||
# Frequently Asked Questions & Knowledgebase
|
||||
|
||||
## {}
|
||||
|
||||
{fas}`spinner;sd-text-primary`
|
||||
|
||||
- An icon {fas}`spinner;sd-text-primary`, some more text.
|
||||
- An icon {fab}`github`, some more text.
|
||||
- An icon {fab}`gitkraken;sd-text-success fa-xl`, some more text.
|
||||
- An icon {fas}`skull;sd-text-danger`, some more text.
|
||||
|
||||
## ::
|
||||
|
||||
:fas:`spinner;sd-text-primary`
|
||||
|
||||
- An icon :fas:`spinner;sd-text-primary`, some more text.
|
||||
- An icon :fab:`github`, some more text.
|
||||
- An icon :fab:`gitkraken;sd-text-success fa-xl`, some more text.
|
||||
- An icon :fas:`skull;sd-text-danger`, some more text.
|
||||
|
||||
|
||||
This page aims to provide knowledge based on combined user experience, and to answer the frequent questions that we are asked in our [Discord Server](https://discord.gg/NfH6mGFuAB).
|
||||
|
||||
## Frequently Asked Questions
|
||||
|
|
|
@ -378,6 +378,7 @@ class DataFile:
|
|||
if var_key == "value":
|
||||
continue
|
||||
error_text = ""
|
||||
con_value = ""
|
||||
var_key = replace_var(var_key, [variables, default])
|
||||
var_value = replace_var(var_value, [variables, default])
|
||||
if var_key.endswith(".exists"):
|
||||
|
@ -403,9 +404,11 @@ class DataFile:
|
|||
elif str(con_value) != str(var_value):
|
||||
error_text = f'is not "{var_value}"'
|
||||
else:
|
||||
error_text = "is not a variable provided or a default variable"
|
||||
error_text = " is not a variable provided or a default variable"
|
||||
if error_text:
|
||||
logger.trace(f'Condition {i} Failed: {var_key}: "{con_value}" {error_text}')
|
||||
if con_value:
|
||||
error_text = f': "{con_value}" {error_text}'
|
||||
logger.trace(f'Condition {i} Failed: {var_key}{error_text}')
|
||||
condition_passed = False
|
||||
if condition_passed:
|
||||
logger.debug(f'Conditional Variable: {final_key} is "{condition["value"]}"')
|
||||
|
|
|
@ -711,7 +711,7 @@ def parse_and_or(error, attribute, data, test_list):
|
|||
raise Failed(f"{error} Error: Cannot have a blank {attribute}")
|
||||
if str(item) not in test_list:
|
||||
raise Failed(f"{error} Error: {attribute} {item} is invalid")
|
||||
or_num.append(test_list[str(item)])
|
||||
or_num.append(str(test_list[str(item)]))
|
||||
if final:
|
||||
final += ","
|
||||
final += "|".join(or_num)
|
||||
|
|
Loading…
Reference in a new issue