Describe the bug
Dec 11 16:24:15 raspberrypi python[2336]: 2023-12-11 16:24:15,454 - INFO - terrariumArea - Toggle the player for area Audio named Day period day to state on.
Dec 11 16:24:15 raspberrypi python[2336]: Exception in thread Thread-20:
Dec 11 16:24:15 raspberrypi python[2336]: Traceback (most recent call last):
Dec 11 16:24:15 raspberrypi python[2336]: File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
Dec 11 16:24:15 raspberrypi python[2336]: self.run()
Dec 11 16:24:15 raspberrypi python[2336]: File "/usr/lib/python3.9/threading.py", line 892, in run
Dec 11 16:24:15 raspberrypi python[2336]: self._target(*self._args, **self._kwargs)
Dec 11 16:24:15 raspberrypi python[2336]: File "/home/aaron/TerrariumPI/terrariumAudio.py", line 80, in run
Dec 11 16:24:15 raspberrypi python[2336]: self.volume(playlist.get("volume", 80))
Dec 11 16:24:15 raspberrypi python[2336]: File "/home/aaron/TerrariumPI/terrariumAudio.py", line 131, in volume
Dec 11 16:24:15 raspberrypi python[2336]: terrariumAudio.volume(int(self.hw), int(value))
Dec 11 16:24:15 raspberrypi python[2336]: File "/home/aaron/TerrariumPI/terrariumAudio.py", line 54, in volume
Dec 11 16:24:15 raspberrypi python[2336]: mixer.setvolume(int(value), alsaaudio.MIXER_CHANNEL_ALL)
Dec 11 16:24:15 raspberrypi python[2336]: alsaaudio.ALSAAudioError: Volume out of range
Setup:
Describe the bug Dec 11 16:24:15 raspberrypi python[2336]: 2023-12-11 16:24:15,454 - INFO - terrariumArea - Toggle the player for area Audio named Day period day to state on. Dec 11 16:24:15 raspberrypi python[2336]: Exception in thread Thread-20: Dec 11 16:24:15 raspberrypi python[2336]: Traceback (most recent call last): Dec 11 16:24:15 raspberrypi python[2336]: File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner Dec 11 16:24:15 raspberrypi python[2336]: self.run() Dec 11 16:24:15 raspberrypi python[2336]: File "/usr/lib/python3.9/threading.py", line 892, in run Dec 11 16:24:15 raspberrypi python[2336]: self._target(*self._args, **self._kwargs) Dec 11 16:24:15 raspberrypi python[2336]: File "/home/aaron/TerrariumPI/terrariumAudio.py", line 80, in run Dec 11 16:24:15 raspberrypi python[2336]: self.volume(playlist.get("volume", 80)) Dec 11 16:24:15 raspberrypi python[2336]: File "/home/aaron/TerrariumPI/terrariumAudio.py", line 131, in volume Dec 11 16:24:15 raspberrypi python[2336]: terrariumAudio.volume(int(self.hw), int(value)) Dec 11 16:24:15 raspberrypi python[2336]: File "/home/aaron/TerrariumPI/terrariumAudio.py", line 54, in volume Dec 11 16:24:15 raspberrypi python[2336]: mixer.setvolume(int(value), alsaaudio.MIXER_CHANNEL_ALL) Dec 11 16:24:15 raspberrypi python[2336]: alsaaudio.ALSAAudioError: Volume out of range