M
MikeY
I am having trouble with and looking for the proper syntax for accessing and
renaming MP3 files properties.
Example I can access the "Name" property of the file and I can rename the
file name to a new name (and do this in mass quantity at once). What I want
to accomplish is to gain access and rename the extended properties such as
"Artist", "Title", "Album Title", "Comments", etc. A sample of my code is as
follows.
if(txtBoxNameConversion.Text != "")
{
foreach(string myItem in CLBoxGroupFileConversion.CheckedItems)
{
string myItems2 = txtBoxNameConversion.Text + "-" + myItem;
//Over-write old file with new file name
File.Move(Path.Combine(currentFolderPath, myItem),
Path.Combine(currentFolderPath, myItem2));
}
}
Any and all suggestions are appreciated. Thank you all in advance.
MikeY
renaming MP3 files properties.
Example I can access the "Name" property of the file and I can rename the
file name to a new name (and do this in mass quantity at once). What I want
to accomplish is to gain access and rename the extended properties such as
"Artist", "Title", "Album Title", "Comments", etc. A sample of my code is as
follows.
if(txtBoxNameConversion.Text != "")
{
foreach(string myItem in CLBoxGroupFileConversion.CheckedItems)
{
string myItems2 = txtBoxNameConversion.Text + "-" + myItem;
//Over-write old file with new file name
File.Move(Path.Combine(currentFolderPath, myItem),
Path.Combine(currentFolderPath, myItem2));
}
}
Any and all suggestions are appreciated. Thank you all in advance.
MikeY