v17 LibreELEC Testbuilds for RaspberryPi (Kodi 17.0)
(2016-11-07, 22:37)Milhouse Wrote:
(2016-11-07, 10:37)loggio Wrote: Hi guys,

Global search is not working for me on both my Pi's running Milhouse nightlies.
When I search for something and click on a result, the item does not play...

I just tested on windows with a latest nightly and it seems to work fine, but on both my Rpi's running Milhouse builds it won't work.

Is anyone else having this problem or is it just me?

This is a bug in Global Search:
Code:
20:26:21 56994.824219 T:1961205760   DEBUG: LIRC: Update - NEW at 56982126:1c 0 KEY_ENTER devinput (KEY_ENTER)
20:26:21 56994.824219 T:1961205760   DEBUG: OnKey: 11 (0x0b, obc244) pressed, action is Select
20:26:21 56994.824219 T:1920988064  NOTICE: CAESinkPi:AddPackets Underrun (delay:0.00 frames:1102)
20:26:21 56994.824219 T:1566569376   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ValueError'>
                                            Error Contents: invalid literal for int() with base 10: '0.0'
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/script.globalsearch/resources/lib/gui.py", line 1165, in onClick
                                                resume = int(listitem.getProperty('resume'))
                                            ValueError: invalid literal for int() with base 10: '0.0'
                                            -->End of Python script error report<--
20:26:21 56994.871094 T:1961205760   DEBUG: LIRC: Update - NEW at 56982173:1c 0 KEY_ENTER_UP devinput (KEY_ENTER_UP)
20:26:21 56995.074219 T:1920988064   DEBUG: CAESinkPi:Drain delay:25ms now:0ms

It expects resume to be an int, when it is in fact returned as a float.
almost ;- )
it's returned as a string and there's no direct string to int conversion when the actual value is a float.

fix pushed to the addon repo.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.


Messages In This Thread
RPi2: no DV-codec? - by bubi - 2016-07-10, 10:30
DV-video not working - by bubi - 2016-07-15, 19:48
RE: LibreELEC Testbuilds for RaspberryPi (Kodi 17.0) - by ronie - 2016-11-07, 23:44
Logout Mark Read Team Forum Stats Members Help
LibreELEC Testbuilds for RaspberryPi (Kodi 17.0)19