Home
Download
Purchase
Support
Company
INTERACT FORUM
November 05, 2024, 04:41:42 am
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Calendar
Login
Register
INTERACT FORUM
>
More
>
Old Versions
>
Media Center 17
>
Fill Properties from Filename - Escapes?
« previous
next »
Pages: [
1
]
Go Down
Print
Author
Topic: Fill Properties from Filename - Escapes? (Read 1502 times)
lowjoel
World Citizen
Posts: 159
Fill Properties from Filename - Escapes?
«
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.
Logged
marko
MC Beta Team
Citizen of the Universe
Posts: 9124
Re: Fill Properties from Filename - Escapes?
«
Reply #1 on:
June 20, 2012, 08:36:39 am »
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...
-marko
Logged
Some alternative skins are here
|
Import Stats on Steroids
|
Complete Expression Language Alphabetical List
lowjoel
World Citizen
Posts: 159
Re: Fill Properties from Filename - Escapes?
«
Reply #2 on:
June 20, 2012, 08:37:21 am »
Try assigning "Love" to a field. I'd do Your [Field name] [, but you'll find that MC ignores the expression.
Logged
marko
MC Beta Team
Citizen of the Universe
Posts: 9124
Re: Fill Properties from Filename - Escapes?
«
Reply #3 on:
June 20, 2012, 08:44:30 am »
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...
-marko
Logged
Some alternative skins are here
|
Import Stats on Steroids
|
Complete Expression Language Alphabetical List
lowjoel
World Citizen
Posts: 159
Re: Fill Properties from Filename - Escapes?
«
Reply #4 on:
June 20, 2012, 07:49:47 pm »
Thanks for that.
Logged
lowjoel
World Citizen
Posts: 159
Re: Fill Properties from Filename - Escapes?
«
Reply #5 on:
June 21, 2012, 08:31:22 pm »
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?)
Logged
marko
MC Beta Team
Citizen of the Universe
Posts: 9124
Re: Fill Properties from Filename - Escapes?
«
Reply #6 on:
June 22, 2012, 12:55:17 am »
You would use the square brackets as the delimiter...
If you simply entered
[[comment]]
into the template, all other fields would remain untouched, and comment would be populated with
New Mix
-marko
Logged
Some alternative skins are here
|
Import Stats on Steroids
|
Complete Expression Language Alphabetical List
lowjoel
World Citizen
Posts: 159
Re: Fill Properties from Filename - Escapes?
«
Reply #7 on:
June 22, 2012, 01:04:09 am »
Sweet, I'd remember that.
Gems like these should be somewhere in the Wiki, or is it already?
Logged
marko
MC Beta Team
Citizen of the Universe
Posts: 9124
Re: Fill Properties from Filename - Escapes?
«
Reply #8 on:
June 22, 2012, 01:11:44 am »
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.
Logged
Some alternative skins are here
|
Import Stats on Steroids
|
Complete Expression Language Alphabetical List
Print
Pages: [
1
]
Go Up
« previous
next »
INTERACT FORUM
>
More
>
Old Versions
>
Media Center 17
>
Fill Properties from Filename - Escapes?