henkelmax / audio-player

Put your own audio files on music discs!
58 stars 21 forks source link

Feature: multiple sounds on one item (randomized playback) #90

Closed mjwells2002 closed 1 month ago

mjwells2002 commented 1 month ago

feature works as is, draft created for discussion of user experince of implementation

currently /audioplayer apply works as is normally, but if the item has randomized sound enabled it adds the sound instead

randomised sound has to be enabled for an item with /audioplayer set_random after the first sound has been added

name and id subcommands have been updated to report all sounds on an item with random sound, and clear clears it aswell

mjwells2002 commented 1 month ago

made suggested changes, and tested, all seems to be working fine

mjwells2002 commented 1 month ago

ive updated the volume command to adjust all sounds on a item if it has multiple as otherwise this command would have randomly updated a single sound from the item, it may be desired to just remove the ability for randomized items, and have the user use the uuid command variant instead