Posts: 126
Joined: Aug 2009
Reputation:
0
2009-09-25, 16:32
Hi guys, most user i think would like to have in the movies library the option to sort them by date added... Can you add it? Thank you!! Bye
Posts: 30
Joined: Aug 2008
Reputation:
0
there is an latest added movies entry in your library, isnt that enough?
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
we don't store the date in the db.... the information is simply not available atm
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
if its such a high priority, do it and submit a diff.
Posts: 126
Joined: Aug 2009
Reputation:
0
yes I know that it's here but for not so expert user it's not user friendly... This is used also by my parents and for them it's yet difficult like this... However if you tell me what file I need to modify to add this option... I can try... I need the file of file view so i try to cut and copy the block of sort by date and the file of library mode.. Or it's the same file? However where can i find them?
Posts: 4,132
Joined: May 2004
Reputation:
4
sho
Team-XBMC Member
Posts: 4,132
Have you actually looked at the "Recently added Movies" library node?
Posts: 126
Joined: Aug 2009
Reputation:
0
yes but it isn't the same.... there i can see only few movies... So if I want to see movies added most day before i can't see them... I don't see what's difficult... It's like window... Sort by date... What's difference beetween library and files... nothing.. So why library don't have this option? However if you tell me where to find files to modify i try myself... Thank you
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
1) VideoDatabase.cpp to store the field as well as the code for storing the fields when stuff is added
2) SortFileItem.cpp to setup the sorting code
3) GUIViewStateVideo.cpp to add the sorting option to the window
if you want to sort by file date (a diff i will reject from svn inclusion) you can just do part 2&3) there.
Posts: 699
Joined: Sep 2004
Reputation:
0
Can XBMC access file attributes? It could be handled by looking at the last modified date of the file, right?
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
of course - but that's the diff i said i would reject
Posts: 424
Joined: Aug 2008
Reputation:
0
2009-10-02, 23:38
(This post was last modified: 2011-02-16, 05:50 by TeknoJnky.)
I don't understand why some people are so against having a file date sort criteria, especially in the library.
Its way more useful than library added date, especially when you have to rescan your library from scratch or dealing with multiple xbmc installations that are scanned at different times (and thus could have different files scanned in different orders).