Tom4nt / Mega-Soundboard

Play and manage sounds with keybinds.
MIT License
12 stars 1 forks source link

TypeError: Failed to set the 'volume' property #23

Closed mrskizzex closed 3 years ago

mrskizzex commented 3 years ago

Describe the bug Error when trying to play sound

To Reproduce Try to play sound

Expected behavior Sound plays

Screenshots image

Environment (please complete the following information):

Tom4nt commented 3 years ago

Thank you for reporting the issue. Can you please provide more information by answering the following questions?

I'm asking these questions because I can't reproduce the issue just by trying to play the sound.

mrskizzex commented 3 years ago

* Does this happen on all sounds or just that one? All sounds, EXP Soundboard plays them fine.

* Have you changed the volume on the slider. If so, was it changed when adding the sound or by editing (after adding). It happens when adding new sound and not touching any sliders and also after touching all sliders and putting them to different values.

* Is it fixed if you restart the app? Nope.

I wanted to add that I first downloaded SourceForge version 0.2.1 and the sounds were being played when using it, but on another restart it prompted an update and stopped working. I tried reinstalling it but it didn't clear the settings. Could you tell me where they are saved so I can try clearing them first?

Tom4nt commented 3 years ago

It's weird that changing slider values does not fix the problem.

The file that stores volumes is located in the default %appdata% folder. Then MegaSoundboard/Soundboards.json. It contains readable json of all soundboards and sounds. Can you check if the property volume of each sound has a value between 0 and 100?

Thanks

mrskizzex commented 3 years ago

Deleting the settings folder (both of them MegaSoundboard and mega-soundboard) fixed the issue i was having. Probably updating from 0.2.1 breaks something.

To answer your question I did check that every slider was between 0 and 100. There was only one sound when i was testing after i removed them all manually.