Hi at all,
It's possible to play a sound with the onclick action without using the players but more as a GUI sound?
Also i was searching about how to create a custom Gui sound addon, there is someway a guide about it (file names, structure etc...)?
Thanks in advance
(2019-01-08, 10:12)Hitcher Wrote: [ -> ]https://github.com/xbmc/xbmc/tree/master...ounds.kodi
Thank You Hitcher to point me in the right direction!
Sorry for the question but there's actually a way to call a specific UI sound with an <onclick> event?
Let's say that i want to play the notify sound when i click a button instead of the normal click sound
Is it possible?
Only what's is shown in the sounds.xml.
xml:
<!-- This file contains the mapping of actions to sounds -->
<!-- The <actions> section contains global mapping -->
<!-- To map a action to a sound, add a block like this to <actions>: -->
<!-- <action> -->
<!-- <name>left</name> -->
<!-- <file>cursor.wav</file> -->
<!-- </action> -->
<!-- Where <name> specifies the action to map a sound to and <file> the wav -->
<!-- file to play when the action occurs. -->
<!-- Valid entries for <name> can be found at -->
<!-- http://manual.xboxmediacenter.de/wakka.p...gXML&v=6gu -->
<!-- Also window specific sound can be played -->
<!-- To map a sound to a window, add a block like this to <windows>: -->
<!-- <window> -->
<!-- <name>infodialog</name> -->
<!-- <activate>notify.wav</activate> -->
<!-- <deactivate>out.wav</deactivate> -->
<!-- </window> -->
<!-- Where <name> specifies the window to map a sound to -->
<!-- <activate> and <deactivate> are the events a sound can be mapped to -->
<!-- by setting the file to play. -->
<!-- Valid entries for <name> can be found at -->
<!-- http://manual.xboxmediacenter.de/wakka.p...ist&v=13k6 -->
<!-- Note: Only wav files are supported -->