INTERACT FORUM
More => Old Versions => Media Center 17 => Topic started by: lowjoel on June 19, 2012, 07:24:30 pm
-
How do I tell MC to extract file name information when the file name's got a [ or ] character in them? MC thinks it's a tag and refuses to match the filename.
-
Can you give a little more detail regarding what you are seeing exactly?
Without any escaping, it appears to be working OK at this end...
(http://www.theganghut.co.uk/pics/ia/17/Snap-029.jpg)
-marko
-
Try assigning "Love" to a field. I'd do Your [Field name] [, but you'll find that MC ignores the expression.
-
OK, I see what you mean...
You need to use the template method, then break the field down using the existing delimiters. For each word, separated by a space, that you wish to ignore, empty square brackets tell MC to ignore...
(http://www.theganghut.co.uk/pics/ia/17/snap-030.jpg)
-marko
-
Thanks for that.
-
Oh, another thing just occurred to me. I don't need it yet, but thinking ahead -- what if I'd like to extract New Mix (without the square brackets?)
-
You would use the square brackets as the delimiter...
(http://www.theganghut.co.uk/pics/ia/17/snap-032.jpg)
If you simply entered [[comment]] into the template, all other fields would remain untouched, and comment would be populated with New Mix
-marko
-
Sweet, I'd remember that.
Gems like these should be somewhere in the Wiki, or is it already?
-
I'm honestly not sure. If you would like to add a page, you are welcome to use the images in this thread if needed.