(2012-06-09, 10:20)Montellese Wrote: I have merged the pull request with the default value being the behaviour that prefers mtime over ctime or the current time. To get the old (Eden) behaviour back <dateadded> in <videolibrary> needs to be set to 0. To get XBMC to choose the newer date from mtime and ctime <dateadded> needs to be set to 2.
Hello ,
I have been looking for an answer to the same query. I am a relative newbie with the following setup:
Dell Studio Hybrid 140G running Windows 7 Ultimate 32-Bit. 4GB RAM/40G HDD/Core2Duo 1.6Ghz/Intel 965 GPU. Fresh and clean installed XBMC 11 (the latest available) version from website.
Movie collection on NAS HDDs. The NAS server is a thin client machine(Dell Optiplex FX160) running Windows 7 with two USB harddisk connected shared as windows SAMBA network drives.
The movie structure is that under the root folder, there is one movie folder (by the movie name) for each movie file contained inside.
The video accelerator is a Broadcom BCM70012 with the latest CrystalHD drivers installed.
Wired 1000bps CAT6 network running via a Linksys WRT610N router to connect everything.
Both network drives are mapped on the PC running XBMC as local drives with drive letters W: and X: (instead of giving a UNC path \\192.x.x.x\XYZ)
I also have seen the same behavior, when I created a library in v11 from scratch via rescan and even with the sorting method of "Date Added" in Library mode, I cannot see the most recently added movies on the top (in ascending or descending order). Instead the movies are sorted in a strange and somehow incomprehensible way and mostly they are random with some old movies appearing at the top and so on.
Just for information for someone in the same dilemma, this is how I handled the unwanted updation in the folder modification time.
I exported the NFO files containing the movie URL from Extreme Movie Manager before a rescan of the library in XBMC, this would help the land XBMC on the exact IMDB URL instead of incorrect scraping in case of many common movie names. Since the NFO file was created one per folder, the modification time (or
mtime or
LastWriteTime in Windows PowerShell) for each folder was updated to the current date/time. This would result in a total disaster since there would be no sorting on the latest added movies. However the created date (or
ctime or
CreationTime in Windows PowerShell) for every folder was still intact. So I created a powershell script in Windows 7 (with expert help from the relevant forum) to update the modification time of each folder to be equal to the creation time and also a script to update the creation and modification time of the folder with the files contained inside, since the files were untouched. The script did work as intended.
I did all this hoping that XBMC in ver 11 would finally be able to do this in the library view, to sort the movies on the basis of their modification or creation time as saved in the NTFS file system, not on the date when they were added to the XBMC library.
However now I am confused, is this feature available in Eden in the desired way or not. With reference to the thread subject and the discussion over here
https://github.com/xbmc/xbmc/pull/1034 so far what I understand is that the XBMC behavior would be controlled via the parameter in the advancedsettings.xml file. Is this now implemented in the current stable Eden V11 release.? If not then is there a better way to achieve the desired sorting in the Library mode as of now.
Apparently the Joe Miller script which did the trick for me in Dharma 10.1 would not work in Eden as mentioned here
https://github.com/joemiller/xbmc-script...1b121ba6f9
Thanks for your guidance and clarification.