INTERACT FORUM
More => Old Versions => Media Center 11 (Development Ended) => Topic started by: marko on March 23, 2006, 05:19:00 am
-
Is this something that can be used to mandate saving certain parts of the alphabet to a particular hard drive or folder?
Such as:
IF ([Artist], 1, 1)=a-j THEN Path=E:\Music1, IF ([Artist], 1, 1)=k-z, THEN Path=F:\Music2
---------->
Yes.
There's more info on if statments here:
http://www.jrmediacenter.com/DevZone/DBExpressions.htm
Take note of the IsRange(...) function.
Here's a simple sample:
Path: If(IsRange([Artist], a-m), D:, E:)\Music
This would use D:\Music for a-m artists and E:\Music for other artists.
If we could be allowed to use expressions in the 'base path' field it really would make the rename from props tool a 'one-stop shop'
Any chance of sneaking it in?
-
*cough*
-
please? :)
-
Yes, this would allow to define more comprehensive rules for all the different media types.
By the way: One can easily loose track of all the expressions used and spilled all over MC11.1.
A suggestion would be to use named expressions and have a place such as an "expression editor" in a central place, very similar to the name function in Excel. You could give a short name to a very complex expression such as caption_rule="very long and complex expression..." and used that name instead of the expression.
Also, expression are store in the registry, not a very portable way from one system to the other, better would be to store them in the library.
-
*gentle bump*
-
and again....
:)
-
Pretty Please with Sugar on Top!!!
-
todo....
:)
-
Just out of curiosity... I haven't tried this, but can you bypass the base path field altogether, just leave it blank, and then put one expression in the folder field that figured out the drive letter and everything?
-
Nah, that won't work.
If you don't specify a base path, MC assumes the files' current directory to be the base path.
Matt says this is possible, but I cannot fathom it out all. Has anyone out there managed to get this renaming rule to work, in any way, shape, or form? if so, please share the solution with the rest of us :)
-marko.