Skip to content
This repository
Browse code

advanced filtering: add tag filter to tvshows and musicvideos

  • Loading branch information...
commit b9f5cb3cdc520512402a946881f9671ecbd7368e 1 parent 705242e
Sascha Montellese authored February 05, 2013

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  xbmc/dialogs/GUIDialogMediaFilter.cpp
2  xbmc/dialogs/GUIDialogMediaFilter.cpp
@@ -75,6 +75,7 @@ static const CGUIDialogMediaFilter::Filter filterList[] = {
75 75
   { "tvshows",      FieldRating,        563,    SettingInfo::RANGE,       CSmartPlaylistRule::OPERATOR_BETWEEN },
76 76
   { "tvshows",      FieldInProgress,    575,    SettingInfo::CHECK,       CSmartPlaylistRule::OPERATOR_FALSE },
77 77
   { "tvshows",      FieldYear,          562,    SettingInfo::RANGE,       CSmartPlaylistRule::OPERATOR_BETWEEN },
  78
+  { "tvshows",      FieldTag,           20459,  SettingInfo::BUTTON,      CSmartPlaylistRule::OPERATOR_EQUALS },
78 79
   { "tvshows",      FieldGenre,         515,    SettingInfo::BUTTON,      CSmartPlaylistRule::OPERATOR_EQUALS },
79 80
   { "tvshows",      FieldActor,         20337,  SettingInfo::BUTTON,      CSmartPlaylistRule::OPERATOR_EQUALS },
80 81
   { "tvshows",      FieldDirector,      20339,  SettingInfo::BUTTON,      CSmartPlaylistRule::OPERATOR_EQUALS },
@@ -95,6 +96,7 @@ static const CGUIDialogMediaFilter::Filter filterList[] = {
95 96
   { "musicvideos",  FieldAlbum,         558,    SettingInfo::BUTTON,      CSmartPlaylistRule::OPERATOR_EQUALS },
96 97
   //{ "musicvideos",  FieldTime,          180,    SettingInfo::TODO,        CSmartPlaylistRule::TODO },
97 98
   { "musicvideos",  FieldYear,          562,    SettingInfo::RANGE,       CSmartPlaylistRule::OPERATOR_BETWEEN },
  99
+  { "musicvideos",  FieldTag,           20459,  SettingInfo::BUTTON,      CSmartPlaylistRule::OPERATOR_EQUALS },
98 100
   { "musicvideos",  FieldGenre,         515,    SettingInfo::BUTTON,      CSmartPlaylistRule::OPERATOR_EQUALS },
99 101
   { "musicvideos",  FieldDirector,      20339,  SettingInfo::BUTTON,      CSmartPlaylistRule::OPERATOR_EQUALS },
100 102
   { "musicvideos",  FieldStudio,        572,    SettingInfo::BUTTON,      CSmartPlaylistRule::OPERATOR_EQUALS },

0 notes on commit b9f5cb3

Please sign in to comment.
Something went wrong with that request. Please try again.