I have a script, that when running it in vsc, plays sounds in mp3 with the library playsound, but when passing it to exe with autopytoexe, I added the foldier with all the music to the exe, but the music for some reason doesn't sound.
What occurs is, that when it reaches the part to play a sound, the ui, stops.
How could I fix this?
import playsound
from playsound import playsound
perlita= random.random()
print(perlita)
if perlita >= 0.1000:
NOMBRE_ARCHIVO = "sonidosos/1 day time frame.mp3"
playsound(NOMBRE_ARCHIVO)
else:
pass