playSFX I can't get it to work from the shell - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116) +--- Thread: playSFX I can't get it to work from the shell (/showthread.php?tid=163798) |
playSFX I can't get it to work from the shell - smartfön - 2013-05-01 Hi folks, maybe someone can help, I tried the playSFX() command from the shell in so many variations, but there is never any sound playing. Maybe it's a syntax problem? Code: xbmc-send -a "playSFX(/storage/.xbmc/sounds/slip.wav)" I also tried the .wav files from the skins, so the problem cannot be with the files. things like Code: xbmc-send --a "PlayMedia(/storage/music/playlists/radio.pls)" Any help would be very much appreciated! System: XBMC 12.1 (Openelec 3.0.1) RE: playSFX I can't get it to work from the shell - artrafael - 2013-05-01 Welcome to the XBMC forums. Examine your debug log (wiki) after running this to see why it failed. RE: playSFX I can't get it to work from the shell - smartfön - 2013-05-01 Here the lines from the log: Quote:20:45:42 T:3016907264 ERROR: Keymapping error: no such action 'playsfx(/storage/.xbmc/sounds/slip.wav)' defined The second (ending in screenshot.wav) I tried to trigger with xbmc-send --action="playSFX(/storage/.xbmc/sounds/screenshot.wav). Seems like the same error... Do I need to call playSFX from a python script? RE: playSFX I can't get it to work from the shell - ruuk - 2014-03-09 (2013-05-01, 20:52)smartfön Wrote: Here the lines from the log: playSFX is part of the python xbmc module. I believe it will only work from python. |