Printable Version of Topic
-Brading Software Message Board +--Forum: Mp3/Tag Studio Support and Bug Reports +---Topic: How to sort out directories? started by Fredrik Lovik Posted by: Fredrik Lovik on Aug. 19 2002,13:50 Hi all! I've come to realize the fact, that there is nothing MP3/Tag-studio cannot do with MP3s... But, I would like to arrange my albums .. ![]() I have a directory filled with albums. They're all of different genres. Is it possible to move these albums into subdirectories? I'll try an example here... Album1's genre is "rock" Album2's genre is "dance" Album3's genre is "trance" Album4's genre is "dance" Album5's genre is "rock" I would like MP3/Tag studio to move those albums like this: Album1 and Album5 into a subdirectory called "rock" Album2 and Album4 into a subdirectory called "dance" Album3 into a subdirectory called "trance" Can this be done? ![]() Best regards, Fredrik Lovik Posted by: Magnus Brading on Aug. 19 2002,14:38 Of course it can. ![]() (as long as the album tag fields are set correctly anyway). Use the following (advanced mode) template in the auto rename tool: ---------------------CODE SAMPLE------------------- c:\temp<\><Genre><\><Album><\><OldFileName> ---------------------CODE SAMPLE------------------- That'll do it. All processed albums will be organized in your desired directory structure, under the c:\temp dir (which can of course be replaced by any other dir in the template). Posted by: Fredrik Lovik on Aug. 19 2002,15:51 Not exactly what I had in mind, but pretty close. ![]() I'd like MP3/Tagstudio to retain the directory names I already have.... Like... <OldDirectoryName> ;) Is this possible? Posted by: Magnus Brading on Aug. 19 2002,23:34 Darn you people, never satisfied are you? ![]() Ok, two ways: First method: Set the workingdir to the directory in which all album directories are located. Then create a list using the following template (using the "include subdirs" option): ---------------------CODE SAMPLE------------------- c:\\temp\\<Genre>\\<Filepath relative>; <Filepath absolute> ---------------------CODE SAMPLE------------------- Then go to the "Tag/rename from list" tool, and process this list in rename mode, with the following template: ---------------------CODE SAMPLE------------------- <New name AP>; <Old name AP> ---------------------CODE SAMPLE------------------- Done! Second method: Using as working dir any directory above the albums you want to process (not necessarily one level above, as in the first method), set the "Direct rename files" tool to the following templates (and activate the "include subdirs" option): Expected: ---------------------CODE SAMPLE------------------- <Custom1><\><Custom2>.mp3 ---------------------CODE SAMPLE------------------- Output: ---------------------CODE SAMPLE------------------- c:\temp<\>TheCurrentGenre<\><Custom1><\><Custom2>.mp3 ---------------------CODE SAMPLE------------------- Then do one sweep for each genre type you want to sort out, setting the filter to this genre type, and setting the string "TheCurrentGenre" in the template above to this genre name too. The first method has the advantage of only doing one sweep (in two tools) for processing all files, but it needs all the album directories to be located in a common parent directory to be able to process them in one sweep. The second method has the advantage of being able to process albums scattered in any kind of directory structure, but it does instead need one processing sweep for each genre type you want to sort out. Choose the one that fits you best. So, satisfied now? ![]() Posted by: Fredrik Lovik on Aug. 20 2002,08:26 Darnit Magnus! I was waiting for a "Sorry, no. It can't be done". But it would seem there are no such words coming from you. It never ceases to amaze me, the power MP3/tagstudio has...! ![]() As of yet, I am not satisfied.. I haven't tried it yet. ![]() I'll try it later, and I have no doubt that it'll work... Thank you, and thank you! ![]() Best regards, Fredrik Lovik Posted by: Fredrik Lovik on Aug. 20 2002,08:45 Impatient as I am.. I had to try right now. I'll be 10 minutes late for work.. but they can wait! ![]() Anyhow, I tried your first method, and it did exactly what I wanted...! Don't know what I'd do without your software. ![]() (and you telling us slow ones how to make it work) :P Posted by: Fredrik Lovik on Sep. 06 2002,23:03 Hi Magnus. I'm having some difficulties when using your above described method. If there are "invalid" characters in a filename, such as "/", mp3ts doesn't create a directory. For instance, if a file is named ac_dc_-_filename.mp3, and the tag says AC/DC - Filename, it won't be moved. I haven't tested this with other characters like ; or :, but I would guess the same behaviour remains. Also.... I know mp3ts deals with *MP3* files, but... some of the albums has cover-art included. (front/back cover), and ofcourse those aren't moved along with the mp3 files... Can mp3ts do more magic, or ...? ![]() Posted by: Magnus Brading on Sep. 07 2002,16:23 Ok, thanks for the report about the directory names, I will look into it. And about the stand-alone cover art files, I can't currently think of a way to make them move together with the files in the same directory, sorry. ![]() ![]() Posted by: Fredrik Lovik on Sep. 07 2002,20:38 No worries, Magnus! ![]() It doesn't take very long to move those files manually. You've written a perfect program for MP3 handling, not general file handling, so don't even think about it. Happy to help solving a bug, if it was a bug, that is. Keep up your great work! ![]() end |