skin.arctic.horizon
skin.arctic.horizon copied to clipboard
My Addon doesnt show up at all in this skin
Hi there,
When I click my addon to open it I get a blank screen with the title in the top left.
Works in Estuary
How can I fix that?
Is your add-on setting the content type (https://romanvm.github.io/Kodistubs/_autosummary/xbmcplugin.html#xbmcplugin.setContent)? If not, then the skin can't figure out which view to use, because it doesn't know what type of content your add-on has.
No it does not. Where would that setting go? In the default.py after the adddir or in the settings.xml
It goes in Python, basically at any point in your plugin's execution before you call https://romanvm.github.io/Kodistubs/_autosummary/xbmcplugin.html#xbmcplugin.endOfDirectory.
In general, Python methods go in Python files, not in the XML 😉
can you give me an example of where in an addon and the code would be so I can see where it goes and what to put?
something like this?
xbmcplugin.setContent(int(sys.argv[1]), 'tvshows')
Thanks Ive got it
@mrXoo The documentation I linked above includes a list of the valid content types, and an example of how to use it 👌
It should still show up if the content type is none.
Make sure that you're using latest version of script.skinvariables (v0.2.6) and then go to
Skin Settings > Items and Views > Customise Viewtypes
and scroll down the bottom and click Reset all plugin views...
I identified an issue about a month ago where it was possible to end up in scenario where the views for plugins wouldn't reset properly and you'd end up with no views assigned in some plugins and no way to reset them. It was fixed in v0.2.6, so if you're only using v0.2.5 from the official repo then you might've stumbled across the same issue
Relevant commit in skinvariables: https://github.com/jurialmunkey/script.skinvariables/commit/24c352e367835c978dd19ea34f377846b3885ac3