Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

DatabaseUtils: add missing handling of FieldEpisodeNumberSpecialSort …

…and FieldSeasonSpecialSort
  • Loading branch information...
commit c2dca6fffd7f74ddaa02403072e9ca0680cd1a7b 1 parent ff1b9a8
@Montellese Montellese authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  xbmc/utils/DatabaseUtils.cpp
2  xbmc/utils/DatabaseUtils.cpp
@@ -235,6 +235,8 @@ std::string DatabaseUtils::GetField(Field field, MediaType mediaType, DatabaseQu
else if (field == FieldDirector) result.Format("episodeview.c%02d", VIDEODB_ID_EPISODE_DIRECTOR);
else if (field == FieldSeason) result.Format("episodeview.c%02d", VIDEODB_ID_EPISODE_SEASON);
else if (field == FieldEpisodeNumber) result.Format("episodeview.c%02d", VIDEODB_ID_EPISODE_EPISODE);
+ else if (field == FieldEpisodeNumberSpecialSort) result.Format("episodeview.c%02d", VIDEODB_ID_EPISODE_SORTEPISODE);
+ else if (field == FieldSeasonSpecialSort) result.Format("episodeview.c%02d", VIDEODB_ID_EPISODE_SORTSEASON);
else if (field == FieldFilename) return "episodeview.strFilename";
else if (field == FieldPath) return "episodeview.strPath";
else if (field == FieldPlaycount) return "episodeview.playCount";
Please sign in to comment.
Something went wrong with that request. Please try again.