Kodi Community Forum
Why "update library" reset the view options? - 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: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: Why "update library" reset the view options? (/showthread.php?tid=343100)



Why "update library" reset the view options? - markzzz - 2019-04-17

Hi all,

I'm on kodi-18.1-Leia-x64 (Windows 10 Professional).

I've created a new Category under Movie.
When I open it, I can see the correct results (ordered by some values, with some rules, and so on).

Than I open the left menu, and I update library from there.
Once it finished, it clear the view options, reset it to the "last" selected option. So if previously, on different category (or main folder) I select "by title", than once I update library from within my new category, it switch the order to "by title" instead of my custom settings.

Is it intended? Or bug?
Thanks


RE: Why "update library" reset the view options? - Klojum - 2019-04-17

The library updates have absolutely zero to do with skin settings. Perhaps ypu can provide a debug log of those events? Also there is Kodi 18.2 now.


RE: Why "update library" reset the view options? - markzzz - 2019-04-17

Not sure how to log.
Try to add a category (whatever you want), content movie, select an ordering (by added date for example), than restart kodi, update library: you will see it will set by default "order by title".
Once you re-enter the category, the order back to the one you have set creating the category.


Why "update library" reset the view options? - DarrenHill - 2019-04-17

To receive meaningful assistance you will need to provide a full debug log.

The instructions are here... debug log (wiki)

If you are using the Basic Method, then ensure the following is applied...
1.Enable debugging in Settings>System Settings>Logging,
2.Restart Kodi
3.Replicate the problem.
4.Upload the log to Kodi Paste Site manually or use the Kodi Logfile Uploader. (wiki) With either method post the link to the log back here.

If you are using the Advanced Method ensure you have correctly created and applied the advancedsettings.xml file (wiki)

In both instances, you should see the word DEBUG throughout the log.

Note: Full logs only. No partial or redacted logs
Do NOT post your logs directly into the forum. Use the Kodi Paste Site. Post the link to your pasted log in the forum



RE: Why "update library" reset the view options? - markzzz - 2019-04-17

Here's the log: https://paste.kodi.tv/okazixocib.kodi


RE: Why "update library" reset the view options? - scott967 - 2019-04-18

I think what OP is objecting to, is he appears to have a custom node under movies that he opens from home window:
Code:
library://video/movies/test-0.xml/

once in videos window he does an update and when update completes Kodi loads this:
Code:
videodb://movies/titles/?xsp={"order":{"direction":"descending","ignorefolders":0,"method":"dateadded"},"type":"movies"}

which I guess maybe defaults to title sortorder, or maybe the last sortorder used and stored in guisettings.  (I've never understood how view settings are saved/restored across ViewModes6.db and guisettings.)

scott s.
.


RE: Why "update library" reset the view options? - Karellen - 2019-04-18

(2019-04-18, 01:41)scott967 Wrote: which I guess maybe defaults to title sortorder, or maybe the last sortorder used and stored in guisettings.  (I've never understood how view settings are saved/restored across ViewModes6.db and guisettings.)
Yep, that seems to get asked a lot in the skin sections. How do you bulk change all your views to one particular view instead of changing each (for example) movie set view individually.

Something I would like to know also.


RE: Why "update library" reset the view options? - markzzz - 2019-04-18

(2019-04-18, 01:41)scott967 Wrote: which I guess maybe defaults to title sortorder, or maybe the last sortorder used and stored in guisettings.
Exactly. Once I update library, the "node" default to the last settings set by user.
How can I fix it?


RE: Why "update library" reset the view options? - markzzz - 2019-05-04

News for this? Will be fixed?
Thanks


RE: Why "update library" reset the view options? - markzzz - 2019-05-15

BUMP? Smile