[Tag Editor] Changed JAudioTagger to https://github.com/Kaned1as/jaudiotagger

- We should be able to read and write to opus files
- We should be able to set artwork to Flac and other files
This commit is contained in:
Prathamesh More 2021-12-13 15:01:44 +05:30
parent aaabd8a20a
commit 305b075365
3 changed files with 10 additions and 9 deletions

View file

@ -14,6 +14,7 @@
package code.name.monkey.retromusic.glide.audiocover;
import org.jaudiotagger.audio.exceptions.CannotReadException;
import org.jaudiotagger.audio.exceptions.InvalidAudioFrameException;
import org.jaudiotagger.audio.exceptions.ReadOnlyFileException;
import org.jaudiotagger.audio.mp3.MP3File;
@ -45,7 +46,7 @@ public class AudioFileCoverUtils {
}
}
// If there are any exceptions, we ignore them and continue to the other fallback method
} catch (ReadOnlyFileException | InvalidAudioFrameException | TagException | IOException ignored) {
} catch (ReadOnlyFileException | InvalidAudioFrameException | TagException | IOException | CannotReadException ignored) {
}
// Method 2: look for album art in external files