Permalink
Browse files

pvr: Sort recordings view by date as default (most recent recording o…

…n top)
  • Loading branch information...
1 parent c606dbf commit 65ffefcc4d00f593ec3b5147d5a5b8cca7b84f8b @fetzerch fetzerch committed Nov 15, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 xbmc/pvr/windows/GUIViewStatePVR.cpp
@@ -40,6 +40,9 @@ CGUIViewStatePVR::CGUIViewStatePVR(const CFileItemList& items) :
AddSortMethod(SORT_METHOD_SIZE, 553, LABEL_MASKS("%L", "%I", "%L", "%I")); // FileName, Size | Foldername, Size
AddSortMethod(SORT_METHOD_DATE, 552, LABEL_MASKS("%L", "%J", "%L", "%J")); // FileName, Date | Foldername, Date
AddSortMethod(SORT_METHOD_FILE, 561, LABEL_MASKS("%L", "%I", "%L", "")); // Filename, Size | FolderName, empty
+
+ // Sort recordings view by date as default
+ SetSortMethod(SORT_METHOD_DATE);
}
LoadViewState(items.GetPath(), ActiveView == PVR_WINDOW_UNKNOWN ? WINDOW_PVR : WINDOW_PVR + 100 - ActiveView );

0 comments on commit 65ffefc

Please sign in to comment.