» Welcome Guest
[ Log In :: Register ]

 

[ Track this topic :: Email this topic :: Print this topic ]

Topic: #2 in filenames...< Next Oldest | Next Newest >
grishnav
Board Newbie



Group: Members
Posts: 2
Joined: Mar. 2003
Posted: Mar. 08 2003,03:21

I have a folder on my hard drive with my entire collection. I used Tag Studio to seperate the MP3s (by ID3) into this folder structure:

c:\mp3<\><Artist><\><Album><\><TrackNr>-<Title>.mp3

The problem I'm having, is:

When I add files, I drop them in the mp3 folder with the full fledged ID3 tag, fire up Tag Studio, and tell it to sort them. Problem is, all the exsiting files get a #2 appended to the end of their names, I'm assuming because they existed when it tried to write.

Redoing the operation results in the #2's being removed from the collection, but added to the new files.

A current workaround is to change something simple, like the seperator, so that all files are different when the software goes to rename them. Unfortunately, that takes work, and the point of using Tag Stdio is so that I don't have to do any. ;)

Any suggestions on how to get rid of the #2s automatically?

Thanks.
Back to top
Profile PM 
Magnus Brading
Almighty Author



Group: Super Administrators
Posts: 2751
Joined: Aug. 2002
Posted: April 01 2003,13:32

I'm not completely sure about what you do when this happens. :(

Could you please specify which tools and templates you are using inside Mp3/TS, and also give an example including full paths to the files that get renamed with #2s?

