INTERACT FORUM
More => Old Versions => JRiver Media Center 18 for Windows => Topic started by: kstuart on March 15, 2013, 03:32:15 pm
-
Is there something in "Fill Properties from Filename" that will take N characters and do nothing with them ?
MP3Tag has a similar function, which uses % % instead of [ ], and you can have:
%dummy% %title%
when you don't want to overwrite the track numbers, because you have already re-ordered them, but you do want to overwrite the track names from the filename.
( I know that you can already just provide strings - like "flac" - that are already in the filename, but that only seems to work when the same string is there every time.)
-
If a track is named "[track #] - [artist] - [name]" and you only want the name into the name field, then "[] - [] - [name]" in fill properties would get you just that. Does that help?
-marko
-
How does it distinguish between an explicit [ that is part of a string to be ignored, like [FLAC], and [ that indicates a field ?
-
The expression evaluator examines tokens that look like fields - if no such field exists, the simple string is used.
-
In the wiki, it says:
" Any text between brackets [] will be replaced with the corresponding field from your library. As an example, [Artist] would be replaced by Bob Dylan for any Bob Dylan tracks. If the text between brackets doesn't match any known fields, it will be left alone, [My Fake Artist] will be treated literally, square brackets and all. "
which is how I was operating, and it doesn't mention anything about [] by itself (as referred to by marko).
So is [] , a special case ?
-
Its been that way since at least 2005; I don't know when it was introduced.