I am working on a few addons, and recently I am running into a very strange situation.
Most of these addons are loaded by keystrokes to save time.
So, I press F8 and my interface comes up. Then after a period of time ranging from instantly to multiple seconds I do not use the mouse or keyboard, and my add on closes.
Reviewing my added logs, it indicates that ACTION_PREVIOUS_MENU was caught, which is a close.

It's not completely consistent, as sometimes it doesn't happen at all., or while I am interacting with the interface.

Here's an excerpt from my launching my addon with F8, and it instantly closing. Included kodi logs, and the logs from my own addon (HFXML)

11:15:03 T:139696020469824   DEBUG: ------ Window Init (/home/pi/.kodi/addons/script.program.handsfree/resources/skins/default/720p/handsfreefull.xml) ------
11:15:03 T:139696020469824    INFO: Loading skin file: /home/pi/.kodi/addons/script.program.handsfree/resources/skins/default/720p/handsfreefull.xml, load type: LOAD_ON_GUI_INIT
11:15:03 T:139696020469824   DEBUG: Load /home/pi/.kodi/addons/script.program.handsfree/resources/skins/default/720p/handsfreefull.xml: 34.04ms
11:15:03 T:139696020469824   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/
11:15:03 T:139696020469824   DEBUG: Loading: /opt/kodi/lib/kodi/system/
11:15:03 T:139696020469824   DEBUG: Alloc resources: 54.81ms  (34.18 ms skin load)
11:15:03 T:139696020469824   DEBUG: CGUIMediaWindow::GetDirectory ()
11:15:03 T:139696020469824   DEBUG:   ParentPath = []
11:15:03 T:139694193145600  NOTICE: HFXML: Loading: 'connected_device', 'SAMSUNG-SM-G930V'
11:15:03 T:139694193145600  NOTICE: HFXML: BT connected device: SAMSUNG-SM-G930V
11:15:03 T:139696020469824   DEBUG: ProcessMouse: trying mouse action rightclick
11:15:03 T:139694193145600  NOTICE: HFXML: Main area
11:15:03 T:139696020469824   DEBUG: ProcessMouse: unknown mouse command 57361
11:15:04 T:139694193145600  NOTICE: HFXML: Loading: 'connected_device', 'SAMSUNG-SM-G930V'
11:15:04 T:139694193145600  NOTICE: HFXML: Connecting to DBUS...
11:15:04 T:139694193145600  NOTICE: HFXML: Connected to DBUS...
11:15:04 T:139694193145600  NOTICE: HFXML: Connected with Ofono via DBUS
11:15:04 T:139694193145600  NOTICE: HFXML: Action: 10
11:15:04 T:139694193145600  NOTICE: HFXML: ENDING. prev menu
11:15:04 T:139694193145600  NOTICE: HFXML: Action: 101
11:15:04 T:139694193145600    INFO: CPythonInvoker(40, /home/pi/.kodi/addons/script.program.handsfree/ script successfully run
11:15:04 T:139694193145600    INFO: CPythonInvoker(40, /home/pi/.kodi/addons/script.program.handsfree/ waiting on thread 139694473996032

I found your log while searching for Ofono addons for KODI. I am actually building a Rpi Mediacenter for my car and wonder if HFXML is somewhere available for download?
I would like to use it for connecting to Ofono getting notified when someone calls me,...

Thank you

 I have my repositories on bitbucket, and I am willing to share them.  They are quite a few years old, and I probably can't be too helpful when it comes to getting them to work.

But I can give you some general assistance while working on it.

Usually, there is a service which runs in the background, and then there is a frontend GUI that connects to it.

Here are some notes I took on getting hands-free working. They were just for me, so they are not real clean.
Thank you very much jgauthier!
I'll have a look into it. I got ofono running quite well together with osmc and pulseaudio but don't have any control possibility.

My first goal would be to get a notification shown in KODI if someone is calling. I saw you implemented even to download the phone book. Great thing.

I can share my findings if you are interested in it.

Thread Rating:
  • 0 Vote(s) - 0 Average

Logout Mark Read Team Forum Stats Members Help