TaylorSMarks / playsound

Pure Python, cross platform, single function module with no dependencies for playing sounds.
Other
504 stars 118 forks source link

change the computer and give me a error #137

Open isdito opened 1 year ago

isdito commented 1 year ago

hello,

The same code in one computer works and in another no

Traceback (most recent call last):
  File "C:\Users\Israel\Desktop\Aplicacion-360\interface-360.py", line 514, in _ejecutar_gopro
    descargar_video(self,globales.archivo_inicial,globales.duracion)
  File "C:\Users\Israel\Desktop\Aplicacion-360\interface-360.py", line 649, in descargar_video
    playsound(os.getcwd()+"\cuenta-atras.wav")
  File "C:\Python310\lib\site-packages\playsound.py", line 37, in _playsoundWin
    winCommand('play', alias, 'from 0 to', durationInMS)
  File "C:\Python310\lib\site-packages\playsound.py", line 22, in winCommand
    command = ' '.join(command).encode()
TypeError: sequence item 3: expected str instance, bytes found