Processing command: play music
Playing music...
Exception in thread Thread-1 (start):
Traceback (most recent call last):
File "C:\Program Files\Python312\Lib\threading.py", line 1073, in _bootstrap_inner
self.run()
File "C:\Program Files\Python312\Lib\threading.py", line 1010, in run
self._target(*self._args, **self._kwargs)
File "f:\ai-assistant\pico-files\main.py", line 75, in start
self.on_keyword_detected()
File "f:\ai-assistant\pico-files\main.py", line 86, in on_keyword_detected
self.process_command(command)
File "f:\ai-assistant\pico-files\main.py", line 112, in process_command
self.music_player.play_music_thread()
File "f:\ai-assistant\pico-files\libs\music.py", line 47, in play_music_thread
self.thread.start()
File "C:\Program Files\Python312\Lib\threading.py", line 992, in start
_start_new_thread(self._bootstrap, ())
RuntimeError: can't create new thread at interpreter shutdown```
**CODE** - https://pastebin.com/jazBBTHB
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.