Autocompletion addon problem
#1
I have a problem with this addon (v1.0.1) not transferring the selected suggested text to the input field. I am running Kodi Krypton. The problem occurs with multiple skins including Estuary however it is only happening on Android not Windows. If I repeatedly press the Select key on Android it will sometimes transfer the selected text to the keyboard (maybe after 20 attempts). Below is what I see in the log on Android when it fails. Is the problem something to do with the extremely long path on Android?

Code:
12:21:01.290 T:18446744072360848272 DEBUG: OnKey: return (0xf00d) pressed, trying keyboard action 7
12:21:01.309 T:18446744072360848272 DEBUG: StartScript - calling plugin AutoCompletion for virtual keyboard('plugin://plugin.program.autocompletion/','226','?info=selectautocomplete&&id=the fast and the furious')
12:21:01.309 T:18446744071917353872 DEBUG: Thread LanguageInvoker start, auto delete: false
12:21:01.309 T:18446744071917353872 INFO: initializing python engine.
12:21:01.310 T:18446744071917353872 DEBUG: CPythonInvoker(354, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autocompletion/plugin.py): start processing
12:21:01.330 T:18446744071916313488 DEBUG: Thread scriptobs start, auto delete: false
12:21:01.351 T:18446744071917353872 DEBUG: -->Python Interpreter Initialized<--
12:21:01.351 T:18446744071917353872 DEBUG: CPythonInvoker(354, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autocompletion/plugin.py): the source file to load is "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autocompletion/plugin.py"
12:21:01.354 T:18446744071917353872 DEBUG: CPythonInvoker(354, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autocompletion/plugin.py): setting the Python path to /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autocompletion:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.autocompletion/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.simplejson/lib:/:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python27.zip:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/plat-linux2:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/lib-tk:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/lib-old:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/lib-dynload
12:21:01.354 T:18446744071917353872 DEBUG: CPythonInvoker(354, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autocompletion/plugin.py): entering source directory /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autocompletion
12:21:01.354 T:18446744071917353872 DEBUG: CPythonInvoker(354, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autocompletion/plugin.py): instantiating addon using automatically obtained id of "plugin.program.autocompletion" dependent on version 2.24.0 of the xbmc.python api
12:21:01.531 T:18446744072360848272 DEBUG: ------ Window Init (DialogBusy.xml) ------
12:21:01.598 T:18446744071917353872 DEBUG: version 1.0.1 started
12:21:01.599 T:18446744071917353872 DEBUG: finished
12:21:01.600 T:18446744071917353872 INFO: CPythonInvoker(354, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autocompletion/plugin.py): script successfully run
12:21:01.602 T:18446744072360848272 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
12:21:01.603 T:18446744071916313488 DEBUG: Thread scriptobs 18446744071916313488 terminating
12:21:01.604 T:18446744072360848272 ERROR: PlayMedia could not play media: plugin://plugin.program.autocompletion/?info=selectautocomplete&&id=the fast and the furious
12:21:01.605 T:18446744072360848272 DEBUG: Keyboard: scancode: 0x17, sym: 0x000d, unicode: 0x0000, modifier: 0x0 12:21:01.865 T:18446744071917353872 INFO: Python script stopped
12:21:01.865 T:18446744071917353872 DEBUG: Thread LanguageInvoker 18446744071917353872 terminating
12:21:03.232 T:18446744072360848272 DEBUG: Keyboard: scancode: 0x17, sym: 0x000d, unicode: 0x0000, modifier: 0x0
Reply
#2
I use android as well and have same issue with Estuary and other skins. I have to select the "suggested item" a few time to get it to take.
Kodi v20.1 with goodies from the PSMC Collection / Using on PC's, Nvidea Shields, and other Android TV Boxes
Reply
#3
Yep, same here. 4 clicks usually, sometimes one press and hold. Flaky.
Reply
#4
Not sure whats happening. I also posted on the github "issues" page (https://github.com/phil65/plugin.program...n/issues/3) along with others over a month ago and included logs. Nothing has been heard back there either?

(2017-05-07, 14:11)tedrogers Wrote: Yep, same here. 4 clicks usually, sometimes one press and hold. Flaky.
Kodi v20.1 with goodies from the PSMC Collection / Using on PC's, Nvidea Shields, and other Android TV Boxes
Reply
#5
(2017-05-07, 18:10)Wanderer189 Wrote: Not sure whats happening. I also posted on the github "issues" page (https://github.com/phil65/plugin.program...n/issues/3) along with others over a month ago and included logs. Nothing has been heard back there either

I'm pretty sure it won't let you disable it either. I might be wrong but I think I did try to turn it off, as it's useless as it is, and not worth the temptation. The number of times I've said to myself that "I could have written it manually by now". I even tried changing the autocomplete from YouTube to Google service instead (don't know why, they're the same company anyway), but it made no difference to the functionality anyway.

It does seem better on first use after boot, but then gets progressively less responsive.

Time to get the Ri8+ out again?
Reply
#6
same here extremely flaky on android kodi v17.3 using estuary. You'd think this is a very simple thing to fix, wouldn't youHuh
Reply
#7
Hi,
i made a little fix for this issue:
https://github.com/randomt4sk/plugin.pro...completion
Reply
#8
(2017-08-05, 18:33)randomt4sk Wrote: Hi,
i made a little fix for this issue:
https://github.com/randomt4sk/plugin.pro...completion

Thanks it is working for me now. When I first tried it with Eminence 2 skin I didnt see any suggestions appearing so I changed to default Estuary skin, retried and found it was working there. I changed back to Eminence 2 skin and it is working there now too.
Reply

Logout Mark Read Team Forum Stats Members Help
Autocompletion addon problem1