ACTION_PREVIOUS_MENU -- no input
#1
Greetings,

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)

Code:
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/ImageLib-x86_64-linux.so)
11:15:03 T:139696020469824   DEBUG: Loading: /opt/kodi/lib/kodi/system/ImageLib-x86_64-linux.so
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/addon.py): script successfully run
11:15:04 T:139694193145600    INFO: CPythonInvoker(40, /home/pi/.kodi/addons/script.program.handsfree/addon.py): waiting on thread 139694473996032
Reply
#2
Hello!

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
BR
Reply
#3
Hello,

 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.
https://bitbucket.org/jagauthier/

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.
https://drive.google.com/open?id=17PHgDH...twygWcDRLg
Reply
#4
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.

BR
Martin
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
ACTION_PREVIOUS_MENU -- no input00