Jaudiotagger change tags only after reboot device

Issue #248 invalid
Former user created an issue

I have this code:

 File mp3 = new File(song.getPath());
 AudioFile f = AudioFileIO.read(mp3);
 Tag tag = f.getTag();
 tag.setField(FieldKey.TITLE,songTitle.getText().toString());
 tag.setField(FieldKey.ALBUM,albumTitle.getText().toString());
 tag.setField(FieldKey.ARTIST,artistTitle.getText().toString());
 AudioFileIO.write(f);

Changes will take effect only after restart device. Do you have any idea how to fix it?

Comments (2)

  1. Log in to comment