Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

smartplaylist: add "watched episode count" string for tvshows

  • Loading branch information...
commit b8d3e4eb6a5423143ebdc6eea8c106a506307205 1 parent 12091af
@Montellese Montellese authored
Showing with 6 additions and 2 deletions.
  1. +5 −1 language/English/strings.po
  2. +1 −1  xbmc/playlists/SmartPlayList.cpp
View
6 language/English/strings.po
@@ -9702,7 +9702,11 @@ msgctxt "#21456"
msgid "External storage"
msgstr ""
-#empty strings from id 21457 to 21459
+msgctxt "#21457"
+msgid "Watched episode count"
+msgstr ""
+
+#empty strings from id 21458 to 21459
msgctxt "#21460"
msgid "Subtitle location"
View
2  xbmc/playlists/SmartPlayList.cpp
@@ -91,7 +91,7 @@ static const translateField fields[] = {
{ "season", FieldSeason, SortBySeason, CSmartPlaylistRule::NUMERIC_FIELD, 20373 },
{ "episode", FieldEpisodeNumber, SortByEpisodeNumber, CSmartPlaylistRule::NUMERIC_FIELD, 20359 },
{ "numepisodes", FieldNumberOfEpisodes, SortByNumberOfEpisodes, CSmartPlaylistRule::NUMERIC_FIELD, 20360 },
- { "numwatched", FieldNumberOfWatchedEpisodes, SortByNumberOfWatchedEpisodes, CSmartPlaylistRule::NUMERIC_FIELD, 21441 },
+ { "numwatched", FieldNumberOfWatchedEpisodes, SortByNumberOfWatchedEpisodes, CSmartPlaylistRule::NUMERIC_FIELD, 21457 },
{ "videoresolution", FieldVideoResolution, SortByVideoResolution, CSmartPlaylistRule::NUMERIC_FIELD, 21443 },
{ "videocodec", FieldVideoCodec, SortByVideoCodec, CSmartPlaylistRule::TEXTIN_FIELD, 21445 },
{ "videoaspect", FieldVideoAspectRatio, SortByVideoAspectRatio, CSmartPlaylistRule::NUMERIC_FIELD, 21374 },
Please sign in to comment.
Something went wrong with that request. Please try again.