Your 1st Add-On: Hello World! - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: Your 1st Add-On: Hello World! (/showthread.php?tid=209948) |
RE: Your 1st Add-On: Hello World! - Razze - 2017-06-18 well probably not doable via an addon, you would have to read up on it in the documentations RE: Your 1st Add-On: Hello World! - locnp - 2018-05-15 I just modified the app id and dialog message for testing the addon. But kodi said Fail to install, what's wrong? Here the addon zip file: http://locnp.ddns.net:82/script.hello.camel-1.0.2.zip Help me resolve the problem please. RE: Your 1st Add-On: Hello World! - mohammadsaeed01 - 2018-09-03 Hi Guys sorry If I am Hijacking here but I want to know what is the way to play browser.chromium in LibreELEC. I did it like this way but when it closed I saw the programs addon window and I don't want to see it. <item id="80"> <description>Browser</description> <icon>backgrounds/brows.jpg</icon> <label2>icons/chrome.png</label2> <label>Browser</label> <onclick>ActivateWindow(10040,"plugin://browser.chromium/",return)</onclick> </item> Any Idea please. RE: Your 1st Add-On: Hello World! - docwra - 2018-09-03 Please keep on topic, that has nothing to do with the Hello World Add-on RE: Your 1st Add-On: Hello World! - maltsev.v.v - 2019-09-10 Hey. I need to use addon to open terminal in a window and write a command. How to do it. Here is what I need: pi@raspberry: ~ $ cansniffer can0 In the open window there will be different codes Quote:(1512998188.915501) can0 156#F5C200000721 How to do it RE: Your 1st Add-On: Hello World! - Klojum - 2019-09-10 (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. RE: Your 1st Add-On: Hello World! - maltsev.v.v - 2019-09-10 (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. how to write for python import xbmcaddon import xbmcgui import os print = os.system ("cansniffer can0") RE: Your 1st Add-On: Hello World! - docwra - 2020-03-13 (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. Could you give an example of what it should be going forward? Also will the new method be backward compatible? RE: Your 1st Add-On: Hello World! - ronie - 2020-03-13 a bit of background info (reason for this change) can be found here: https://github.com/xbmc/xbmc/pull/3573
will work with kodi Matrix and all previous versions of kodi back to 2013. RE: Your 1st Add-On: Hello World! - docwra - 2020-03-13 Thanks, I will update the Add-on tutorial. Just out of interest, is it possible to add line breaks in the Dialog popup? RE: Your 1st Add-On: Hello World! - ronie - 2020-03-13 (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. RE: Your 1st Add-On: Hello World! - docwra - 2020-03-16 Thanks all updated. I even worked out how to revert a commit for the first time on GitHub, go me! https://github.com/zag2me/script.hello.world RE: Your 1st Add-On: Hello World! - ombra32 - 2020-12-05 Hi guys, I'm new and I'm trying to start developing addons. (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? On Kodi 18.9, if the line length is too long it starts a new line, and if the sum of lines is too height for message box it scrolls the message. Showing info on different lines can often improve readability. RE: Your 1st Add-On: Hello World! - ronie - 2020-12-06 'problems' will arise if lines are too long for a certain skin and kodi will wrap just before the end of the line. assume this is the text you want to display (and it works perfectly in the Estuary skin): 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. 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 similar things will happen with translations that are a little longer than the english text. RE: Your 1st Add-On: Hello World! - ombra32 - 2020-12-06 (2020-12-06, 02:41)ronie Wrote: ...Yes, but this behavior is unavoidable i think, with only one line too. However, many thanks for replying! |