Exception when playing mp3 with large cover/artwork
I'm getting an exception when I try to play a MP3 file with a cover/artwork-image size greater than 1650x1650 pixels. It is not about how many covers are included in the MP3 file, but the size of them.
java.io.IOException: Resetting to invalid mark at java.base/java.io.BufferedInputStream.reset(BufferedInputStream.java:454) at org.tritonus.share.sampled.file.TAudioFileReader.getAudioInputStream(TAudioFileReader.java:330) at javazoom.spi.mpeg.sampled.file.MpegAudioFileReader.getAudioInputStream(Unknown Source) at javazoom.spi.mpeg.sampled.file.MpegAudioFileReader.getAudioInputStream(Unknown Source) at java.desktop/javax.sound.sampled.AudioSystem.getAudioInputStream(AudioSystem.java:1062) at audio.player.TestPlayMp3.testPlay(TestPlayMp3.java:21) at audio.player.TestPlayMp3.main(TestPlayMp3.java:16)