aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelupus <elupus@svn>2010-08-29 18:59:55 +0000
committerelupus <elupus@svn>2010-08-29 18:59:55 +0000
commit9b2c5675371dbacb45fe7376f767447456843445 (patch)
tree826114fd8aaec58a533e845d4bfa3943c7ae5576
parentaf76562f8e20dccc7d497a80572ea3ae6d02e9b2 (diff)
changed: add unsorted sorting method to rss feeds
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@33317 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r--xbmc/FileSystem/RSSDirectory.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/xbmc/FileSystem/RSSDirectory.cpp b/xbmc/FileSystem/RSSDirectory.cpp
index 5288c09cea..b6dddf37b4 100644
--- a/xbmc/FileSystem/RSSDirectory.cpp
+++ b/xbmc/FileSystem/RSSDirectory.cpp
@@ -596,6 +596,11 @@ bool CRSSDirectory::GetDirectory(const CStdString& path, CFileItemList &items)
items.Add(item);
}
+ items.AddSortMethod(SORT_METHOD_UNSORTED , 231, LABEL_MASKS("%L", "%D", "%L", "")); // FileName, Duration | Foldername, empty
+ items.AddSortMethod(SORT_METHOD_LABEL , 551, LABEL_MASKS("%L", "%D", "%L", "")); // FileName, Duration | Foldername, empty
+ items.AddSortMethod(SORT_METHOD_SIZE , 553, LABEL_MASKS("%L", "%I", "%L", "%I")); // FileName, Size | Foldername, Size
+ items.AddSortMethod(SORT_METHOD_DATE , 552, LABEL_MASKS("%L", "%J", "%L", "%J")); // FileName, Date | Foldername, Date
+
m_items = items;
m_path = strPath;