Release Audio Profiles - Easy switch between different audio settings - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151) +---- Thread: Release Audio Profiles - Easy switch between different audio settings (/showthread.php?tid=200081) |
RE: Audio Profiles switcher - fretzke - 2016-10-10 Has anyone already tried if this addon works in Kodi v17? The original post states it is only compatible up to Isengard, that would be two versions behind already. RE: Audio Profiles switcher - Gade - 2016-10-10 I use it without any issues in Kodi 17. RE: Audio Profiles switcher - acegolfer - 2016-10-28 The profile switcher button during playback doesn't appear in Kodi - Estuary. FYI, I'm toggling between HDMI and Pulse (for bluetooth) in Libreelec. RE: Audio Profiles switcher - trogggy - 2016-10-28 (2016-10-28, 15:53)acegolfer Wrote: The profile switcher button during playback doesn't appear in Kodi - Estuary.I might be way out of date here - it's a while since I've looked at the thread 'cos audio profiles switcher just works so damn well! But AFAIK there isn't a 'profile switcher button' in the osd. There are some instructions for adding it to confluence by editing an .xml file - which I guess would at least give you a hint for what to do in estuary. Otherwise you can access audio profiles by mapping one or more custom remote buttons to toggle through them, adding to favourites or running the addon directly. RE: Audio Profiles switcher - jubilex - 2016-11-04 This worked fine for me in Jarvis but now that I'm using Krypton b5, the autoexec.py line:[/php] Code: xbmc.executebuiltin('XBMC.RunScript(script.audio.profiles,1)') doesn't seem to work anymore -- it's not switching to my chosen profile on startup. edit: Whoops yes it does, I had something configured wrong on my end. RE: Audio Profiles switcher - Roby77 - 2016-11-04 No problem for me on libreelec beta 6 RE: Audio Profiles switcher - nojoe - 2016-11-16 Hi, nice addon! Works without problems here on RPi3 + LibreElec 7.0.2 + Kodi 16.1! One Question: Is it possible to automatically switch between two profiles when connecting/disconnection a Bluetooth Headset? Thats would be awesome! EDIT: Ok, found something > https://forum.libreelec.tv/thread-1867-post-19906.html#pid19906 RE: Audio Profiles switcher - epicfail - 2016-11-29 Hi! I get the following error in latest windows krypton nightly Code: 09:32:06.873 T:6256 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- I mean, the addon works....the audio profiles get switched but i get an error message....to turn off the notifications in the addon is an option....but the error is still there RE: Audio Profiles switcher - nojoe - 2016-11-29 Try to change your Profil names to a english name! ..no ä ö ü ß , etc! There is something wrong with special letters. RE: Audio Profiles switcher - epicfail - 2016-11-29 (2016-11-29, 12:42)nojoe Wrote: Try to change your Profil names to a english name! ..no ä ö ü ß , etc! Thank you....that was the problem. RE: Audio Profiles switcher - Mastakilla - 2017-01-11 Hi. Thanks for this very nice addon. For some reason it is not storing the audio profile correctly on my Kodi 16.1 on Windows10 though. It says it has saved it, but when I switch profiles, the audio does not change, although it says it successfully switched to the other profile Also in the Kodi log I see (in debug mode) that it loads the same device id twice: 00:24:09 T:7216 NOTICE: ..::Audio Profiles::.. [SYS.ARGV]: ['default.py', 'service'] 00:24:09 T:7216 NOTICE: ..::Audio Profiles::.. [MODE]: service 00:24:12 T:7216 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: locale.audiolanguage: original 00:24:12 T:7216 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.ac3transcode: false 00:24:12 T:7216 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.supportdtshdcpudecoding: false 00:24:12 T:7216 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.stereoupmix: false 00:24:12 T:7216 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.processquality: 30 00:24:12 T:7216 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.config: 2 00:24:12 T:7216 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.ac3passthrough: true 00:24:12 T:7216 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.guisoundmode: 1 00:24:12 T:7216 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.channels: 1 00:24:12 T:7216 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.audiodevice: DIRECTSOUND:default 00:24:12 T:7216 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.maintainoriginalvolume: true 00:24:12 T:7216 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: volume: 97 00:24:12 T:7216 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.streamsilence: 1 00:24:12 T:7216 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.passthroughdevice: DIRECTSOUND:{78021DCA-2E99-4879-A650-3295BA1F6C7A} 00:24:12 T:7216 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.dtspassthrough: false 00:24:12 T:7216 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.passthrough: false 00:24:12 T:7216 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.dspaddonsenabled: false 00:24:21 T:4964 NOTICE: ..::Audio Profiles::.. [SYS.ARGV]: ['default.py', 'service'] 00:24:21 T:4964 NOTICE: ..::Audio Profiles::.. [MODE]: service 00:24:23 T:4964 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: locale.audiolanguage: original 00:24:23 T:4964 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.ac3transcode: false 00:24:23 T:4964 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.supportdtshdcpudecoding: false 00:24:23 T:4964 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.stereoupmix: false 00:24:23 T:4964 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.processquality: 30 00:24:23 T:4964 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.config: 2 00:24:23 T:4964 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.ac3passthrough: true 00:24:23 T:4964 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.guisoundmode: 1 00:24:23 T:4964 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.channels: 1 00:24:23 T:4964 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.audiodevice: DIRECTSOUND:default 00:24:23 T:4964 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.maintainoriginalvolume: true 00:24:23 T:4964 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: volume: 97 00:24:23 T:4964 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.streamsilence: 1 00:24:23 T:4964 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.passthroughdevice: DIRECTSOUND:{78021DCA-2E99-4879-A650-3295BA1F6C7A} 00:24:23 T:4964 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.dtspassthrough: false 00:24:23 T:4964 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.passthrough: false 00:24:23 T:4964 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.dspaddonsenabled: false I'd like to switch between these 2: 00:22:17 T:2320 NOTICE: Device 1 00:22:17 T:2320 NOTICE: m_deviceName : {56EA64DF-DDEA-4F98-91B8-213FDE86DA70} 00:22:17 T:2320 NOTICE: m_displayName : Speakers - Speakers (JBL Charge 2+ Stereo) 00:22:17 T:2320 NOTICE: m_displayNameExtra: DIRECTSOUND: Speakers (JBL Charge 2+ Stereo) 00:22:17 T:2320 NOTICE: m_deviceType : AE_DEVTYPE_PCM 00:22:17 T:2320 NOTICE: m_channels : FL,FR 00:22:17 T:2320 NOTICE: m_sampleRates : 44100 00:22:17 T:2320 NOTICE: m_dataFormats : AE_FMT_FLOAT 00:22:17 T:2320 NOTICE: Device 3 00:22:17 T:2320 NOTICE: m_deviceName : {78021DCA-2E99-4879-A650-3295BA1F6C7A} 00:22:17 T:2320 NOTICE: m_displayName : HDMI - Panasonic-TV (Intel® Display Audio) 00:22:17 T:2320 NOTICE: m_displayNameExtra: DIRECTSOUND: Panasonic-TV (Intel® Display Audio) 00:22:17 T:2320 NOTICE: m_deviceType : AE_DEVTYPE_HDMI 00:22:17 T:2320 NOTICE: m_channels : FL,FR 00:22:17 T:2320 NOTICE: m_sampleRates : 48000 00:22:17 T:2320 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_AC3,AE_FMT_DTS Thanks! RE: Audio Profiles switcher - Mastakilla - 2017-01-11 Ok, I just found userdate\addon_data that contains my profile. As I suspected, both profiles contain the same Device ID, so I manually updated one of the profiles with the other Device ID. Although I now see it switching Device ID in kodi.log, it still doesn't change the audio to the different speaker... Is there more that I need to change manually perhaps? kodi.log 01:04:41 T:4516 NOTICE: ..::Audio Profiles::.. [SYS.ARGV]: ['default.py', 'service'] 01:04:41 T:4516 NOTICE: ..::Audio Profiles::.. [MODE]: service 01:04:41 T:4516 WARNING: CSkinInfo: failed to load skin settings 01:04:44 T:4516 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: locale.audiolanguage: original 01:04:44 T:4516 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.ac3transcode: false 01:04:44 T:4516 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.supportdtshdcpudecoding: false 01:04:44 T:4516 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.stereoupmix: false 01:04:44 T:4516 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.processquality: 30 01:04:44 T:4516 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.config: 2 01:04:44 T:4516 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.ac3passthrough: true 01:04:44 T:4516 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.guisoundmode: 1 01:04:44 T:4516 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.channels: 1 01:04:44 T:4516 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.audiodevice: DIRECTSOUND:default 01:04:44 T:4516 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.maintainoriginalvolume: true 01:04:44 T:4516 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: volume: 97 01:04:44 T:4516 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.streamsilence: 1 01:04:44 T:4516 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.passthroughdevice: DIRECTSOUND:{78021DCA-2E99-4879-A650-3295BA1F6C7A} 01:04:44 T:4516 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.dtspassthrough: false 01:04:44 T:4516 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.passthrough: false 01:04:44 T:4516 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.dspaddonsenabled: false 01:04:55 T:4016 NOTICE: ..::Audio Profiles::.. [SYS.ARGV]: ['default.py', 'service'] 01:04:55 T:4016 NOTICE: ..::Audio Profiles::.. [MODE]: service 01:04:55 T:4016 WARNING: CSkinInfo: failed to load skin settings 01:04:57 T:4016 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: locale.audiolanguage: original 01:04:57 T:4016 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.ac3transcode: false 01:04:57 T:4016 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.supportdtshdcpudecoding: false 01:04:57 T:4016 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.stereoupmix: false 01:04:57 T:4016 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.processquality: 30 01:04:57 T:4016 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.config: 2 01:04:57 T:4016 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.ac3passthrough: true 01:04:57 T:4016 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.guisoundmode: 1 01:04:57 T:4016 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.channels: 1 01:04:57 T:4016 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.audiodevice: DIRECTSOUND:default 01:04:57 T:4016 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.maintainoriginalvolume: true 01:04:57 T:4016 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: volume: 97 01:04:57 T:4016 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.streamsilence: 1 01:04:57 T:4016 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.passthroughdevice: DIRECTSOUND:{56EA64DF-DDEA-4F98-91B8-213FDE86DA70} 01:04:57 T:4016 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.dtspassthrough: false 01:04:57 T:4016 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.passthrough: false 01:04:57 T:4016 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.dspaddonsenabled: false profile1.json {"videoplayer.usedisplayasclock": "false", "locale.audiolanguage": "original", "videoplayer.seekdelay": "750", "videoplayer.teletextscale": "true", "videoscreen.fakefullscreen": "true", "videoplayer.stretch43": "0", "videoscreen.preferedstereoscopicmode": "100", "videoscreen.blankdisplays": "false", "videoscreen.limitedrange": "false", "audiooutput.supportdtshdcpudecoding": "false", "videoplayer.quitstereomodeonstop": "true", "videoscreen.vsync": "2", "audiooutput.stereoupmix": "false", "audiooutput.processquality": "30", "videoplayer.pauseafterrefreshchange": "0", "audiooutput.config": "2", "videoplayer.preferdefaultflag": "true", "audiooutput.ac3passthrough": "true", "audiooutput.guisoundmode": "1", "videoplayer.teletextenabled": "true", "videoscreen.screen": "0", "videoplayer.seeksteps": "[-600, -300, -180, -60, -30, -10, 10, 30, 60, 180, 300, 600]", "audiooutput.channels": "1", "audiooutput.audiodevice": "DIRECTSOUND:default", "audiooutput.maintainoriginalvolume": "true", "volume": "97", "audiooutput.streamsilence": "1", "videoscreen.resolution": "16", "audiooutput.passthroughdevice": "DIRECTSOUND:{78021DCA-2E99-4879-A650-3295BA1F6C7A}", "videoplayer.adjustrefreshrate": "0", "audiooutput.dtspassthrough": "false", "audiooutput.passthrough": "false", "videoplayer.stereoscopicplaybackmode": "0", "videoplayer.autoplaynextitem": "false", "audiooutput.dspaddonsenabled": "false", "videoplayer.errorinaspect": "0", "videoscreen.stereoscopicmode": "0", "audiooutput.ac3transcode": "false"} profile2.json {"videoplayer.usedisplayasclock": "false", "locale.audiolanguage": "original", "videoplayer.seekdelay": "750", "videoplayer.teletextscale": "true", "videoscreen.fakefullscreen": "true", "videoplayer.stretch43": "0", "videoscreen.preferedstereoscopicmode": "100", "videoscreen.blankdisplays": "false", "videoscreen.limitedrange": "false", "audiooutput.supportdtshdcpudecoding": "false", "videoplayer.quitstereomodeonstop": "true", "videoscreen.vsync": "2", "audiooutput.stereoupmix": "false", "audiooutput.processquality": "30", "videoplayer.pauseafterrefreshchange": "0", "audiooutput.config": "2", "videoplayer.preferdefaultflag": "true", "audiooutput.ac3passthrough": "true", "audiooutput.guisoundmode": "1", "videoplayer.teletextenabled": "true", "videoscreen.screen": "0", "videoplayer.seeksteps": "[-600, -300, -180, -60, -30, -10, 10, 30, 60, 180, 300, 600]", "audiooutput.channels": "1", "audiooutput.audiodevice": "DIRECTSOUND:default", "audiooutput.maintainoriginalvolume": "true", "volume": "97", "audiooutput.streamsilence": "1", "videoscreen.resolution": "16", "audiooutput.passthroughdevice": "DIRECTSOUND:{56EA64DF-DDEA-4F98-91B8-213FDE86DA70}", "videoplayer.adjustrefreshrate": "0", "audiooutput.dtspassthrough": "false", "audiooutput.passthrough": "false", "videoplayer.stereoscopicplaybackmode": "0", "videoplayer.autoplaynextitem": "false", "audiooutput.dspaddonsenabled": "false", "videoplayer.errorinaspect": "0", "videoscreen.stereoscopicmode": "0", "audiooutput.ac3transcode": "false"} RE: Audio Profiles switcher - Regss - 2017-01-11 Hi. Enable debug log in kodi settings and check in log what json command is executed with method "Settings.SetSettingValue" RE: Audio Profiles switcher - Mastakilla - 2017-01-11 Hi Regss Thanks for the lightning fast reply! I doesn't seem to that though: 09:06:58 T:5404 DEBUG: CPythonInvoker(4, C:\Users\htpc\AppData\Roaming\Kodi\addons\script.audio.profiles\default.py): start processing 09:06:58 T:5404 DEBUG: -->Python Interpreter Initialized<-- 09:06:58 T:5404 DEBUG: CPythonInvoker(4, C:\Users\htpc\AppData\Roaming\Kodi\addons\script.audio.profiles\default.py): the source file to load is "C:\Users\htpc\AppData\Roaming\Kodi\addons\script.audio.profiles\default.py" 09:06:58 T:5404 DEBUG: CPythonInvoker(4, C:\Users\htpc\AppData\Roaming\Kodi\addons\script.audio.profiles\default.py): setting the Python path to C:\Users\htpc\AppData\Roaming\Kodi\addons\script.audio.profiles;C:\Program Files (x86)\Kodi\system\python\DLLs;C:\Program Files (x86)\Kodi\system\python\Lib;C:\Program Files (x86)\Kodi\python27.zip;C:\Program Files (x86)\Kodi\system\python\lib\plat-win;C:\Program Files (x86)\Kodi\system\python\lib\lib-tk;C:\Program Files (x86)\Kodi;C:\Program Files (x86)\Kodi\system\python;C:\Program Files (x86)\Kodi\system\python\lib\site-packages 09:06:58 T:5404 DEBUG: CPythonInvoker(4, C:\Users\htpc\AppData\Roaming\Kodi\addons\script.audio.profiles\default.py): entering source directory C:\Users\htpc\AppData\Roaming\Kodi\addons\script.audio.profiles 09:06:58 T:5404 DEBUG: CPythonInvoker(4, C:\Users\htpc\AppData\Roaming\Kodi\addons\script.audio.profiles\default.py): instantiating addon using automatically obtained id of "script.audio.profiles" dependent on version 2.14.0 of the xbmc.python api 09:06:58 T:5404 NOTICE: ..::Audio Profiles::.. [SYS.ARGV]: ['default.py', 'service'] 09:06:58 T:5404 NOTICE: ..::Audio Profiles::.. [MODE]: service 09:06:58 T:5404 DEBUG: POParser: loaded 27 strings from file C:\Users\htpc\AppData\Roaming\Kodi\addons\script.audio.profiles\resources\language\English\strings.po 09:06:58 T:5404 WARNING: CSkinInfo: failed to load skin settings 09:06:58 T:7100 DEBUG: ------ Window Init (C:\Users\htpc\AppData\Roaming\Kodi\addons\script.audio.profiles\resources\skins\Default\720p\script-audio-profiles-menu.xml) ------ 09:06:58 T:7100 INFO: Loading skin file: C:\Users\htpc\AppData\Roaming\Kodi\addons\script.audio.profiles\resources\skins\Default\720p\script-audio-profiles-menu.xml, load type: LOAD_ON_GUI_INIT 09:06:58 T:7100 DEBUG: CGUIMediaWindow::GetDirectory () 09:06:58 T:7100 DEBUG: ParentPath = [] 09:06:58 T:7100 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/ImageLib.dll) 09:07:02 T:7100 DEBUG: CInputManager:rocessMouse: trying mouse action leftclick 09:07:02 T:5404 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: locale.audiolanguage: original 09:07:02 T:5404 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.ac3transcode: false 09:07:02 T:5404 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.supportdtshdcpudecoding: false 09:07:02 T:5404 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.stereoupmix: false 09:07:02 T:5404 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.processquality: 30 09:07:02 T:5404 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.config: 2 09:07:02 T:5404 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.ac3passthrough: true 09:07:02 T:5404 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.guisoundmode: 1 09:07:02 T:5404 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.channels: 1 09:07:02 T:5404 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.audiodevice: DIRECTSOUND:default 09:07:02 T:5404 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.maintainoriginalvolume: true 09:07:02 T:5404 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: volume: 97 09:07:02 T:5404 DEBUG: CSettingsManager: requested setting (volume) was not found. 09:07:02 T:5404 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.streamsilence: 1 09:07:02 T:5404 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.passthroughdevice: DIRECTSOUND:{78021DCA-2E99-4879-A650-3295BA1F6C7A} 09:07:02 T:5404 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.dtspassthrough: false 09:07:02 T:5404 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.passthrough: false 09:07:02 T:5404 NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: audiooutput.dspaddonsenabled: false 09:07:02 T:5404 INFO: CPythonInvoker(4, C:\Users\htpc\AppData\Roaming\Kodi\addons\script.audio.profiles\default.py): script successfully run 09:07:02 T:5404 INFO: Python script stopped 09:07:02 T:5404 DEBUG: Thread LanguageInvoker 5404 terminating 09:07:02 T:7100 DEBUG: ------ Window Init (DialogKaiToast.xml) ------ 09:07:02 T:7100 DEBUG: ------ Window Deinit (C:\Users\htpc\AppData\Roaming\Kodi\addons\script.audio.profiles\resources\skins\Default\720p\script-audio-profiles-menu.xml) ------ 09:07:06 T:7100 DEBUG: CInputManager:rocessMouse: trying mouse action leftclick 09:07:06 T:820 DEBUG: CActiveAE:iscardStream - audio stream deleted RE: Audio Profiles switcher - Mastakilla - 2017-01-11 Hi, I think my focus in the previous posts might have been a bit off... My 2 profiles somehow contained the same Device ID and then I tried hacking (editing) the profile*.json files. After that, switching profile didn't change my audio device. But I think the real problem happens earlier: I just did the following: * I removed all profile*.json files * I set my audio device in MS Windows to the JBL Bluetooth speaker * I started Kodi and tested that the audio is indeed coming from the JBL Bluetooth speaker and NOT from my Panasonic TV * I saved the profile with the Audio Profile Switcher addon * I opened the newly created profile*.json file * And it contains the Device ID of my Panasonic TV!! So I think there probably lies the source of my problem... Below the full (debug enabled) kodi log of this action (including startup) http://pastebin.com/9JkHZb1B |