Sounds.xml

From Official Kodi Wiki
Revision as of 22:50, 25 November 2014 by Ronie (talk | contribs)
Jump to navigation Jump to search

This skin file contains the mapping of actions to sounds

The <actions> section contains global mapping

To map an 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://kodi.wiki/index.php?title=Action_IDs

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://kodi.wiki/index.php?title=Window_IDs

Note: Custom skin files may be used, use windows id in this case

Note: Only wav files are supported.