Kodi Community Forum
Kodi addon generator - 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: Kodi addon generator (/showthread.php?tid=305664)

Pages: 1 2 3


RE: Kodi addon generator - Razze - 2018-02-25

(2018-02-25, 19:14)Pirriaf Wrote: hello everyone I found this fantastic yo .... I tried it with an example for a script and it works great .... now I was trying for a context menu but it gives me error ... here my log. ..

https://pastebin.com/d1R5GDBp

he tells me he can not find the "resources.lib" module .... what can I do? tnx
 Your addon should have folders resouces and in that folder should be a folder lib. Both should include a __init__.py file and the lib folder should store most of your code.


RE: Kodi addon generator - cyrusecond - 2018-12-10

Hello everyone!
Although I am new to Kodi, I want to thank you so much for building that generator!
I've installed it, but I have a problem:


? Your addon will provide the following media types. video
? Your addon id, it should be in the format plugin.name and not contain spaces. (for e.g. plugin.test.hello) plugin.viva
? Your addon name, it should be easily readable. (for e.g. Hello World) viva
? Choose the minimal Kodi Version your targeting. Krypton
? Which platforms does this run with? android
? Choose your license. Apache 2.0
? All author names? (seperated by ,) Guy Caspi
? What does your addon do? Viva channel Israel from Walla VOD
? Your real name? We are using this for the license creation. Guy Caspi
? Your email address? (for e.g. [email protected]) [email protected]
? Your website URL? (for e.g. www.kodi.tv) viva.walla.co.il/fullepisodes
Your generator must be inside a folder named plugin.viva
I'll automatically create this folder.
   create addon.xml
   create .gitignore
   create .travis.yml
   create changelog.txt
   create README.md
   create main.py
   create resources\lib\plugin.py
   create tests\README.md
   create resources\__init__.py
   create resources\settings.xml
   create resources\language\README.md
   create resources\language\resource.language.en_gb\strings.po
   create resources\lib\__init__.py
   create resources\lib\kodiutils.py
   create resources\lib\kodilogging.py
   create resources\lib\README.md
   create LICENSE
warning: LF will be replaced by CRLF in LICENSE.
The file will have its original line endings in your working directory

*** Please tell me who you are.

Run

  git config --global user.email "[email protected]"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'guyca@DESKTOP-DKM4LEB.(none)')


What can I do to fix it?
Thanks a lot!


RE: Kodi addon generator - Razze - 2018-12-12

(2018-12-10, 17:49)cyrusecond Wrote:   git config --global user.email "[email protected]"
  git config --global user.name "Your Name"

Just do as it says and setup your git settings:
  git config --global user.email "[email protected]"
  git config --global user.name "Your Name"


Kodi addon generator - Peziman - 2019-01-05

Is it also possible to use the generator for an Isengard addon?
Would make a lot easier for me.


RE: Kodi addon generator - Razze - 2019-01-09

(2019-01-05, 01:14)Peziman Wrote: Is it also possible to use the generator for an Isengard addon?
Would make a lot easier for me.
 Might be possible, but why would you target such an old version?


RE: Kodi addon generator - Peziman - 2019-01-10

(2019-01-09, 14:56)Razze Wrote:
(2019-01-05, 01:14)Peziman Wrote: Is it also possible to use the generator for an Isengard addon?
Would make a lot easier for me.
 Might be possible, but why would you target such an old version?
I want to write some addons for the raspberry pi Carpc project. The vehicle navigation unfortunately only runs with the old version. unfortunately I am bound to it.


RE: Kodi addon generator - enjoliveur - 2020-05-03

shell:
I can't get it to work ...
I installed nodejs, yo and generator-kodi-addon allright
I had to use sudo though, like in :
shell:
$ sudo npm install -g yo
$ sudo npm install -g generator-kodi-addon
But I get an error message
shell:
$ yo kodi
You don't seem to have a generator with the name “kodi” installed.
If I use sudo here there is a much longer error message

Any idea?
Thanks


RE: Kodi addon generator - Razze - 2020-05-04

(2020-05-03, 22:17)enjoliveur Wrote:
shell:
I can't get it to work ...
I installed nodejs, yo and generator-kodi-addon allright
I had to use sudo though, like in :
shell:
$ sudo npm install -g yo
$ sudo npm install -g generator-kodi-addon
But I get an error message
shell:
$ yo kodi
You don't seem to have a generator with the name “kodi” installed.
If I use sudo here there is a much longer error message

Any idea?
Thanks

Try `yo kodi-addon` or just `yo` and you will get a selection.


RE: Kodi addon generator - enjoliveur - 2020-05-04

thanks! that worked


RE: Kodi addon generator - n0b3s - 2020-06-06

In Kodi this error occurs when i open the addon (I haven't changed anything, it's just the basic structure, that your program generated): https://paste.kodi.tv/oguzexaxuf.kodi
I have no idea where to get that routing module from.


RE: Kodi addon generator - MetalChris - 2020-06-06

(2020-06-06, 00:01)n0b3s Wrote: In Kodi this error occurs when i open the addon (I haven't changed anything, it's just the basic structure, that your program generated): https://paste.kodi.tv/oguzexaxuf.kodi
I have no idea where to get that routing module from.

Try this:

https://mirrors.kodi.tv/addons/krypton/script.module.routing/


RE: Kodi addon generator - n0b3s - 2020-06-06

(2020-06-06, 15:09)MetalChris Wrote:
(2020-06-06, 00:01)n0b3s Wrote: In Kodi this error occurs when i open the addon (I haven't changed anything, it's just the basic structure, that your program generated): https://paste.kodi.tv/oguzexaxuf.kodi
I have no idea where to get that routing module from.

Try this:

https://mirrors.kodi.tv/addons/krypton/script.module.routing/
Thank you very much. Works now!


RE: Kodi addon generator - Razze - 2020-06-10

I'm considering deprecating this tool.


RE: Kodi addon generator - ch007m - 2020-10-09

As the yeoman kodi addon generator is deprecated and project non longer maintained, could it be nevertheless possible that the skeleton of a project / type (audio, video, plugin, ...) is hosted under a github repo to let a the developers
to copy/paste them when they create a new plugin, ... ?


RE: Kodi addon generator - Razze - 2020-10-11

Sure, but I'm not sure who would work on this.