CommunityScripts
CommunityScripts copied to clipboard
[Bug] renamerOnUpdate: default_template weird behaviour inside groups
Another bug involving the period, ., character.
Where the default_template is defined as default_template = "$studio.$date.$title{.$performer}", if a group contains a null element it should be outputting nothing in the group, but if there is a period before the element, it will output the period.
In the table below lets say the following elements contain these values unless specified as null.
$studio = Google $date = 1970-01-01 $title = Hello $performer = null
| template | null elements | output |
|---|---|---|
default_template = "$studio.$date.$title{.$performer}" |
performer | Google.1970-01-01.Hello..mp4 |
default_template = "$studio.$date.$title{$performer.}" |
performer | Google.1970-01-01.Hello.mp4 |
default_template = "$studio.$date.$title{_$performer}" |
performer | Google.1970-01-01.Hello.mp4 |
default_template = "$studio{.$date}.$title{.$performer}" |
date; performer | Google..Hello..mp4 |
I have included my config.py file for troubleshooting.