-
When using %title{}, python tries to uppercase the first character no matter what it is. This is bad where things like '(instrumental' is considered one word entity.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Python's title() works like you expect: >>> "hallo doei dag".title()
'Hallo Doei Dag'
>>> "{hallo doei dag".title()
'{Hallo Doei Dag'
>>> "(hallo doei dag".title()
'(Hallo Doei Dag' So, beets' %title parses differently. |
Beta Was this translation helpful? Give feedback.
-
Thank you! Can I create a function similar to this using the inline plugin, that I can use just like %title{$var}, that is, use my function on whatever value I pass to it? So far I'm only aware that I can use an explicit value, like $album, and access it by $titlecase_proper in my path format.
|
Beta Was this translation helpful? Give feedback.
-
I made a plugin. |
Beta Was this translation helpful? Give feedback.
I made a plugin.