Sexy screen layout like Arte +7
#1
Can somebody tell me how Arte +7 gets their screen layout like this?
Image
[Imgur](https://i.imgur.com/532g7Ae.png
In the side menu you can choose the View: 'Wall info', 'List info', Large etc.
I'm working on a video addon with xbmcswift2 but I only get the boring standard layout
Like this:
Image

Thanks for your help ((:
Reply
#2
Your addon has to set it's container to the correct view type.  Check out:

https://kodi.wiki/view/List_of_built-in_...ilt-in.27s

To use built in functions you'd need to use xbmc.executebuiltin()

https://codedocs.xyz/xbmc/xbmc/group__py...c14e926015

You'd have to ask the Arte+ 7 folks which view that is.  Also, that ID won't necessarily be the same view for every skin, so you'd have to figure out how to fall back to some kind of default view if the skin didn't have the view mode ID (or it was one that didn't make sense).

You're only other choice would be to build a window from scratch, but then it won't look like any skin, or you'd have to build custom XML files for every skin you wanted to mirror.

https://codedocs.xyz/xbmc/xbmc/group__py...__xml.html
Reply
#3
Hhhhhhmm
That is indeed what I was talking about.
I recognise the Container.NextViewMode function.
But the plugin.video.arteplussept add-on doesn't contain any of the functions defined in the Container class.
Is it the add-on that delivers the functionality or Kodi?
Reply
#4
I think, than you should set content type to 'movies' using method before you call
Code:
xbmcplugin.endOfDirectory()
My addons: Gismeteo
Reply
#5
Yes indeed! Thanks
I am surprised that the View mode in coded in the Skin
But it seems to make sense
Reply

Logout Mark Read Team Forum Stats Members Help
Sexy screen layout like Arte +70