Skip to content

("m_header" is null) Music not playing while in jukebox [1.21.10] #107

@ThatOneTomato

Description

@ThatOneTomato

If i try to play some certain music files (not all, but some)
It just doesn't play music. The log says:

[15:08:51 WARN]: Exception in thread "AudioPlayerThread" java.lang.RuntimeException: javax.sound.sampled.UnsupportedAudioFileException: not a MPEG stream:Cannot invoke "javazoom.jl.decoder.Header.version()" because "m_header" is null
[15:08:51 WARN]: at custom-discs-5.1.2.jar//me.Navoei.customdiscsplugin.PlayerManager.lambda$playAudio$3(PlayerManager.java:99)
[15:08:51 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[15:08:51 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[15:08:51 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
[15:08:51 WARN]: Caused by: javax.sound.sampled.UnsupportedAudioFileException: not a MPEG stream:Cannot invoke "javazoom.jl.decoder.Header.version()" because "m_header" is null
[15:08:51 WARN]: at custom-discs-5.1.2.jar//javazoom.spi.mpeg.sampled.file.MpegAudioFileReader.getAudioFileFormat(MpegAudioFileReader.java:449)
[15:08:51 WARN]: at custom-discs-5.1.2.jar//org.tritonus.share.sampled.file.TAudioFileReader.getAudioInputStream(TAudioFileReader.java:387)
[15:08:51 WARN]: at custom-discs-5.1.2.jar//org.tritonus.share.sampled.file.TAudioFileReader.getAudioInputStream(TAudioFileReader.java:329)
[15:08:51 WARN]: at custom-discs-5.1.2.jar//javazoom.spi.mpeg.sampled.file.MpegAudioFileReader.getAudioInputStream(MpegAudioFileReader.java:583)
[15:08:51 WARN]: at custom-discs-5.1.2.jar//javazoom.spi.mpeg.sampled.file.MpegAudioFileReader.getAudioInputStream(MpegAudioFileReader.java:493)
[15:08:51 WARN]: at custom-discs-5.1.2.jar//me.Navoei.customdiscsplugin.PlayerManager.getAudioInputStream(PlayerManager.java:339)
[15:08:51 WARN]: at custom-discs-5.1.2.jar//me.Navoei.customdiscsplugin.PlayerManager.lambda$playAudio$3(PlayerManager.java:96)
[15:08:51 WARN]: ... 3 more

Why is that so and why only some files? I don't know if the "mpeg" stream is a problem, i just downloaded those and uploaded them on filebin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions