Release AUTOMATIC (and/or manual) AUDIO SWITCHER for different Audio Output
#1
Hi,

i was looking for a solution to switch Audio Devices AUTOMATICALLY when i start playing Music and Videos.
Although it wasn't meant to be released for public - due to the fact that i am a python beginner - i decided to share my addon, because i read about requests for this kind of feature.

WHAT IS IT?

It's a Service Addon which can setup DIFFERENT Audio Devices, one for Videos and one for Music WITHIN XBMC/KODI without fiddling around with logfiles or python code. When you play a Video- or Audiofile, it will switch to the pre-defined Audio Output automatically.

HOW TO SETUP

1. Download and install the addon from here: [url=https://www.dropbox.com/s/v1gvutur8l5hvpo/script.audioswitch.0.2.3.zip?dl=0[/url]
2. Go to the Service Addon Settings and enable "Run Audio Device Setup".
3. Go to the XBMC/KODI Audio Output Settings and set your Audio Device for MUSIC / AUDIO
4. Play an Audiofile (the Addon will save the Device plus Passthrough and Channels)
5. Do the same Step 3 and 4 for VIDEOS
6. Configuration is now done! From now on the Audio Device will switch automatically when playing a Video or Audio File.
(7. If you want you can go to the Addon Settings and define the GUI Audio Device as well.)
(8. You now even can set different volume levels for each Audio Device)

MANUAL SWITCH:
Additionally you can bind a key to XBMC.RunScript(special://home/addons/script.audioswitch/manualswitch.py) to toggle the Audio Devices manually.
if you deactivate the Service Addon, you still can use the manual switch.

I've tested it on Windows and Openelec!
Feedback is appreciated. thanks!

Version 0.1.1
Initial Release

Version 0.1.2
Fixed Title for Devices in the Setting (was interchanged)
Minor Code changes
Added Setting to Swap Output Devices (using MUSIC Device for VIDEOS and vice versa)

Version 0.2.1
Fixed issue with Devices using S/PDIF
Added Volume Setting for each Audio Device

Version 0.2.2
Improved Volume Setting handling

Version 0.2.3
Added Localization (EN / GER / IT)
Reply


Messages In This Thread
AUTOMATIC (and/or manual) AUDIO SWITCHER for different Audio Output - by marv_el - 2014-08-11, 22:11
Logout Mark Read Team Forum Stats Members Help
AUTOMATIC (and/or manual) AUDIO SWITCHER for different Audio Output1