(sorry for answering this so late, it seems like I didn't see this post until now due to some error in the email notification of the board)

--------------
Software author and website owner
Back to top
Profile PM WEB 
grishnav
Unregistered





Posted: April 01 2003,14:18

Quote (Magnus Brading @ April 01 2003,13:32)
I'm not completely sure about what you do when this happens. :(

Could you please specify which tools and templates you are using inside Mp3/TS, and also give an example including full paths to the files that get renamed with #2s?

(sorry for answering this so late, it seems like I didn't see this post until now due to some error in the email notification of the board)

I'm using the template I posted above:

c:\mp3<\><Artist><\><Album><\><TrackNr>-<Title>.mp3

Where c:\mp3 is the base of my collection, and MP3/TS is set to "advanced" mode to accomadate it.

Lets say I have c:\mp3\Darude\01 - Sandstorm.mp3

Lets say I rip Darude - Drums of New York from a CD (Darude - Drums of New York.mp3).

I drop Darude - Drums of New York.mp3 into c:\mp3, then go to MP3/TS, where my template is all ready to go, and hit "Execute"

When I go back into my Darude folder (which would actually be something like Darude\Before the Storm\*, but it's pretty much irrevelant), Darude\02 - Drums of New York.mp3 will be there correctly, but Darude\01 - Sandstorm.mp3 will now be Darude\01 - Sandstorm #2.mp3

If I go back to MP3/TS and hit "Execute" again, Darude\01 - Sandstorm #2.mp3 is renamed to Darude\01 - Sandstorm.mp3 again (as it was originally), but now Darude\02 - Drums of New York.mp3 is Darude\02 - Drums of New York #2.mp3

I'm assuming this occurs because when MP3/TS goes to write the new file, it sees that one already exists, when in reality it should simply skip the file as no renaming operation is needed.

A current workaround is to change something simple like the seperator, and then change it back. So, in the example above, for example, I would be using something like <TrackNr> - <Title>. I can temporarily change this to something like <TrackNr>-<Title>, and all of the files will be named correctly (No #2's), but will have a new seperator. I can then reset my previouse seperator (" - "), and all new files will be renamed. This seems to support my theory about what's happening.

My theory about the bug is drawn from another related observation I made with MP3/TS. If two differently named files contain identical ID3 tags, when MP3/TS goes to rename it, one will end up with the proper convention, and the other will have a #2 appended to it. The reason for this is obvious: it avoids accidently overwring one MP3 file with another if the tags are the same (perhaps they have different bitrates or something).

What MP3/TS *seems* to be doing is, opening an existing MP3, reading it, attempting to rename it, detecting that a file with the same name already exists, appending a #2 to avoid an accidental overwrite, and then deleting the original file.

In reality, MP3/TS should check to see weather the file it's currently working actually needs to be worked on. If MP3/TS checked to see weather the current filename (and path!;) would change if MP3/TS were to make the modifications according to the template, this problem wouldn't exist.

But again, this is just my semi-educated observation. I could be completely off the wall. Whatever it is, it don't work quite right.
Back to top
grishnav
Board Newbie



Group: Members
Posts: 2
Joined: Mar. 2003
Posted: April 01 2003,14:23

Hmm... It seems I am not able to edit my previous post... guess I forgot to log in...

In the second to last paragraph, it should be "(and path!)," without the silly emoticon

Edited by grishnav on April 01 2003,14:23
Back to top
Profile PM 
Magnus Brading
Almighty Author



Group: Super Administrators
Posts: 2751
Joined: Aug. 2002
Posted: April 01 2003,20:36

As you say, Mp3/Tag Studio always adds numbers like #2, #3 and so on if a target file already exists. This is because otherwise files could accidently be overwritten (which is not necessarily the exact same file as the one that is being processed, so you might want to save them both).

What I don't understand in your case is where the duplicate files come from? Why are there already existing files with the correct names in the target folder?

--------------
Software author and website owner
Back to top
Profile PM WEB 
Roy
Unregistered





Posted: April 24 2003,09:20

I have the same trouble but I think I know the reason.

I am Mexican. In spanish we use in some words like this..

más.... it means more
todavía... it means still

the problem with your program seems to be that it does not recognize the á, é, í, ó, ú on the words that need that simbol.

When I rename the words

más to mas
todavía to todavia

the problem goes away.

I hope this info can help you. I know that some other languages like french uses that kind of simbols.


Rodrigo Guerrero
roys@sinbroncas.com
Back to top
Magnus Brading
Almighty Author



Group: Super Administrators
Posts: 2751
Joined: Aug. 2002
Posted: April 25 2003,12:23

Hmm, I just tried to auto rename a bunch of files whose tag fields (and hence, resulting filenames) contained letters just like that, and I had no problems? Could you please give an example of when this results in a problem? Thanks.

--------------
Software author and website owner
Back to top
Profile PM WEB 
Roy
Unregistered





Posted: April 27 2003,06:52

Ok try with this name...

This are in spanish, I have the problem when renaming the songs on UPERCASE :

Direct Rename files---> Case Fix and replace---> Full Uppercase

File name format setup---->Output

Expected file name format
<artist> - <title>.mp3

Output file name format
<artist> - <title>.mp3

alberto cortez - cuando un amigo se vá.mp3

when I run your program it returns this

ALBERTO CORTEZ - CUANDO UN AMIGO SE VÁ #2.mp3

Please let me know

Thank you

Rodrigo Guerrero
roys@sinbroncas.com
Back to top
Roy
Unregistered





Posted: April 27 2003,07:01

Before you answer the last post I want to tell you that your program is simply the best on this kind of job, therefore I want to talk about it in my pahe www.sinbroncas.com

This page is the only Mexican page that makes review of products. We have a parte that shows to our readers tome news and reviews of programs like yours.

I think this could help you to be known here in Mexico.

Thank you for your help.
Back to top
Magnus Brading
Almighty Author



Group: Super Administrators
Posts: 2751
Joined: Aug. 2002
Posted: April 27 2003,16:22

Thanks for the info, now I was able to reproduce it. It seems to be due to a bug in the uppercase/lowercase code, and it will only happen when you try to rename a file (containing this kind of characters) to the same name as it already has, but with only differences in letter cases. I will put it on the bug fix list.

And I'm glad you like the program, you are very welcome to write about it on your website, thanks.

Edited by Magnus Brading on April 27 2003,16:23

--------------
Software author and website owner
Back to top
Profile PM WEB 
9 replies since Mar. 08 2003,03:21 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]