-
I'm trying to create format strings that have a fallback value. For example with the Patreon extractor I want the filename to use a file's As I understand it, I should use something like this:
However,
Am I misunderstanding the alternatives feature or do |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
"Alternatives" only work for the data selection portion, i.e. Field Names. The format specifiers have to be shared among all possible fields.
|
Beta Was this translation helpful? Give feedback.
"Alternatives" only work for the data selection portion, i.e. Field Names. The format specifiers have to be shared among all possible fields.
{hash|num:>04}
should work here, since zero-filling thehash
value until it is 4 characters long is a noop.