AudioPlayer

AudioPlayer

157k Downloads

Audio files dissapear after applying on item on Aternos servers

iCatSG opened this issue · 14 comments

commented

Bug description

When using it in an Aternos server, if you upload the mp3 or wav file directly to the audplayer_uploads folder (or use Filebin to upload it to a website so then gets downloaded onto the same folder) and then set it on any item, the file gets deleted or dissapears and only the ones that you try to apply to an item (so if you upload 10 mp3 files and only apply 1 o them, only that file that you apply gets deleted or dissapears from the foler and the rest of them stay).

I've tried the mod with the same version and same sound files on my private server and it works fine. When looking into my private server files folder, inside audio_player_data, the files are still there, just renamed to an specific ID.

I've also contacted the support team at Aternos and they told me that their servers don't have any mechanic to delete files so it should be a problem with the mod.

Minecraft version

1.21

Simple Voice Chat version

1.21.1 2.5.23

Mod version

1.21.1 1.11.0

Mod loader and version

Fabric Loader 0.16.5

Steps to reproduce

  1. Drag and drop the audio files onto the audioplayer_uploads folder in the Aternos website file manager.
  2. While holding a disc type the command /audioplayer serverfile "audiofilename.mp3" .
  3. Select in chat "Put on music disc" (while still holding the music disc).
  4. Put the disc inside a jukebox.

Expected behavior

No sound comes out of the jukebox even after triple checking sound options in the Minecraft Launcher and game.

Log files

https://gist.github.com/iCatSG/08e1e14ea5a6c090f83f16ec8c05bf75

Screenshots

No response

commented

This is completely intended. Once the file is processed it gets deleted from the folder.

commented
commented

this happens for every method of uploading a file?

commented
commented

are there any files in the audio_player_data in your world directory?

commented
commented
commented

You are confusing the two different folders. audioplayer_uploads is for you to insert files. the will get deleted and put into the system. audio_player_data is the folder you SHOULD NOT TOUCH this is where the files are stored with its assigned IDs

commented
commented

Can you test the voice chat connection for your player on the server?

commented
commented

You need to get the voice chat working before using audioplayer.

https://modrepo.de/minecraft/voicechat/wiki/server_setup

commented
commented