How to build addons?

King23

New member
Apr 22, 2015
14
0
0
How do you build addons..
What language is normally used and is there a guide to learn how to make addons
 

dkplayaclub

New member
Sep 14, 2012
472
0
0
Rochester, NY
You can learn the basics of Python (and many other languages) at codeacademy. After that, there is a pretty good guide by voinage out there that can get you started. Also, hi-way99 (spelled differently to avoid filter) has a sample addon in his repo which will give you an idea of what a basic addon should look like.

EDIT - Also, take a look at this to get you going: http://kodi.wiki/view/HOW-TO:Write_plugins_for_XBMC
 

Don_black

New member
May 25, 2012
33
0
0
Honestly most of the instructions and guides are overwhelming and not systematic. Therefore a beginner or non-coder would not be able to place the instructions together to create a great addon. The majority of addons are created by skilled coders not beginners or novice individuals wanting to create a great experience. The wiki is even overbloated in it's attempt to dissect the process of creating a addon.
 

regisma

Developer
Sep 21, 2014
282
0
0
Hi

It depends if the person have a bit of experience on programming

If the person does not know at all the basic must be learn

If the person have some programming experience then this person can try the following...

For Genesis, what I did was to find the folder :
Plugin.video.genesis

And to find where is located the Xbmc.log file

Then what I have done is to add a print statement at the beginning and at the end of each routine

Example : print 'GENESIS begin movielist'
Print 'GENESIS end movielist'

Note indentation in Python is very important

The reason the print begin with GENESIS is you can filter with the word GENESIS when you edit the Xbmc.log

So by doing this way you will just see what it is related to Genesis only

Then later you can do the same for variable

Example : print 'GENESIS NameOfTheRoutine variable movielist %s' % (movielist)

%s mean a string variable

By addind the NameOfTheRoutine you will know exactly where this variable come from


Basically by playing this way it will help you to understand the code

Regis
 
Last edited: