Search found 3 matches

by GazzaRob
28 Apr 2023, 05:36
Forum: Help and Support
Topic: How to escape the '{' and '}' characters in a format expression?
Replies: 5
Views: 857

Re: How to escape the '{' and '}' characters in a format expression?

Thanks for that. The reason I don't want to use {plex.id} is that it seems to hardcode in a folder name "Media" which I don't want ... e.g. { "{" + tmdbid + "}" } or { "{$tmdbid}" } :arrow: I recommend using the {plex.id} format if you're naming files for Plex...
by GazzaRob
24 Apr 2023, 10:50
Forum: Help and Support
Topic: How to escape the '{' and '}' characters in a format expression?
Replies: 5
Views: 857

Re: How to escape the '{' and '}' characters in a format expression?

Thanks, but maybe I need to clarify more ... the 1234 was supposed to represent an id which is inserted as part of the formatting, e.g. a {tmdbid}, so I want to use '{' and '}' as literal characters. This is what I have tried - based on your reply: {n} { "{" }{tmdbid}{ "}" }/{s00...
by GazzaRob
23 Apr 2023, 11:40
Forum: Help and Support
Topic: How to escape the '{' and '}' characters in a format expression?
Replies: 5
Views: 857

How to escape the '{' and '}' characters in a format expression?

I'd like to create a naming format expression with the '{' and '}' characters in the formatted name, something like:

Code: Select all

MySeriesName {1234}/S01E01 - EpisodeName.mkv
How do I escape the curly bracket characters and have them treated as literal characters and not part of a token?