Release Audio Profiles (for Kodi 18 and later)
#61
(2020-06-21, 18:22)pkscout Wrote:
(2020-06-21, 08:33)wizard84 Wrote: Hello, thank you so much for your plugin....it's amazing. i'm facing a small issue with the latest version of Kodi and aeon nox silvo skin. I've configure two profiles and associated your plugin in the keymap file 

<global>
<keyboard>
<key id="252">runaddon(script.audio.profiles,popup)</key>
</keyboard>
</global>
everything is working fine if i'm changing the profile before playing a video, but if i press the key during the playback, i'm overwriting the settings of the profile with the ones currently active settings (with the confirmation bar on the top). is it by design?
That doesn't sound right, and I'm not able to duplicate that here.  Whether I'm playing a video or not when I bring up the pop up, it changes the profile, it doesn't save one.  I'll need to see a debug log (make sure you turn on debug logging in both Kodi and Audio Profiles) to understand what's happening.
more than happy to provide you the logs....how can i enable it for audio profiles?
Reply
#62
if i may...since you are using only two profiles  try...
Code:
<key id="24">runscript(script.audio.profiles,0)</key>
Reply
#63
(2020-06-22, 09:44)Roby77 Wrote: if i may...since you are using only two profiles  try...
Code:
<key id="24">runscript(script.audio.profiles,0)</key>

Hi roby, thank you for the suggestion. this was the previous setting (i like the popup :-D) and it was also affected by this strange behaviour
Reply
#64
(2020-06-22, 09:30)wizard84 Wrote:
(2020-06-21, 18:22)pkscout Wrote:
(2020-06-21, 08:33)wizard84 Wrote: Hello, thank you so much for your plugin....it's amazing. i'm facing a small issue with the latest version of Kodi and aeon nox silvo skin. I've configure two profiles and associated your plugin in the keymap file 

<global>
<keyboard>
<key id="252">runaddon(script.audio.profiles,popup)</key>
</keyboard>
</global>
everything is working fine if i'm changing the profile before playing a video, but if i press the key during the playback, i'm overwriting the settings of the profile with the ones currently active settings (with the confirmation bar on the top). is it by design?
That doesn't sound right, and I'm not able to duplicate that here.  Whether I'm playing a video or not when I bring up the pop up, it changes the profile, it doesn't save one.  I'll need to see a debug log (make sure you turn on debug logging in both Kodi and Audio Profiles) to understand what's happening.
more than happy to provide you the logs....how can i enable it for audio profiles?
Please see the Audio Profiles wiki page:

https://kodi.wiki/view/Add-on:Audio_Prof...ifications
Reply
#65
(2020-06-05, 07:34)tomasiek Wrote: Another idea came to me. We can set a given profile for the source type (video / pvr). We also have depending on the type of sound (stereo / multi). But I miss something like the priority of these settings. If I choose the HDMI profile for PVR, I would like that even if there is 5.1 sound the selection window does not appear. If I do not set anything for video, the selection window would appear depending on the type of sound (stereo / 5.1)
Any chance?
Reply
#66
(2020-06-25, 11:49)tomasiek Wrote:
(2020-06-05, 07:34)tomasiek Wrote: Another idea came to me. We can set a given profile for the source type (video / pvr). We also have depending on the type of sound (stereo / multi). But I miss something like the priority of these settings. If I choose the HDMI profile for PVR, I would like that even if there is 5.1 sound the selection window does not appear. If I do not set anything for video, the selection window would appear depending on the type of sound (stereo / 5.1)
Any chance?
Probably not.  The user interface for something like that would be exceptionally convoluted in Kodi, and the coding necessary to deal with the nearly infinite number of permutations of prioritization of choices would be very difficult to get right.
Reply
#67
You let me down, my young Padawan Wink
Reply
#68
(2020-06-22, 20:58)pkscout Wrote:
(2020-06-22, 09:30)wizard84 Wrote:
(2020-06-21, 18:22)pkscout Wrote: That doesn't sound right, and I'm not able to duplicate that here.  Whether I'm playing a video or not when I bring up the pop up, it changes the profile, it doesn't save one.  I'll need to see a debug log (make sure you turn on debug logging in both Kodi and Audio Profiles) to understand what's happening.
more than happy to provide you the logs....how can i enable it for audio profiles?
Please see the Audio Profiles wiki page:

