Kodi addon generator
#31
(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.
Reply
#32
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 '[email protected](none)')


What can I do to fix it?
Thanks a lot!
Reply
#33
(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"
Reply
#34
Is it also possible to use the generator for an Isengard addon?
Would make a lot easier for me.
Reply
#35
(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?
Reply
#36
(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.
Reply
#37
I can't get it to work ...
I installed nodejs, yo and generator-kodi-addon allright
I had to use sudo though, like in :
$ sudo npm install -g yo
$ sudo npm install -g generator-kodi-addon
But I get an error message
$ 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
Reply
#38
(2020-05-03, 22:17)enjoliveur Wrote:
I can't get it to work ...
I installed nodejs, yo and generator-kodi-addon allright
I had to use sudo though, like in :
$ sudo npm install -g yo
$ sudo npm install -g generator-kodi-addon
But I get an error message
$ 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.
Reply
#39
Thumbs Up 
thanks! that worked
Reply
#40
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.
Reply
#41
(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/s...e.routing/
Kodi 17.6 on Dell Optiplex 980 Lubuntu 18.04 | Kodi 18 on HTPC Lubuntu 18.04 | My Add-ons | My Repo
Reply
#42
(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/s...e.routing/
Thank you very much. Works now!
Reply
#43
I'm considering deprecating this tool.
Reply
#44
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, ... ?
Reply
#45
Sure, but I'm not sure who would work on this.
Reply



Logout Mark Read Team Forum Stats Members Help
Kodi addon generator3
This forum uses Lukasz Tkacz MyBB addons.