Notes Music Station - Feature Request: Agents only update the first file
Hi Phillip,
You have built excellent application which I will start use as soon as possible. I was looking for something like this for ages, and I was almost building my own. Although there is a little bug on the agents (change_...) The line which read the file should be inside of the loop, so it will allow us to change multiple files at one shot. Right now it updating only the first one.
ID3v1Tag id;
Document doc = dc.getFirstDocument();
//File f = new File(doc.getItemValueString("FilePath")); //<< line not necessary
while(doc != null){
File f = new File(doc.getItemValueString("FilePath")); //<< This line should be here
id = new ID3v1Tag(f);
id.copyArtistFromEnvironment(session);
doc.replaceItemValue("Artist", session.getEnvironmentString("Artist"));
doc.save(true, false);
Thanks a lot again
Taken Actions by OwnersDefect has been fixed.
Documents