Tazlord
Board Newbie
Group: Members
Posts: 1
Joined: June 2007 |
 |
Posted: June 03 2007,03:23 |
 |
I think the ability to use a PCRE compatible syntax would be very useful. I have a situation where I'm trying to rename files but I have specific truncation needs.
A typical filename might look like this:
a) Run DMC - Walk This Way.mp3 or b) Run DMC feat. Aerosmith - Walk This Way.mp3
In the first case, I'd like to simply truncate everything from "feat." on (including the preceding space). In the second case, I'd like to truncate everything from "feat." (including the preceding space) up to the field separator, " - " in this case.
I have been able to accomplish this by using "Direct rename files" using this syntax:
Code Sample | <Artist> feat. <TRASH> - <Title>.mp3 |
The problem I am running into is the "Expected file name format" parser is expecting my syntax to be present in every file. When it runs into a file without "feat." present, it renames the file but adds an extra field separator to the end of the file (before the extension). This means that example "a" (above) will end up looking like this:
Run DMC - Walk This Way - .mp3
I was under the impression that these parsers were conditional. Meaning, only apply changes to files that match my expressions. Files that do not, don't get changed. I'm sure if this was the case, I would not need a PCRE interpreter but then I would need to be able to add many regular expression conditions in sequence so I wouldn't have to make multiple passes.
Anyway, either solution would work for me but for now, I'm stuck having to manually rename files that have gone through the program's parser.
I'd also like to note that this is a GREAT program. I have used many "tagging" programs and this one is by far the best one I've used. Keep up the good work!
|