Add sort by date added on movies library mode?
Montellese
Team-XBMC Developer Joined: Jan 2009 Reputation: 20 Location: Switzerland |
2012-06-22 09:32
Post: #151
No, the problem does not originate in XBMC itself because all it does is copy whatever values libsmbclient provides us with. So chances are that there's some code in libsmbclient which is either bugged or for some reason decides to use the mtime value for ctime as well.
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
Memphiz
Team-XBMC Developer Joined: Feb 2011 Reputation: 91 Location: germany |
2012-06-22 10:44
Post: #152
or statfiles is set to false in advancedsettings.xml which would lead to zero reads on ctime/mtime i guess ... (just an unlikly idea)
AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here HowTo setup NFS for XBMC: Wiki NFS HowTo configure avahi (zeroconf): Wiki Avahi READ THE IOS FAQ!: iOS FAQ |
| find quote |
takoi
Fan Posts: 511 Joined: Oct 2009 Reputation: 6 Location: Norway |
2012-06-22 12:07
Post: #153
From samba mailing list:
Quote:> On Tue, Feb 14, 2012 at 11:39:00AM -0700, Christof Schmitt wrote: |
| find quote |
adsi
Member Posts: 75 Joined: Oct 2011 Reputation: 0 |
2012-06-22 13:13
Post: #154
Is it possible to coding "movie release date(premiere)" to Eden library now? IMDB have this date for movies, it'll be a popular function for everyone who like hot movies, of course, smart playlist also have to add this item^^.
(This post was last modified: 2012-06-22 13:19 by adsi.)
|
| find quote |
HyperEscape
Junior Member Posts: 41 Joined: May 2011 Reputation: 0 |
2012-07-21 20:42
Post: #155
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 Appreciate your guidance and clarification.
(This post was last modified: 2012-07-21 20:46 by HyperEscape.)
|
| find quote |

![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)
Search
Help