2020-03-13, 17:48
Hello,
I try to use "playSFX" to play a soundfile. But no matter what I do, it doesn't work
Here is the Code:
The wave-file is an place:
There is no error when executing the addon- But also no sound ;(
Whats wrong?
I try to use "playSFX" to play a soundfile. But no matter what I do, it doesn't work
Here is the Code:
python:
import xbmcgui
import xbmc
xbmc.playSFX('special://home/addons/script.hello.world/resources/wavs/set_ok.wav',True)
xbmc.playSFX('special://xbmc/addons/script.hello.world/resources/wavs/set_ok.wav',True)
xbmc.playSFX('/home/pi/.kodi/addons/script.hello.world/resources/wavs/set_ok.wav',True)
xbmcgui.Dialog().notification("Check", "Done", xbmcgui.NOTIFICATION_INFO, 2000)
The wave-file is an place:
There is no error when executing the addon- But also no sound ;(
Whats wrong?