"marcelveldt" @
marcelveldt
Finally!! After very long time, I have found what cause this annoying problem of view mode changing after update library.
It's all about "Super Favorites" addon and widgets that have been use it for their content.
I will explain.
1) In "Super Favorites" there is a setting in "Display" called "view type".
In my case, the value there was "50" which means "List" view mode.
2) Also there are some widgets that based on Super Favorites items.
3) For unknown reason, when doing these steps:
a. Update Library.
b. Going back to Home Screen
c. Then, get into one of the main items in less then ~20-30 seconds.
d. The view mode of the current window was changing to the view mode in the "view type" setting that I mentioned.
By the logs I have found that the Super Favorites is running after doing steps a+b,
So Super Favorites activates the "view type" setting in this case which from unknown reason takes affect after go into an item in less then ~20-30 seconds since the Update Library was activated.
Code:
22:55:20.380 T:14756 DEBUG: Super Favourites V1.0.56.rus : ------------------ Launch Parameters ------------------
22:55:20.380 T:14756 DEBUG: Super Favourites V1.0.56.rus : ?label=TV&mode=400&path=special%3A%2F%2Fprofile%2Faddon_data%2Fplugin.program.super.favourites%2FSuper+Favourites%5CTV&image=https%3A%2F%2Fpbs.twimg.com%2Fprofile_images%2F759628557555474433%2FIwVxLvwO.jpg&fanart=C%3A%5CUsers%5CaUser%5CAppData%5CRoaming%5CKodi%5Caddons%5Cplugin.program.super.favourites%5Cfanart.jpg&content_type=&reload=2017121920550420171219205403
22:55:20.380 T:14756 DEBUG: Super Favourites V1.0.56.rus : ['plugin://plugin.program.super.favourites/', '167', '?label=TV&mode=400&path=special%3A%2F%2Fprofile%2Faddon_data%2Fplugin.program.super.favourites%2FSuper+Favourites%5CTV&image=https%3A%2F%2Fpbs.twimg.com%2Fprofile_images%2F759628557555474433%2FIwVxLvwO.jpg&fanart=C%3A%5CUsers%5CaUser%5CAppData%5CRoaming%5CKodi%5Caddons%5Cplugin.program.super.favourites%5Cfanart.jpg&content_type=&reload=2017121920550420171219205403']
22:55:20.380 T:14756 DEBUG: Super Favourites V1.0.56.rus : mode = 400
22:55:20.380 T:14756 DEBUG: Super Favourites V1.0.56.rus : cmd = None
22:55:20.380 T:14756 DEBUG: Super Favourites V1.0.56.rus : folder =
22:55:20.380 T:14756 DEBUG: Super Favourites V1.0.56.rus : params = {'fanart': 'C:\\Users\\aUser\\AppData\\Roaming\\Kodi\\addons\\plugin.program.super.favourites\\fanart.jpg', 'image': 'https://pbs.twimg.com/profile_images/759628557555474433/IwVxLvwO.jpg', 'label': 'TV', 'reload': '2017121920550420171219205403', 'mode': '400', 'content_type': '', 'path': 'special://profile/addon_data/plugin.program.super.favourites/Super Favourites\\TV'}
22:55:20.380 T:14756 DEBUG: Super Favourites V1.0.56.rus : launchMode =
22:55:20.380 T:14756 DEBUG: Super Favourites V1.0.56.rus : contentType = movies
22:55:20.380 T:14756 DEBUG: Super Favourites V1.0.56.rus : viewType = 50
22:55:20.380 T:14756 DEBUG: Super Favourites V1.0.56.rus : isHome = False
22:55:20.380 T:14756 DEBUG: Super Favourites V1.0.56.rus : itemIndex = -1
22:55:20.381 T:14756 DEBUG: Super Favourites V1.0.56.rus : ident = 167
22:55:20.381 T:14756 DEBUG: Super Favourites V1.0.56.rus : -------------------------------------------------------
The solution was just changing the value to '0' or leave it empty.- I still think that it should be checked why the widgets run the addon Super Favorites (Or any other addon that used by the widgets) after each "Update Library" activation.
- And why it happens when I go into one of the items in less then ~20-30 seconds, because if was waiting more then that, this problem wasn't occur.
(Of course, I need also to understand what is the purpose of setting view mode in Super Favorites but it's another issue)