Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

FIX: DatabaseUtils: more missing handling of FieldEpisodeNumberSpecialSo... #1243

Merged
merged 1 commit into from

2 participants

@koying
Collaborator

...rt and FieldSeasonSpecialSort

@Montellese Montellese merged commit 5727669 into from
@Montellese Montellese was assigned
@LongChair LongChair referenced this pull request from a commit in plexinc/plex-home-theater-public
@LongChair LongChair Fix Unable to initiate playback from Episode listing menu #1243
Was due to Uri being encoded twice, which was messing the final URL
46887c4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 5, 2012
  1. @koying

    FIX: DatabaseUtils: more missing handling of FieldEpisodeNumberSpecia…

    koying authored
    …lSort and FieldSeasonSpecialSort
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  xbmc/utils/DatabaseUtils.cpp
View
3  xbmc/utils/DatabaseUtils.cpp
@@ -372,7 +372,6 @@ int DatabaseUtils::GetFieldIndex(Field field, MediaType mediaType)
else if (field == FieldGenre) index = VIDEODB_ID_TV_GENRE;
else if (field == FieldMPAA) index = VIDEODB_ID_TV_MPAA;
else if (field == FieldStudio) index = VIDEODB_ID_TV_STUDIOS;
- else if (field == FieldSortTitle) index = VIDEODB_ID_TV_SORTTITLE;
else if (field == FieldPath) return VIDEODB_DETAILS_TVSHOW_PATH;
else if (field == FieldDateAdded) return VIDEODB_DETAILS_TVSHOW_DATEADDED;
else if (field == FieldNumberOfEpisodes) return VIDEODB_DETAILS_TVSHOW_NUM_EPISODES;
@@ -399,6 +398,8 @@ int DatabaseUtils::GetFieldIndex(Field field, MediaType mediaType)
else if (field == FieldDirector) index = VIDEODB_ID_EPISODE_DIRECTOR;
else if (field == FieldSeason) index = VIDEODB_ID_EPISODE_SEASON;
else if (field == FieldEpisodeNumber) index = VIDEODB_ID_EPISODE_EPISODE;
+ else if (field == FieldEpisodeNumberSpecialSort) index = VIDEODB_ID_EPISODE_SORTEPISODE;
+ else if (field == FieldSeasonSpecialSort) index = VIDEODB_ID_EPISODE_SORTSEASON;
else if (field == FieldFilename) return VIDEODB_DETAILS_EPISODE_FILE;
else if (field == FieldPath) return VIDEODB_DETAILS_EPISODE_PATH;
else if (field == FieldPlaycount) return VIDEODB_DETAILS_EPISODE_PLAYCOUNT;
Something went wrong with that request. Please try again.