2018-10-07, 12:40
Hello and thank for this tutorial.
I'm new at addon dev, and i've reused your code for testing and understanding how it work. And for testing, i've tried to adapt and display my trakt.tv list of current shows
But i have a question.
On the category page, when i open the sideblade menu, the viewType is set to list, and i can't change it, in other addon, i can change it to wall, large etc.
And i can't figure out why. By reading doc and other forums thread, i've tried to add this line:
just before
but it do nothing, i've tried with lot of other id (501,510,51 etc)
Do i need to add something in the addon code to support different ViewType? My google search give me nothing about this part, except this 'Container.SetviewMode' line. Can't understand what i'm doing wrong
I'm new at addon dev, and i've reused your code for testing and understanding how it work. And for testing, i've tried to adapt and display my trakt.tv list of current shows
But i have a question.
On the category page, when i open the sideblade menu, the viewType is set to list, and i can't change it, in other addon, i can change it to wall, large etc.
And i can't figure out why. By reading doc and other forums thread, i've tried to add this line:
python:xbmc.executebuiltin('Container.SetViewMode(57)')
just before
python:xbmcplugin.endOfDirectory(__handle__)
but it do nothing, i've tried with lot of other id (501,510,51 etc)
Do i need to add something in the addon code to support different ViewType? My google search give me nothing about this part, except this 'Container.SetviewMode' line. Can't understand what i'm doing wrong