Differens between Python Scripts, Plugins & Addons? Frameworks for building a Addon?
#1
Question 
Hi

I am thinking about trying to write an addon using the lovefilm api - are there any addon 'patterns' or 'frameworks' around that I can use to start with or is it a matter of looking at someone else’s addon and dissecting it.

With idea of addons happening rather and scripts and plugins - what are the differences?

Cheers

Matthew
Reply
#2
just found this:

http://wiki.xbmc.org/index.php?title=Add...opement%29

any other info welcome though!
Reply
#3
Here few example of addons you can look at:
http://code.google.com/p/xbmc-addons/sou...253Dclosed
http://code.google.com/p/passion-xbmc/so...k%2Faddons

Mostly the big difference will be the way you can localization string and settings, but that pretty simple.
The API has a lot of more but in most of the case you will code a addons as you were doing a plugin or a script.
Image
_____________________________

Repositories Installer: select and install unofficial repositories / TAC.TV: watch videos on TAC.TV
Installer Passion-XBMC: Download and Install Add-ons (pre-Dharma only)

Image
Reply
#4
thanks!

So an addon would be in a dir which would contain at least:
  • addon.xml
  • default.py - the name of this is defined on the xml
  • icon.png

Right just need to learn python now!
Reply
#5
Yes, also I believe it will complain if you don't have a settings.xml file under resources dir (in your addon dir).

You can also add a changelog.txt at the root level describing the content of the version and/or history of changes but this is optional.

After that, writing a script or plugin addon will be as different as when in camelot you were writing a script and a plugin.
Image
_____________________________

Repositories Installer: select and install unofficial repositories / TAC.TV: watch videos on TAC.TV
Installer Passion-XBMC: Download and Install Add-ons (pre-Dharma only)

Image
Reply

Logout Mark Read Team Forum Stats Members Help
Differens between Python Scripts, Plugins & Addons? Frameworks for building a Addon?0