script.module.codequick icon indicating copy to clipboard operation
script.module.codequick copied to clipboard

Add view mode at callback level

Open chamchenko opened this issue 3 years ago • 4 comments

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)')

chamchenko avatar May 05 '21 00:05 chamchenko

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.

willforde avatar May 05 '21 01:05 willforde

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.

chamchenko avatar May 05 '21 07:05 chamchenko

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.

willforde avatar May 05 '21 16:05 willforde

Thank you. Hopefully they will admit it.

chamchenko avatar May 06 '21 06:05 chamchenko