diff options
Diffstat (limited to 'MediaBrowser.Model/Querying/ItemQuery.cs')
| -rw-r--r-- | MediaBrowser.Model/Querying/ItemQuery.cs | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/MediaBrowser.Model/Querying/ItemQuery.cs b/MediaBrowser.Model/Querying/ItemQuery.cs index 0f929fa9b..0cdf5ca7a 100644 --- a/MediaBrowser.Model/Querying/ItemQuery.cs +++ b/MediaBrowser.Model/Querying/ItemQuery.cs @@ -39,11 +39,11 @@ namespace MediaBrowser.Model.Querying public string[] SortBy { get; set; } /// <summary> - /// Filter by artists + /// Gets or sets the artist ids. /// </summary> - /// <value>The artists.</value> - public string[] Artists { get; set; } - + /// <value>The artist ids.</value> + public string[] ArtistIds { get; set; } + /// <summary> /// The sort order to return results with /// </summary> @@ -93,16 +93,10 @@ namespace MediaBrowser.Model.Querying public string[] Genres { get; set; } /// <summary> - /// Limit results to items containing specific genres - /// </summary> - /// <value>The genres.</value> - public string[] AllGenres { get; set; } - - /// <summary> - /// Limit results to items containing specific studios + /// Gets or sets the studio ids. /// </summary> - /// <value>The studios.</value> - public string[] Studios { get; set; } + /// <value>The studio ids.</value> + public string[] StudioIds { get; set; } /// <summary> /// Gets or sets the exclude item types. @@ -126,7 +120,7 @@ namespace MediaBrowser.Model.Querying /// Limit results to items containing a specific person /// </summary> /// <value>The person.</value> - public string Person { get; set; } + public string[] PersonIds { get; set; } /// <summary> /// If the Person filter is used, this can also be used to restrict to a specific person type @@ -306,13 +300,14 @@ namespace MediaBrowser.Model.Querying VideoTypes = new VideoType[] { }; Genres = new string[] { }; - Studios = new string[] { }; + StudioIds = new string[] { }; IncludeItemTypes = new string[] { }; ExcludeItemTypes = new string[] { }; Years = new int[] { }; PersonTypes = new string[] { }; Ids = new string[] { }; - Artists = new string[] { }; + ArtistIds = new string[] { }; + PersonIds = new string[] { }; ImageTypes = new ImageType[] { }; AirDays = new DayOfWeek[] { }; |
