How to escape parenthesis in the metadata fields?
See original GitHub issueChecklist
- I’m asking a question and not reporting a bug/feature request
- I’ve looked through the README
- I’ve read the guidelines for opening an issue
- I’ve searched the bugtracker for similar questions including closed ones
Question
Hello,
Using this example: %(uploader|Unknown)s
, I wonder how to escape ()
in the default value.
For instance: %(uploader|Unknown \(foo\))s
Generally speaking, I’m trying to override/add missing metadata so I’m doing it this way:
--parse-metadata "%%(artist|%s)s:%%(meta_artist)s"
Where %s
is replaced by a given artist value (which may contain parenthesis).
If you know a better way of doing this, it would be helpful.
Thanks!
Verbose log
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Escape characters in metadata properties
Hi. I'm trying to make dynamic metadata, therefore I need to pass recordDelimiter param (which is an escape character) to XML Writer task...
Read more >4.16 Escape special characters | R Markdown Cookbook
You need to escape the underscores if you want verbatim underscores instead of italic text. The way to escape a special character is...
Read more >Improper escaping of characters in text fields - Drupal
Metatag appears to improperly escape characters such as quotation marks in text fields. I have a hook (see below) that lets users enter...
Read more >Allowed characters for metadata fields source and sourcetype
Solved: My question is simple: which characters are allowed for the values of the metadata fields source and sourcetype ? I could not...
Read more >Escape brackets/periods/backslashes/quotes in input rank IDs ...
Escape brackets /periods/backslashes/quotes in input rank IDs and sample metadata fields, and in any "inputs" to plot JSONs #66.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Due to legacy reasons,
Foo
is interpretted as a field name here. Add a space to work around itNot possible atm
But this can be achieved using: