matthuisman / slyguy.addons

Github mirror of SlyGuy add-ons
https://www.matthuisman.nz/2020/02/slyguy-kodi-repository.html
285 stars 78 forks source link

GPIO Monitor not working while in favorites dialog #745

Open nandbert opened 4 months ago

nandbert commented 4 months ago

Hi Matt,

I am experiencing a strange issue. Not sure when it started, but for the time being I have v0.1.8 on LibreELEC 10.0.4, Raspi 2, Model B, skin Aeon Nox.

In the debug log I see all the connected buttons working, until I enter the favorites menu. From then on, GPIO Monitor is not responsive anymore. Here some "last words" lines from the log:

2024-05-17 15:55:19.178 T:1026 DEBUG : plugin.program.gpio.monitor - Callback: Action(Left) 2024-05-17 15:55:20.050 T:1026 DEBUG : plugin.program.gpio.monitor - Callback: Action(Right) 2024-05-17 15:55:21.552 T:1026 DEBUG : plugin.program.gpio.monitor - Callback: Action(Select) 2024-05-17 15:55:21.586 T:943 DEBUG : Activating window ID: 10134 2024-05-17 15:55:21.586 T:943 DEBUG : ------ Window Init (DialogFavourites.xml) ------

After that, the log stays silent, no matter which buttons I press. When I leave the menu e.g. with Yatse, it starts working again.

Any idea what could be the issue?

matthuisman commented 4 months ago

Can't see anything in the addon that would do that. Maybe a Kodi / libreelec issue?

On Sat, 18 May 2024, 02:38 nandbert, @.***> wrote:

Hi Matt,

I am experiencing a strange issue. Not sure when it started, but for the time being I have v0.1.8 on LibreELEC 10.0.4, Raspi 2, Model B, skin Aeon Nox.

In the debug log I see all the connected buttons working, until I enter the favorites menu. From then on, GPIO Monitor is not responsive anymore. Here some "last words" lines from the log:

2024-05-17 15:55:19.178 T:1026 DEBUG : plugin.program.gpio.monitor - Callback: Action(Left) 2024-05-17 15:55:20.050 T:1026 DEBUG : plugin.program.gpio.monitor - Callback: Action(Right) 2024-05-17 15:55:21.552 T:1026 DEBUG : plugin.program.gpio.monitor - Callback: Action(Select) 2024-05-17 15:55:21.586 T:943 DEBUG : Activating window ID: 10134 2024-05-17 15:55:21.586 T:943 DEBUG : ------ Window Init (DialogFavourites.xml) ------

After that, the log stays silent, no matter which buttons I press. When I leave the menu e.g. with Yatse, it starts working again.

Any idea what could be the issue?

— Reply to this email directly, view it on GitHub https://github.com/matthuisman/slyguy.addons/issues/745, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPQAKIOH7LYA4UXJBDSZNTZCYI55AVCNFSM6AAAAABH4ISXW2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGMYDEOJSGI3DANY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

nandbert commented 4 months ago

Or even a Aeon Nox issue. Any hint how I could narrow down the problem? (Besides trying a different skin, of course)

nandbert commented 4 months ago

When starting it today for another try, I got a "SLYGUY ERROR": Error starting Slyguy common service.

Could this be related somehow?

matthuisman commented 4 months ago

Full Kodi debug log please

On Fri, 24 May 2024, 03:43 nandbert, @.***> wrote:

When starting it today for another try, I got a "SLYGUY ERROR": Error starting Slyguy common service.

Could this be related somehow?

— Reply to this email directly, view it on GitHub https://github.com/matthuisman/slyguy.addons/issues/745#issuecomment-2127455333, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPQAKPFTMK7N5VJRET6D5LZDYFBBAVCNFSM6AAAAABH4ISXW2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRXGQ2TKMZTGM . You are receiving this because you commented.Message ID: @.***>

nandbert commented 4 months ago

For the original favorites dialog issue I can confirm that its not Aeon Nox related. It also happens with the default skin.

The SLYGUY ERROR seems to happen only sporadically, so it is not related to the favorites dialog issue either. I will try to capture the debug log the next time it happens.

matthuisman commented 4 months ago

please get a debug log with the issue of the buttons not working in favourites

nandbert commented 3 months ago

https://gist.github.com/nandbert/227136b5a752cba6f1d8b115f8a44caa

First I pressed Mute, and both sound buttons, then right, left. Worked perfectly. The last press is Select that opens the favorites dialog. From this point buttons stop working. No reaction, no Callback in the log.

Hope that helps.

matthuisman commented 3 months ago

after you close favorites, does it start working again?

nandbert commented 3 months ago

Yes, when I leave favorites, GPIO Monitor is working again.

P.S. When I put together the whole system (raspi + audio shield in an old radio carcass with pretty nice speakers) in 2021, GPIO was also working in the favorites menu. Over the years there have been many automatic updates (not only of GPIO Monitor of course), so I cannot tell when exactly this functionality got lost :-(