Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 25
Release Audio Profiles - Easy switch between different audio settings
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.
I use it without any issues in Kodi 17.
The profile switcher button during playback doesn't appear in Kodi - Estuary.

FYI, I'm toggling between HDMI and Pulse (for bluetooth) in Libreelec.
(2016-10-28, 15:53)acegolfer Wrote: The profile switcher button during playback doesn't appear in Kodi - Estuary.

FYI, I'm toggling between HDMI and Pulse (for bluetooth) in Libreelec.
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.
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.
No problem for me on libreelec beta 6
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-p...l#pid19906
RPi3 | RPi4 | LibreElec Kodi
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<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeDecodeError'>
                                            Error Contents: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "D:\Kodi 17 Portable\portable_data\addons\script.audio.profiles\default.py", line 257, in <module>
                                                PROFILES()
                                              File "D:\Kodi 17 Portable\portable_data\addons\script.audio.profiles\default.py", line 51, in __init__
                                                self.start(mode)
                                              File "D:\Kodi 17 Portable\portable_data\addons\script.audio.profiles\default.py", line 80, in start
                                                self.profile(mode)
                                              File "D:\Kodi 17 Portable\portable_data\addons\script.audio.profiles\default.py", line 250, in profile
                                                debug.notify(sName[int(profile)])
                                              File "D:\Kodi 17 Portable\portable_data\addons\script.audio.profiles\resources\lib\debug.py", line 16, in notify
                                                xbmc.executebuiltin('Notification(' + __addonname__ + (' - ' + title.encode('utf-8') if len(title) > 0 else '') + ', ' + msg.encode('utf-8') + ', 4000, ' + __icon__ + ')')
                                            UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)
                                            -->End of Python script error report<--
09:32:07.132 T:3936   ERROR: XFILE::CDirectory::GetDirectory - Error getting /storage/pictures/
09:32:09.007 T:11628   ERROR: Previous line repeats 1 times.
09:32:09.007 T:11628   ERROR: JSONRPC: Failed to parse '{"jsonrpc": "2.0", "method": "Settings.SetSettingValue", "params": {"setting": "lookandfeel.soundskin", "value": resource.uisounds.kodi}, "id": 1}'
09:32:12.022 T:11980   ERROR: Previous line repeats 1 times.
09:32:12.022 T:11980   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeDecodeError'>
                                            Error Contents: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "D:\Kodi 17 Portable\portable_data\addons\script.audio.profiles\default.py", line 257, in <module>
                                                PROFILES()
                                              File "D:\Kodi 17 Portable\portable_data\addons\script.audio.profiles\default.py", line 51, in __init__
                                                self.start(mode)
                                              File "D:\Kodi 17 Portable\portable_data\addons\script.audio.profiles\default.py", line 80, in start
                                                self.profile(mode)
                                              File "D:\Kodi 17 Portable\portable_data\addons\script.audio.profiles\default.py", line 250, in profile
                                                debug.notify(sName[int(profile)])
                                              File "D:\Kodi 17 Portable\portable_data\addons\script.audio.profiles\resources\lib\debug.py", line 16, in notify
                                                xbmc.executebuiltin('Notification(' + __addonname__ + (' - ' + title.encode('utf-8') if len(title) > 0 else '') + ', ' + msg.encode('utf-8') + ', 4000, ' + __icon__ + ')')
                                            UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)
                                            -->End of Python script error report<--

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 Wink
Try to change your Profil names to a english name! ..no ä ö ü ß , etc!

There is something wrong with special letters.
RPi3 | RPi4 | LibreElec Kodi
(2016-11-29, 12:42)nojoe Wrote: Try to change your Profil names to a english name! ..no ä ö ü ß , etc!

There is something wrong with special letters.

Thank you....that was the problem.
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!
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... Sad

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"}
Hi. Enable debug log in kodi settings and check in log what json command is executed with method "Settings.SetSettingValue"
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:TonguerocessMouse: 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:TonguerocessMouse: trying mouse action leftclick
09:07:06 T:820 DEBUG: CActiveAE:Big GriniscardStream - audio stream deleted
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
  • 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 25

Logout Mark Read Team Forum Stats Members Help
Audio Profiles - Easy switch between different audio settings3