https://kodi.wiki/view/Add-on:Audio_Prof...ifications
sorry for the delay debug.log
Reply
#69
(2020-06-28, 09:07)wizard84 Wrote:
(2020-06-22, 20:58)pkscout Wrote:
(2020-06-22, 09:30)wizard84 Wrote: more than happy to provide you the logs....how can i enable it for audio profiles?
Please see the Audio Profiles wiki page:

https://kodi.wiki/view/Add-on:Audio_Prof...ifications
sorry for the delay debug.log
That log shows you playing a movie and then saving an audio profile.  I'm wondering if you don't have the hotkeys setup properly.  If you don't provide an argument for Audio Profiles in the hotkey, it brings up the menu to save a profile, not switch to one.  Can you post whatever keyboard.xml file you have that defines the hotkeys you are using?  You might also want to review the wiki for the instructions on how to setup the hotkeys.
Reply
#70
(2020-06-28, 18:52)pkscout Wrote:
(2020-06-28, 09:07)wizard84 Wrote:
(2020-06-22, 20:58)pkscout Wrote: Please see the Audio Profiles wiki page:

https://kodi.wiki/view/Add-on:Audio_Prof...ifications
sorry for the delay debug.log
That log shows you playing a movie and then saving an audio profile.  I'm wondering if you don't have the hotkeys setup properly.  If you don't provide an argument for Audio Profiles in the hotkey, it brings up the menu to save a profile, not switch to one.  Can you post whatever keyboard.xml file you have that defines the hotkeys you are using?  You might also want to review the wiki for the instructions on how to setup the hotkeys.
keymap
thank you in advance for your time
Reply
#71
(2020-06-29, 14:36)wizard84 Wrote:
(2020-06-28, 18:52)pkscout Wrote:
(2020-06-28, 09:07)wizard84 Wrote: sorry for the delay debug.log
That log shows you playing a movie and then saving an audio profile.  I'm wondering if you don't have the hotkeys setup properly.  If you don't provide an argument for Audio Profiles in the hotkey, it brings up the menu to save a profile, not switch to one.  Can you post whatever keyboard.xml file you have that defines the hotkeys you are using?  You might also want to review the wiki for the instructions on how to setup the hotkeys.
keymap
thank you in advance for your time
Please review the instructions in the wiki again.  That keymap is not correct.  RunAddon does not pass the argument, so when you use that keymap Audio Profiles assumes you are trying to save a profile.
Reply
#72
(2020-06-29, 17:54)pkscout Wrote:
(2020-06-29, 14:36)wizard84 Wrote:
(2020-06-28, 18:52)pkscout Wrote: That log shows you playing a movie and then saving an audio profile.  I'm wondering if you don't have the hotkeys setup properly.  If you don't provide an argument for Audio Profiles in the hotkey, it brings up the menu to save a profile, not switch to one.  Can you post whatever keyboard.xml file you have that defines the hotkeys you are using?  You might also want to review the wiki for the instructions on how to setup the hotkeys.
keymap
thank you in advance for your time
Please review the instructions in the wiki again.  That keymap is not correct.  RunAddon does not pass the argument, so when you use that keymap Audio Profiles assumes you are trying to save a profile.
i fixed it, putting "RunScript(script.audio.profiles,popup)" and rebooted kodi. now it's working. the funny thing is that the key 252 was mapped to two different functions in two different scenarios, the global one with runaddon was getting the priority also in fullvideo mode, but was not working as expected during the playback. i removed the mapping on fullvideo and now your script is working as expected. sorry again. all the best
Reply



Logout Mark Read Team Forum Stats Members Help
Audio Profiles (for Kodi 18 and later)0
This forum uses Lukasz Tkacz MyBB addons.