• 1
  • 10
  • 11
  • 12(current)
  • 13
  • 14
  • 15
Your 1st Add-On: Hello World!
Just want to send you a big thank you for this addon... I'm not a developer at all, but I was able to use it to put together a scheduled reminder that should help my parents take their medications more regularly. Cheers!

http://forum.kodi.tv/showthread.php?tid=269962

Image
Reply
Hi I'm new on kodi addon develepment. I'm trying to do a wrapper for a website that podcast trials. What I've done is on github in the file default.py. Im acived to get the first page with the list of audio file; also acived to play them. But I cannot let it load the second page. It give me an error related with handle

14:23:37 T:123145307209728 WARNING: Attempt to use invalid handle -1

someone can help?
Reply
Hi,

I'm trying to write hello world addon on linux 14.04

I ran a git clone from this repository https://github.com/zag2me/script.hello.world
zipped it and got

dependencies unmet.

I did a simple download from here: https://github.com/zag2me/script.hello.w...master.zip

tried to install it

got same error


The error log showed this for both instances:


260 20:17:20 T:139625716836288 ERROR: Texture manager unable to load file: /home/i/Desktop/script.hello.world-master.zip/icon.png

a curious error as it is a zip file not sure why its trying to browse it as a folder?


I then tried to make the source script.hello.world-master a folder named (unzipped) script.hello.world-master.zip/ so it could reference it the way it is trying to, however could not install it as it was not a real zip file

Any and all help much appreciated.

I also did read docs and it stated the icon.png is not mandatory - my experience here seems to say different please clarify. thanks for your help.
Reply
Hello everyone,

I developed a addon for kodi, and wanted to make Message Box just like Hello World, and it does work, but the problem is, it shows up everytime i go to a different menu inside the addon.
Is there a way to make it only show up at the beginning of the addon?

Thanks btw!!
Reply
Hi,

I have a very fundamental issue when trying to run the hello world python script. It seems that xbmc python modules are not available.
The system is Libreelec 7.0.1 including Kodi 16.1

Code:
LibreELEC:~ # python /storage/.kodi/userdata/Scripts/HelloWorld.py
Traceback (most recent call last):
  File "/storage/.kodi/userdata/Scripts/HelloWorld.py", line 1, in <module>
    import xbmcaddon
ImportError: No module named xbmcaddon
Reply
(2016-08-30, 21:32)sakos Wrote: Hi,

I have a very fundamental issue when trying to run the hello world python script. It seems that xbmc python modules are not available.
The system is Libreelec 7.0.1 including Kodi 16.1

Code:
LibreELEC:~ # python /storage/.kodi/userdata/Scripts/HelloWorld.py
Traceback (most recent call last):
  File "/storage/.kodi/userdata/Scripts/HelloWorld.py", line 1, in <module>
    import xbmcaddon
ImportError: No module named xbmcaddon

those modules are only available when run inside kodi.
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.
Reply
For testing purposes you can use

Code:
kodi-send --action='RunScript("/path/to/script.py")'

From the command line (SSH)
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
Updated metadata with <asset>, <news> and <screenshot> tags so people start using them.

https://github.com/zag2me/script.hello.w.../addon.xml
Reply
(2016-08-30, 21:48)DarrenHill Wrote: For testing purposes you can use

Code:
kodi-send --action='RunScript("/path/to/script.py")'

From the command line (SSH)
Many thanks!
Reply
- Added new "resources" folder
- Moved fanart.jpg and icon.png into "resources" folder
- New screenshot-01.jpg in "resources" folder
- Updated addon.xml to reflect resources changes
- Added <news> tag to addon.xml
- Added readme.txt

Hopefully this makes it all up-to-date with all the new functionality coming with Kodi v17

You can see the updated addon.xml file here:

https://github.com/zag2me/script.hello.w.../addon.xml
Reply
Hello,

Thanks for your help and good tutorials I managed to implement my first addon.
Now, my issue is that the addon needs manual start by clicking on "run" button in the addon menu. Other addons has grey run button and they start immediately when got enabled. How can I achive this behavior in my addon? In other words what shall be changed in the hello World addon to run it automatically?
Reply
(2016-11-08, 22:00)sakos Wrote: Hello,

Thanks for your help and good tutorials I managed to implement my first addon.
Now, my issue is that the addon needs manual start by clicking on "run" button in the addon menu. Other addons has grey run button and they start immediately when got enabled. How can I achive this behavior in my addon? In other words what shall be changed in the hello World addon to run it automatically?

Your probably looking for a service, not a script. Read up here: http://kodi.wiki/view/Service_Add-ons
Reply
(2016-11-08, 22:30)Razze Wrote: Your probably looking for a service, not a script. Read up here: http://kodi.wiki/view/Service_Add-ons
Yes, you are right. This is what I am looking for. Thanks.
Reply
(2016-11-08, 22:30)Razze Wrote: Your probably looking for a service, not a script. Read up here: http://kodi.wiki/view/Service_Add-ons

Is this the right forum to get support with service addon? I installed the example service addon in Kodi v17. It works as I expected however it hangs Kodi when I try to disable it.
Reply
(2016-11-09, 22:38)sakos Wrote:
(2016-11-08, 22:30)Razze Wrote: Your probably looking for a service, not a script. Read up here: http://kodi.wiki/view/Service_Add-ons

Is this the right forum to get support with service addon? I installed the example service addon in Kodi v17. It works as I expected however it hangs Kodi when I try to disable it.

Right forum yes, right topic, no. Please create your own.
Reply
  • 1
  • 10
  • 11
  • 12(current)
  • 13
  • 14
  • 15

Logout Mark Read Team Forum Stats Members Help
Your 1st Add-On: Hello World!5