2017-06-18, 17:13
well probably not doable via an addon, you would have to read up on it in the documentations
Quote:(1512998188.915501) can0 156#F5C200000721
(1512998188.916749) can0 18E#080045
(1512998188.920957) can0 091#8023C8020000001A
(1512998188.923367) can0 13C#00C400D500000402
(1512998188.923607) can0 158#0000058700000006
(1512998188.923853) can0 17C#000006300000000B
(1512998188.924062) can0 188#000000010033
(2019-09-10, 13:10)Klojum Wrote:I have raspbian, the terminal is in it, but how to open it from under kodi in a window?(2019-09-10, 13:04)maltsev.v.v Wrote: How to do itThere are no terminal windows on a Raspberry devices, unless you use Raspbian OS.
In Kodi alone, you will need to use SSH.
(2014-11-27, 14:57)zag Wrote: Code@ronie you mention in the python cleanup PR https://github.com/xbmc/xbmc/pull/17456 that line1, line2 will be depreciated.
PHP Code:import xbmcaddon
import xbmcgui
addon = xbmcaddon.Addon()
addonname = addon.getAddonInfo('name')
line1 = "Hello World!"
line2 = "We can write anything we want here"
line3 = "Using Python"
xbmcgui.Dialog().ok(addonname, line1, line2, line3)
python:line1 = "Hello World! We can write anything we want here Using Python"
xbmcgui.Dialog().ok(addonname, line1)
(2020-03-13, 17:01)docwra Wrote: Just out of interest, is it possible to add line breaks in the Dialog popup?
(2020-03-13, 17:01)docwra Wrote: Thanks, I will update the Add-on tutorial.Is Addon tutorial still outdated?
...
(2020-03-13, 18:59)ronie Wrote:But really what is the problem?(2020-03-13, 17:01)docwra Wrote: Just out of interest, is it possible to add line breaks in the Dialog popup?
technically, there is... but it's discouraged for 2 reasons:
1. the width of the dialog varies from skin to skin, so you don't know how long a line can be before it gets wrapped.
2. same applies to localizations. in english the line might be short, but it could be much longer in other languages.
This line will perfectly fit in the estuary skin ![CR]And my second line of text also fits on a single line.[CR]This is the third line of text.
This line will perfectly fit in the estuary skin
!
And my second line of text also fits on a single
line.
This is the third line of text.
(2020-12-06, 02:41)ronie Wrote: ...Yes, but this behavior is unavoidable i think, with only one line too.
in other skin where the message box is just a little less wide, you'll end up with this being displayed:
...Code:This line will perfectly fit in the estuary skin
!
And my second line of text also fits on a single
line.
This is the third line of text.