Permalink
Browse files

consistency: add a comment about inconsistent use of SORT_METHOD_EPIS…

…ODE for sorting by the number of episodes (rather than episode number)
  • Loading branch information...
1 parent fea1776 commit 49e2160aeb8a61c21988626d4a771cc3dc90740f Jonathan Marshall committed Oct 29, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 xbmc/video/GUIViewStateVideo.cpp
@@ -167,6 +167,7 @@ CGUIViewStateWindowVideoNav::CGUIViewStateWindowVideoNav(const CFileItemList& it
else
AddSortMethod(SORT_METHOD_VIDEO_SORT_TITLE, 556, LABEL_MASKS("%T", "%M", "%T", "%M")); // Title, #Episodes | Title, #Episodes
+ // NOTE: This uses SORT_METHOD_EPISODE to mean "sort shows by the number of episodes" and uses the label "Episodes"
AddSortMethod(SORT_METHOD_EPISODE, 20360, LABEL_MASKS("%L", "%M", "%L", "%M")); // Label, #Episodes | Label, #Episodes
AddSortMethod(SORT_METHOD_YEAR, 562, LABEL_MASKS("%L","%Y","%L","%Y")); // Label, Year | Label, Year
SetSortMethod(SORT_METHOD_LABEL);

0 comments on commit 49e2160

Please sign in to comment.