Req Set default view type for all menu's - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: Req Set default view type for all menu's (/showthread.php?tid=374159) |
Set default view type for all menu's - kingsize - 2023-08-20 Hi all Now I'm assuming this is a kodi request/issue rather than it being something specific to how add-ons are wrighten. Of course please correct me if you feel I'm wrong but what I'm about to describe effects all video plugins I have tried. Also, I'm sure this must have all ready been covered but my poor googling skill's have not returned with an answer. So apologies in advance if this is else where all ready. So here goes Today I have been using the vimeo app and I have managed to login to my account in order to play some of my watch list. It works pretty well as most videos play but my issue is that rather than having the list display as the default "WideList" I prefer "Wall". I change it in the menu to "Wall" and it dose as expected, however when I then go to the next page, that is again displayed in "WideList". It seems that in each new page I have to select "Wall" from the menu. Now is there a way I can default to wall? Am I missing something? I find this is the default behavior in all add-ons I've tried hence why I think it's more kodi than the add-ons them self's. Viemo, BBCi & Prime to name but a few. Thanks in advance RE: Set default view type for all menu's - jbinkley60 - 2023-08-20 (2023-08-20, 15:35)kingsize Wrote: Hi all Kodi saves the view setting once you visit a page in the addon vs. a global addon setting. If you make a setting change and then go back to the same page in the addon, the view setting should be retained. But to your point, this is a painful approach for some addons. I author the Mezzmo Kodi addon and added global view settings a long time ago for this very reason. So there is at least one addon where this behavior is not present If you go back to a page where you have previously set the view mode and it has changed, then that will need further investigation and could be caused by some addon dynamic menu structures (i.e. the page is different when you went back to it).. I can say it is a lot of work to add this functionality into an addon. If anyone wants to see some of the code, it can be found here. The other problem is that now all skins support the same view modes and the view mode numbers for the same view can be different across skins. Thanks, Jeff RE: Set default view type for all menu's - kingsize - 2023-08-22 Thank you very much for your detailed answer Jeff. So I was wrong and it would down to the add-on creator to change this behavior. Yes it's very painful lol. And no, once the change is made it sticks for that particular menu. Been using Kodi/Xbmc for many years, started on an Xbox back in the day. May be it's time I learnt how to program a little. Thanks Again RE: Set default view type for all menu's - jbinkley60 - 2023-08-22 (2023-08-22, 12:12)kingsize Wrote: Thank you very much for your detailed answer Jeff. The view setting sticking once you have visited a page is Kodi doing that. For the addon developers they could provide an option based upon media type or similar (i.e. I provide it based upon menu position, movies, TV episodes, pictures etc..) which isn't too difficult. But what make it difficult is the lack of view settings / numbers standardization across skins. Thanks, Jeff |