2017-09-20, 17:56
http://kodi.wiki/view/Add-on_structure
look at addon-type table
and from there https://forum.kodi.tv/showthread.php?tid=315666
"The abstraction is a virtual filesystem. The plugin can return directories (calls to itself with particular parameters), playable files or just files which is the hook to do 'stuff' which does not generate a new listing, such as show a dialog, search etc.
If this abstraction is not appripriate, you want to do a script instead. This is a fullblown window, with full customization of the gui components and such. More work.
the library extension point is for code shared between multiple pluginsources and/or scripts. It is not related to the media library interpretation of the term library"
look at addon-type table
and from there https://forum.kodi.tv/showthread.php?tid=315666
"The abstraction is a virtual filesystem. The plugin can return directories (calls to itself with particular parameters), playable files or just files which is the hook to do 'stuff' which does not generate a new listing, such as show a dialog, search etc.
If this abstraction is not appripriate, you want to do a script instead. This is a fullblown window, with full customization of the gui components and such. More work.
the library extension point is for code shared between multiple pluginsources and/or scripts. It is not related to the media library interpretation of the term library"