(2015-07-19, 21:12)koby50 Wrote: (2015-07-19, 20:14)pipcan Wrote: READ .......... COPY ............ PASTE ......... SAVE......... RUN.........ERROR ............... REPEAT if this has not happend 50 to 100 times you ent trying hard enough
how i can check if its works?
i need to install the add every time .?
you can plugin that working?
how much time its take? to do it?
The way I develop my addons is to start by creating a folder (as per pipcan's post) and then creating the addon.xml file (as this is what Kodi needs to make your addon/plugin accessible to users). Once that's set up I write the first version of the script. I try running the script at which point (at least 99 times out of 100) I'll get a "script failed" message. I take a look at the kodi.log file and realise I've made some stupid typo etc, fix it, and then try running the addon again.
So, to answer your questions:
"How can I check if it works?": Basically, it works if it does what you want it to do! If it doesn't then it's not working but you can check for errors in the log file.
"I need to install the add[on] every time?": No. Assuming the addon.xml file is correct then there's no need to reload (slightly different for services I think but I don't think you're writing one of those yet).
"You can plugin that working?": Sorry, not sure what you mean? If you just want to look at the code of existing plugins then you can have a look at the code in your "addons" folder.
"How much time its take? to do it?": There's no answer to this question as it depends on lots of factors: How much time do you have? Are you trying to do something very difficult? How much experience do you have at writing addons?
I'd really recommend that you go over the
Hello World example and read the other posts to as there are some helpful tips in there.
When you get stuck then please come back and ask for some help.
Good luck.