henkelmax / audio-player

Put your own audio files on music discs!
54 stars 17 forks source link

No sound when playing. #30

Closed Yamadaisme closed 1 year ago

Yamadaisme commented 1 year ago

Bug description A clear and concise description of what the bug is.

Steps to reproduce the issue

  1. Using filebin to upload the music
  2. Download the music in the game
  3. Add the music to the music disc item
  4. No sound of music when playing on the jukebox

Expected behavior It should play the sound

Log files Please provide log files of the game session in which the problem occurred. Don't paste the complete logs into the issue. You can use https://gist.github.com/.

Versions

Other mods I'm playing on the Better MC fabric modpack: https://www.curseforge.com/minecraft/modpacks/better-mc-fabric

Screenshots (Optional) Screenshots of the issue.

henkelmax commented 1 year ago

Please provide logs and a recording of this happening in game.

Valdblade commented 1 year ago

I have the same issue as of first installation https://pastebin.com/KfQiF5W5 this is the only wrror the console shows

Valdblade commented 1 year ago

https://drive.google.com/file/d/1VgnSaAikrcONkWJqnBp49tC8-dxXA6MJ/edit the recording happening in game. I have also tried via the serverfile file feature without any work @henkelmax

henkelmax commented 1 year ago

I have the same issue as of first installation https://pastebin.com/KfQiF5W5 this is the only wrror the console shows

This is not relevant. I need the full logs

https://drive.google.com/file/d/1VgnSaAikrcONkWJqnBp49tC8-dxXA6MJ/edit the recording happening in game. I have also tried via the serverfile file feature without any work @henkelmax

Can you send me the audio file you uploaded?

Valdblade commented 1 year ago

https://pastebin.com/YCQ4zgxx full logs

https://www.dropbox.com/s/omuzjhfr5ix97z1/bassglide.mp3?dl=0 audio file used

henkelmax commented 1 year ago

https://pastebin.com/YCQ4zgxx full logs

https://www.dropbox.com/s/omuzjhfr5ix97z1/bassglide.mp3?dl=0 audio file used

There is no player joining the game in your logs

Please try if it works when you convert your file to .wav

Valdblade commented 1 year ago

Trying it

Valdblade commented 1 year ago

ok wav works. Also smth else i noticed, if you play an mp3 file it crashes the plugin and the wav files wont work after that. Which will make you restart the server thus re-enabling the plugin and making wav work

henkelmax commented 1 year ago

Try putting your .mp3 file in an audio tool like Audacity and export it as .mp3 again. Sometimes audio files are in a broken format.

Valdblade commented 1 year ago

ok one sec

Valdblade commented 1 year ago

ok now it worked. That was weird

henkelmax commented 1 year ago

Yes, this happens when you have a mp3 file that is not supported by the mp3 decoder of the voice chat mod.

Valdblade commented 1 year ago

makes sense. Thank you for the help