2015-10-04, 18:07
A few years back I wanted to write a simple add-on to browse the (then XBMC) Kodi log file from inside Kodi
I did not manage to get complete control of how to scroll the textbox containing the log file contents.
Mainly I was missing a way to know how many lines were actually in the textbox.
I would like to complete it now, if possible.
Is there some new function or change in existing functions for textbox ?
(like self.textbox.scroll(position) returning a value if it exceeds the max position or a new function self.textbox.getlines())
Or, alternatively, maybe someone can recommend a better way to browse a file from within Kodi.
I did not manage to get complete control of how to scroll the textbox containing the log file contents.
Mainly I was missing a way to know how many lines were actually in the textbox.
I would like to complete it now, if possible.
Is there some new function or change in existing functions for textbox ?
(like self.textbox.scroll(position) returning a value if it exceeds the max position or a new function self.textbox.getlines())
Or, alternatively, maybe someone can recommend a better way to browse a file from within Kodi.