• Anonymous
  • Login
  • Register
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 Owners

Defect has been fixed.




Documents
In this field you can enter the actual request.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.

Please note that the first time you use the new UI your description is converted from rich text to MIME. You might want to copy and paste the raw plain text from the old UI in the new UI so that you don't loose information.
In this field owners can describe what they have done or want to do.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.

Please note that the first time you use the new UI your description is converted from rich text to MIME. You might want to copy and paste the raw plain text from the old UI in the new UI so that you don't loose information.