Printable Version of Topic

-Brading Software Message Board
+--Forum: Mp3/Tag Studio Support and Bug Reports
+---Topic: Tagging recursively started by Brad


Posted by: Brad on Oct. 25 2004,12:16

Hello,

 I have a macro that sets track numbers (according to the
instructions in another topic here). Now let's say I have
a directory named "MP3", and in it I have several subdirs
named "Album 1", "Album 2", "Album 3", etc. each of these
is a different album, obviously. I tried running this macro
on the "MP3" directory, hoping that all of the albums would
get retagged, but this did not work (absolutely nothing
happened). I then tried running this command

mp3tag_s.exe -ds "D:\Path to\MP3" -macro "Track numbers"

but that didn't do anything either. I have the "Include
subdirs" radiobox checked in the macro window of MP3TS.
So how can I run this macro on all of these dirs at once?

Thanks,
Brad
Posted by: Magnus Brading on Oct. 25 2004,14:07

If your macro is created with an older beta version of Mp3/Tag Studio 3.5, there might be information stored in the macro itself about the subdirectory processing, which will override your given settings.

To solve this, either create a new identical macro, or please open the old macro file in a text editor (e.g. Notepad) and remove any line in it that contains the word "IncludeSubdirs".

That should do it, but please report if there are any more problems, and I will look into it.
Posted by: Brad on Oct. 25 2004,14:18

The macro was created using the latest beta 8. Here is how
the mtm file looks:

--------------
MacroFileVersion=3506
[TagFromList]
Template=<TrackNr>
ListPath=D:\Program Files\MPTest\nums.txt
--------------

Thanks,
Brad
Posted by: Magnus Brading on Oct. 25 2004,15:58

And you have tested this macro on the same directory from inside Mp3/Tag Studio (i.e. by executing the macro from its button inside the program, while having selected this directory as the workiong directory), and then it works fine?
Posted by: Brad on Oct. 25 2004,16:05

When I ran it from within MP3TS the result was the same. Ie.
no result. There was only a message about there being more
items in list than files to process, but this is normal since the
list contains 99 lines, and the albums contain less files than
99.

Thanks again,
Brad
Posted by: Magnus Brading on Oct. 25 2004,17:19

What other messages are in the status window? I just tried this exact macro, and it worked perfectly for me?
Posted by: Brad on Oct. 26 2004,10:16

"Initializing progress meter metrics.
Sorting files in working directory (target files not specified in template)...
There were more entries in list than there were files to process. Aborting.
Macro execution process complete."

That's all. When I run the macro on a single directory with
MP3s it works fine, but when run on a directory with sub-
directories it just does nothing.


Thanks,
Brad
Posted by: Magnus Brading on Oct. 26 2004,12:07

Ok, now I see what you are trying to do, and what the problem is. If you look at the "Tag/rename from list" tool in the GUI, you will notice that it doesn't have any "Include subdirs" checkbox. This is because of the nature of tagging from lists, and that this is normally done based on target files in a list, irrespective of the directory structure in the current target dir (i.e. target files are normally specified directly in the list, and the list is not reset for every subdir you enter).

Hence, you cannot use this method for auto-tagging multiple directories and expect the list to be reset for every subdirectory. You will either have to specify the target files in the list, or execute the macro one time for each dir where the list should be reset.
Posted by: Brad on Oct. 26 2004,12:14

Ah, I see. Thank you for your help


Brad
Posted by: Brad on Oct. 27 2004,13:44

Sorry, I don't want to flog a dead horse, but I've been
trying to find other ways to mass fix track numbers using
the track numbers macro and I can't. Can you suggest
another way of doing this?


Thanks,
Brad
Posted by: Magnus Brading on Oct. 27 2004,18:02

The usual dilemma with mass fixing track numbers is that the files aren't in the correct order, and hence it cannot be automated in any case. You simply need to take it one folder at the time, order the files manually with the custom file selection box, and then execute the macro for each dir.

Exactly how were you planning to get around this dilemma if you were to mass-fix the track numbers of several directories at the same time?

What is the format of your filenames?
Posted by: Brad on Oct. 28 2004,08:25

I have the files in correct order already. Each of the albums
contains songs in their correct order and their format is


 01 - Title1.mp3
 02 - Title2.mp3

and so on. The format of the track numbers in the file name
is as I want it to be, but in the tags I want no leading zeros
and no slashes (ie. 1/12, 2/12, etc). Doing this album by album
would be a nightmare.


Brad
Posted by: Magnus Brading on Oct. 28 2004,12:17

Hehe, that's what I suspected, you don't need the list approach at all, that one is only needed when there is no track number info available in the filenames nor the tags.

In this case, simply use the auto tag tool with the following template (including subdirs):

<TrackNr> - <TRASH>.mp3

And to make sure you don't get any leading zeros, simply use the following option in the global settings (accessible from the file menu):

General tagging and renaming  --->  Zero-pad track numbers to length  ---->  Set it to 0

Execute, and bam, your entire mp3 collection will be fixed in seconds. :)
Posted by: Brad on Oct. 28 2004,15:48

Fantastic! Thanks!


Brad
end


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