private void PublishShowSkinProperties(TraktShowAnticipated anticipatedItem) { GUICommon.SetProperty("#Trakt.Show.ListCount", anticipatedItem.ListCount.ToString()); GUICommon.SetProperty("#Trakt.Show.ListCount.Extra", string.Format(Translation.AppearsInList, anticipatedItem.ListCount)); GUICommon.SetShowProperties(anticipatedItem.Show); }
public int Compare(TraktShowAnticipated showX, TraktShowAnticipated showY) { if (_sortField == SortingFields.Anticipated) { int rtn = showX.ListCount.CompareTo(showY.ListCount); if (_sortDirection == SortingDirections.Descending) { rtn = -rtn; } return(rtn); } return(Compare(showX.Show as TraktShowSummary, showY.Show as TraktShowSummary)); }