Printable Version of Topic

-Brading Software Message Board
+--Forum: Mp3/Tag Studio Support and Bug Reports
+---Topic: Direct File Rename problem started by calberga


Posted by: calberga on Feb. 12 2007,16:27

I have some .mp3 files which duplicated the filenames of already existing files, so Forté Agent added "1", or "2', etc. to the end of the file name.  I moved the files to seperate directories, but when I tried to rename them, to strip the final digit I get some false positives.

My patterns are:

<Custom1>1.mp3
<Custom1>.mp3

But it acts as if my original filename pattern is:

<Custom1>1<TRASH>.mp3

simply dropping all part of the filename between the first "1" and the ".mp3"., thus, if I have a file named

Foobar #1 is here.mp3

it gets renamed

Foobar #.mp3

How do I tell the program that there should be no text between the "1" and the ".mp3" in the first pattern?


Posted by: Magnus Brading on Feb. 14 2007,00:20

This is due to special case handling of the file extension in Mp3/Tag Studio, which causes it to be stripped from the filename before processing, thus leaving only "1" as the separator, which (correctly under those circumstances) results in this behavior.

I have now noted this problem for fixing in future versions, but until then you should be able to do a workaround by first performing a rename operation for all files ending in "1", "2", "3" etc (with a file name filter), to add a more unique suffix to these file names, and then use your method but with this suffix as a separator instead of the single digit. The entire operation can of course be stored in a macro.
Posted by: calberga on Feb. 14 2007,00:47

So:

<Custom1>.mp3
<Custom1>§.mp3

then

<Custom1>n§.mp3
<Custom1>.mp3

for the existing values of "n".

Then

<Custom1>§.mp3
<Custom1>.mp3

to clean up the cases that didn't end in digits should do it?

That would obviate the need to run several filename filters, for final 1, 2, 3, etc.

Or am I still missing something?
Posted by: Magnus Brading on Feb. 14 2007,23:52

You can do it like that too, but the way I suggested, by combining it with the filter functionality of Mp3/Tag Studio, there won't even be any "cases that didn't end in digits" that would have been renamed in the first step.

Both ways are fine though, and once they are recorded into a macro, you won't notice the difference (except that the way I suggested will be a little faster ;))
end


Powered by Ikonboard 3.1.1
Ikonboard © 2001 Jarvis Entertainment Group, Inc.