hiccup
April 17, 2021, 2:11pm
1
I prefer to have my genres written in sentence case.
So e.g.:
Calypso jazz
Canterbury scene
Dark wave
Progressive electronic
instead of:
Calypso Jazz
Canterbury Scene
Dark Wave
Progressive Electronic
I haven’t been able to figure out how to create a script that will write tags in sentence case.
Anyone?
Perhaps something like the following (untested code):
$setmulti(genre,$lower(%genre%))
$setmulti(genre,$map(%genre%,$upper($substr(%_loop_value%,0,1))$substr(%_loop_value%,1,)))
Note that this would go in as a tagging script and not in the file naming script.
3 Likes
hiccup
April 17, 2021, 4:32pm
3
Thanks, I copy/pasted it, but I get a ‘wrong number of arguments’ error.
(and it’s beyond my abilities to figure out how to correct it and make it work)
I was missing one comma. Sorry about that. Have updated it in the original post above.
1 Like
hiccup
April 17, 2021, 4:44pm
5
It looks like it’s working great.
Thanks @rdswift !
1 Like
Thanks for confirming it works. Glad I could help.
1 Like