Help - Search - Members - Calendar
Full Version: Automatic folder name rename
Hydrogenaudio Forums > Hydrogenaudio Forum > General Audio
Prayan
Hi folks,

I have about 1400 folders containing whole CDs, 80% as wavpack, 10% as flac and 10% as mp3 files.

Under the artist's folder, I have several folder names for each album:


For example:

Neil Young
1969 - Everybody Knows This is Nowhere
1972 - Harvest


I'd like to find a way to automatic complete the folder name with the kind of audio it contains.

So, it would be this way:

Neil Young
1969 - Everybody Knows This is Nowhere [wavpack]
1972 - Harvest [mp3 320kbps]

Is there a program out there which could do the job?

Thanks a lot,

Prayan




SamHain86
You could use FooBar2000 to do this. Using a rename script like:
CODE
\%album artist%\[%date% - ]%album% '['$ifequal($stricmp(%codec%,WavPack),WavPack,%codec% %bitrate%kbps)']'\%filename%

That way it just moves the files around and leaves the actual filename untouched.

EDIT: I would not recommend using bitrate in the name of the folder unless you are certain all the bitrates of the files of an album are identical (e.g. they are CBR MP3s, if one song in the album has a different bitrate then it will go to a different folder). I suggest just use the codec, or use the codec profile. Use something like this:
CODE
\%album artist%\[%date% - ]%album% '['%codec%[ %codec_profile%]']'\%filename%
and that removes the need of an if statement.
Prayan
Thank you.

I downloaded and installed Foobar2000, but I don't know how I can run/enter the script.

SamHain86
In FB2K
  1. Right click on the selected files you want to rename
  2. File Operations > Move, Rename, or Copy Files
  3. Click Edit, then add New
  4. call it whatever you want and drop that script in
An additional tip: you must select the base directory for the naming process, and do try to specify it in the main script.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.