Bug [Solved] Update Library changing the View Mode
#1
Hi Marcel,

I found a strange bug that I have long time ago but now I know how to reproduce it.
1) Update Library (From Movies for example)
2) Go back to the Homescreen
3) Go into onw of the categories in the main menu in the Homescreen
4) The view mode is changing to "List"

* This is happening only to the first entry of one of the windows you choose after the "Update Library" progress.
On the second entry to another window or even the same one doesn't make it happen again.

* I even disabled the Trakt sync. The only progress is updating from Universal addon for movies, and from TVDB for TV Shows.

I even record it, you can watch it from here:
http://www47.zippyshare.com/v/mz6wgWdd/file.html

This is very annoying each time to return the view mode back to what it was.

Kodi 17.3
Titan 3.7.62

Thanks.
Reply
#2
I can't reproduce this one. Tried all combinations but the view modes stayed the same. Tried with both forced views On and Off
Reply
#3
Strange, I can reproduce it all the time, very annoying. 
Unless I'm doing the library update, everything is stable with the view modes.
I'm currently not using the Force View option.
Maybe it's one of the scrapers or the Trakt sync addon that running when doing the update library progress.
 
What are the scraper that you are using for Movies, and what for TV Shows?
Are you using the Trakt addon for synchronize?

* By the way, according to this, can you add an option for customizing the View Modes list, so I could be able to change the order as I want?
So I could place the most View Mode that I'm using to be at the top of the list.
(Request R-8 in my open issues & request thread)

Thanks.
Reply
#4
"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.
Image

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

Logout Mark Read Team Forum Stats Members Help
[Solved] Update Library changing the View Mode0