Hello all.
That's my first post here, gimme welcome
I want to perform a bulk task operation to help me set genres automatically.
I have a directory, where I keep my mp3, with almost 1 thousand albums. These folders are referred to band name [country] symbol #genre. Like those below:
Black Sabbath [UK] #Doom, Heavy Metal
Cactus [USA] #Psychedelic Rock
Steppenwolf [USA] #Classic Rock, Psychedelic
Thin Lizzy [Ire] #Classic Rock, Hard Rock
Got it, right?
Inside these folders, I got album folders with the following names (not that important):
inside "Black Sabbath [UK] #Doom, Heavy Metal", we got for example:
Black Sabbath [1970] » Black Sabbath
Black Sabbath [1970] » Paranoid
Black Sabbath [1971] » Master of Reality
Black Sabbath [1972] » Black Sabbath Vol. 4
Black Sabbath [1973] » Sabbath Bloody Sabbath
And inside those folders, I have common mp3 files (and an occasional front.jpg along)
Ok, Here's the deal:
I have developed an AutoIT script to do the following:
- Get folder name inside MUSIC directory (almost 1 thousand folders) using the function "filefindfirstfile".
- Get the name of the Band folder, like "Black Sabbath [UK]
#Doom, Heavy Metal" and set the value to a variable called "$albumFolder"
- Get the Genre tag string (after the "#") from the variable "$albumFolder" and set it to a variable to be called "$genreSet", via "stringsplit" function.
Now its when it gets tricky:
-
Send some sort of command or parameter to mp3tag to set the tag "genre" of all the music files inside every folder below "$albumFolder" to "$genreSet".
-
Then, proceed to the next folder reading, using "FileFindNextFile" funcion.
I just don't know how to perform the 4th step yet.
First of course, I need to find a way to do that from a command line (cmd) parameter or something like that. Example:
C:\Program Files\Mp3tag> Mp3tag.exe folder="D:\Music\Black Sabbath [UK] #Doom, Heavy Metal" genre="Doom, Heavy Metal"
Is there a way to do that with Mp3Tag?
if not:
Is there a way to that with a powershell parameter kit or something?
Thanks in advance!