script.module.codequick
script.module.codequick copied to clipboard
Add view mode at callback level
I have an other suggestion concerning View mode, it would be nice to be able to set the view mode at the callback level by adding it as
@Route.register(view_mode=500)
def root(plugin):
pass
it could be set by: xbmc.executebuiltin('Container.SetViewMode(500)')
Nice idea, but the Kodi team don't like it when addon's force view modes. Not all skins use the same view mode id's so the addon won't look right on some skins.
But thanks for the suggestion anyway. There always welcome.
I know that, but users hate it more when they have to select view mode every time the go to the next page or select a new item.
If I implement it would be in the same way netflix add-on does just give the user the choice to mention those ids by him self if he is using a different skin he would have to use the ids from his skin
I don't see why not give the user the choice to enable it in the add-on settings if they want to.
Your right, it is a pain. I wish Kodi found a better way to handle it. I can add the feature anyway and hopefully the Kodi team will accept it.
Thank you. Hopefully they will admit it.