Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Req The default value for <dateadded></dateadded> should be 0
#1
After a long time I understand today why Kodi don't display sort by "date added" movies/TvShows not exactly the movies/TvShows I had recently added.

We must had in "advancedsettings.xml" : 

xml:

<videolibrary>
    <dateadded>0</dateadded>
</videolibrary>

Because default value is "1"
xml:

<!--
0 results in using the current datetime when adding a video;
1 (default) results in prefering to use the files mtime (if it's valid) and only using the file's ctime if the mtime isn't valid;
2 results in using the newer datetime of the file's mtime and ctime
-->

There must be a good reason but I can't figure out what it is.

For now I know what I must do.
But I never thought I'd have to add a such parameter for very basic expected behaviour.

I had opened a issue for this...
https://github.com/xbmc/xbmc/issues/25010

For the new users, users not very technical or every one after all
xml:
<dateadded></dateadded>
 should be 0 by default.
This would be more friendly and intuitive
It is just my feeling.
Reply
#2
i do agree, 0 would be more logical.
however, I think why its 1 is because if you nuke the db and restored you wouldnt want it all to be new.. youd want it to attempt to be back to how it was?
Reply
#3
(2024-04-23, 01:20)thezoggy Wrote: i do agree, 0 would be more logical.
however, I think why its 1 is because if you nuke the db and restored you wouldnt want it all to be new.. youd want it to attempt to be back to how it was?

Personally, I have an automatic backup of all my database every day with a retention period of 1 month. 
And because you can never be too careful, I export the nfo files with Kodi in each folder. 
with this I'm sure I'll come back exactly as before in the event of a major crash in all case and very quickly. Smile
Reply

Logout Mark Read Team Forum Stats Members Help
The default value for <dateadded></dateadded> should be 00
This forum uses Lukasz Tkacz MyBB addons.