G'day all.
I'm trying to resolve a particular behaviour when I switch between my soundbar and headphones profiles using the Audio Profiles addon (v1.2.0).
I was running LibreELEC 9.2.0 on an RPi 3B+ and had created a keyboard.xml file which mapped the 'g' key on the keyboard as the key to switch between my two profiles (I used the 'g' key since it doesn't seem to be in use as a Kodi keyboard shortcut, and I used the looping option rather than have a key for each profile).
Keyboard.xml -
https://paste.kodi.tv/sewukeleka.kodi
Whenever I pressed the 'g' key on the keyboard, the audio profile would be switched, but it would also either cause the playback to stop, or Kodi to crash entirely. If I used the key to switch profiles before playback was started, the profile was switched with no other side effects.
I tried upgrading from v1.2.0 to v1.2.5, but I got the same behaviour. When I upgraded to v1.4.0 all I would get was a notification that the audio profile was being switched, but the profile didn't change, and playback was unaffected (nothing seemed to be happening in the background apart from the Audio Profiles notification being displayed on the screen).
I then downgraded to LE 8.2.5 and tried again with both v1.2.0 and v1.2.5 of the Audio Profiles addon. With LE 8.2.5 running, pressing the 'g' key switches between audio profiles successfully, and there is no crash nor stopping of playback. However, each time I press the 'g' key to switch between audio profiles it skips the video forward by about 7 seconds. I wondered whether it was related to my skip settings, but removing the + or - 10 second skip option made no difference; it still jumped forward by about 7 seconds after each 'g' key press.
I have several logs attached below, but trying to decipher them is a bit beyond me.
At this stage, running LE 8.2.5 and having to skip back 10 seconds after a profile switch at worst is perfectly manageable. However, I'd still like to find out what is causing the behaviour.
LE 9.2.0 APv1.2.0 CRASH log -
https://paste.kodi.tv/magahamowu.kodi
Line 3470 - HandleKey: g
LE 9.2.0 APv1.2.0 PLAYBACK STOP log -
https://paste.kodi.tv/jehivudeki.kodi
Lines 4660 & 4669 - HandleKey: g
LE 9.2.0 APv1.4.0 NOTIFICATION ONLY log -
https://paste.kodi.tv/nekicadaca.kodi
Lines 6244, 6277, 6309, 6341 & 6373 - HandleKey: g
LE 8.2.5 APv1.2.0 7 SECOND SKIP log -
https://paste.kodi.tv/dofilopuza.kodi
Lines 2298 & 2692 - OnKey: g
LE 8.2.5 APv1.2.5 7 SECOND SKIP log -
https://paste.kodi.tv/gelowugope.kodi
Lines 1909 & 2440 - OnKey: g