aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/lib/libPython/xbmcmodule/listitem.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/xbmc/lib/libPython/xbmcmodule/listitem.cpp b/xbmc/lib/libPython/xbmcmodule/listitem.cpp
index d802c51fd3..035deb011a 100644
--- a/xbmc/lib/libPython/xbmcmodule/listitem.cpp
+++ b/xbmc/lib/libPython/xbmcmodule/listitem.cpp
@@ -663,6 +663,13 @@ namespace PYXBMC
{ // special case for mime type - don't actually stored in a property,
self->item->SetMimeType(uText);
}
+ else if (lowerKey.CompareNoCase("specialsort") == 0)
+ {
+ if (uText == "bottom")
+ self->item->SetSpecialSort(SORT_ON_BOTTOM);
+ else if (uText == "top")
+ self->item->SetSpecialSort(SORT_ON_TOP);
+ }
else
self->item->SetProperty(lowerKey.ToLower(), uText.c_str());
PyXBMCGUIUnlock();