INTERACT FORUM
More => Old Versions => Media Center 12 (Development Ended) => Topic started by: T2Mac on April 15, 2007, 02:45:14 pm
-
I have a lot of mix albums which can contain various versions of the same track. I currently append the version to the track name inside square brackets (Name [Version]).
I now want to store the version separately so I created a ‘version’ library field. To automate the process of moving the version from the name field, I wondered if there was an expression I could use which would retrieve any data from between the square brackets.
Any help would be appreciated.
Ian
-
do you have the name of the track in the filename itself?
if so, you can use the "Fill properties from filename" tool to do this.
Assuming a filename of [track #] - [artist] - [album] - [name].mp3
you would use a fill from template like so: [] - [] - [] - [name] [[version]] (This assumes all files follow the same naming convention. You may need to juggle that to fit the template you have used.)
and that would move the data in square brackets into the version field, and at the same time, remove it from the name field.
name=/[ will list all files with square brackets in the name field.
-marko.
-
Wow that was simple enough, though I would never of thought of that in a month of Sundays.
Cheers Marko.
Ian