Selecting correct addon type
I am trying to decipher what type my addon shoud be (what <extension>s it should have).
It is supposed to provide different type of information to my skin, both lists and single items. It is NOT going to provide any type of media, ie. the lists are going to contain items that do NOT represent media files (but information like available genres for the currently selected library node).
So, in order to be able to generate lists, I need to have <extension> of xbmc.python.pluginsource - to be able to acquire addon handle required to create lists: library= file should be called as plugin://script.module.stiff?param=value from <contents>.
In order to generate single items, I need to have <extension> of xbmc.python.library - and this can be another library= file, that should be called like $ADDON[script.module.stiff arg1 arg2]
Kodi automagically selects correct the right <extension library='file'> depending on context.
It this right