mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[5] allow other template values
This commit is contained in:
parent
32764cf136
commit
ec4a9bc0c1
2 changed files with 2 additions and 2 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.18.3-develop4
|
||||
1.18.3-develop5
|
||||
|
|
|
@ -906,7 +906,7 @@ class MetadataFile(DataFile):
|
|||
for template_name in template_names:
|
||||
if template_name not in self.templates:
|
||||
raise Failed(f"Config Error: {map_name} template: {template_name} not found")
|
||||
if any([a in str(self.templates[template_name][0]) for a in ["<<value>>", "<<key>>", f"<<{auto_type}>>"]]):
|
||||
if any([a in str(self.templates[template_name][0]) for a in ["<<value", "<<key", f"<<{auto_type}"]]):
|
||||
has_var = True
|
||||
if not has_var:
|
||||
raise Failed(f"Config Error: One {map_name} template: {template_names} is required to have the template variable <<value>>")
|
||||
|
|
Loading…
Reference in a new issue