Open echo6ix opened 1 year ago
@Belleyy I think the field_replacer bug is back.
default_template = "$studio.$date.$title{_$studio_code}{.$performer}" field_replacer = { "$studio": {"replace": ".", "with": ""}, "$title": {"replace": ".", "with": ""}, "$title": {"replace": "--", "with": "-"}, "$title": {"replace": "---", "with": "-"}, "$performer": {"replace": ".", "with": ""} }
Ms. Vamp Gets Stuffed
Amanda Vamp
DDF.2015.Ms-Vamp-Gets-Stuffed.Amanda-Vamp
DDF.2015.Ms.-Vamp-Gets-Stuffed.Amanda-Vamp
Notice in the Actual rename column that the . character isn't replaced with a null value in the $title
.
config.zip
As discussed, this is because you have 3 $title field replacements and is currently setup for one field replacement per field.
field_replacer would need to support multiple values per key.
@Belleyy I think the field_replacer bug is back.
Ms. Vamp Gets Stuffed
Amanda Vamp
DDF.2015.Ms-Vamp-Gets-Stuffed.Amanda-Vamp
✅DDF.2015.Ms.-Vamp-Gets-Stuffed.Amanda-Vamp
❌Notice in the Actual rename column that the
.
character isn't replaced with a null value in the $titleconfig.zip