2014-07-17, 08:34
Audio Profiles
Easy switch between different audio settings.
Save audio settings to profiles and easy switch between them using keymap or pop-up menu:
RunScript(script.audio.profiles,0) - one keymap to toggle switch between two profiles.
RunScript(script.audio.profiles,x) - where x is number of profile
Download:
Download from KODI official repository or my repository:
Regss Repository
Short Instruction:
1. Configure Add-on to set names for profiles.
2. To save current audio settings to profile run Add-on from programs section.
You can help translate: https://www.transifex.com/movielib/audio...languages/
Configuration Instruction:
Step 1
Go to Programs -> Audio profile -> not run it but choose from context menu -> Configure Add-on
Enable two profiles and add it names that you want
Step 2
Go to System -> Audio settings
Set settings for first profile for example TV by the analog output 2.0
Go to Programs -> Audio profile -> run it
Save settings as first profile
Step 3
Repeat Step 2 and set settings for digital like SPDIF or HDMI and save as second profile
Step 4
Now. You can switch between profiles using key map. I suggest to test it on keyboard keymap.
Edit or create file keyboard.xml in userdata/keymaps/ and past this code:
Example 1 - keymap for each profile:
Code:
<keymap>
<global>
<keyboard>
<t>RunScript(script.audio.profiles,1)</t>
<a>RunScript(script.audio.profiles,2)</a>
</keyboard>
</global>
</keymap>
Example 2 - keymap for toggle between profiles:
Code:
<keymap>
<global>
<keyboard>
<t>RunScript(script.audio.profiles,0)</t>
</keyboard>
</global>
</keymap>
Example 3 - button in player OSD
Kodi 16 Confluence:
Kodi 17 Estuary:
Instruction - post #3
Example 4 - Window Popup when start playing
In addon settings enable option "Show audio stream select menu on start playing" This will show popup to choose audio profile every time when you start play.
Example 5 - Automatic switch for different content
In Addon settings go to category "Automatic switch" then select for which types of content which profile will be automatically switched on.
CHANGELOG