Class BaseItemsRequest
Inheritance
System.Object
BaseItemsRequest
Assembly: MediaBrowser.Controller.dll
public abstract class BaseItemsRequest : IHasDtoOptions, IHasItemFields
Constructors
Declaration
protected BaseItemsRequest()
Properties
Declaration
public string AdjacentTo { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public DayOfWeek[] AirDays { get; set; }
Property Value
Type |
Description |
System.DayOfWeek[] |
|
Declaration
public int? AiredDuringSeason { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public string AlbumArtistIds { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string AlbumArtistStartsWithOrGreater { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string AlbumIds { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string Albums { get; set; }
Property Value
Type |
Description |
System.String |
|
Provider IDs to match at least one of.
Declaration
public string AnyProviderIdEquals { get; set; }
Property Value
Type |
Description |
System.String |
The any provider id equals filter.
|
Declaration
public string ArtistIds { get; set; }
Property Value
Type |
Description |
System.String |
|
Gets or sets the studios.
Declaration
public string Artists { get; set; }
Property Value
Type |
Description |
System.String |
The studios.
|
Declaration
public string ArtistStartsWithOrGreater { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string ArtistType { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string AudioCodecs { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string AudioLanguages { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string AudioLayouts { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public bool? CanEditItems { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public string CollectionIds { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string Containers { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string ContributingArtistIds { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public bool? EnableImages { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public string EnableImageTypes { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public bool EnableTotalRecordCount { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool? EnableUserData { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public string ExcludeArtistIds { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string ExcludeItemIds { get; set; }
Property Value
Type |
Description |
System.String |
|
Gets or sets the exclude item types.
Declaration
public string ExcludeItemTypes { get; set; }
Property Value
Type |
Description |
System.String |
The exclude item types.
|
Declaration
public string ExcludeTagIds { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string ExcludeTags { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string ExtendedVideoTypes { get; set; }
Property Value
Type |
Description |
System.String |
|
Fields to return within the items, in addition to basic information
Declaration
public string Fields { get; set; }
Property Value
Type |
Description |
System.String |
The fields.
|
Filters to apply to the results
Declaration
public string Filters { get; set; }
Property Value
Type |
Description |
System.String |
The filters.
|
Declaration
public string GenreIds { get; set; }
Property Value
Type |
Description |
System.String |
|
Limit results to items containing specific genres
Declaration
public string Genres { get; set; }
Property Value
Type |
Description |
System.String |
The genres.
|
Declaration
public ItemLinkType? GroupItemsInto { get; set; }
Property Value
Declaration
public bool GroupItemsIntoCollections { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool GroupProgramsBySeries { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool? HasAired { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? HasImdbId { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? HasOfficialRating { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? HasOverview { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? HasParentalRating { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? HasSpecialFeature { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? HasSubtitles { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? HasThemeSong { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? HasThemeVideo { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? HasTmdbId { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? HasTrailer { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? HasTvdbId { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Gets or sets the item ids.
Declaration
public string Ids { get; set; }
Property Value
Type |
Description |
System.String |
The item ids.
|
Declaration
public int? ImageTypeLimit { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Gets or sets the image types.
Declaration
public string ImageTypes { get; set; }
Property Value
Type |
Description |
System.String |
The image types.
|
Gets or sets the include item types.
Declaration
public string IncludeItemTypes { get; set; }
Property Value
Type |
Description |
System.String |
The include item types.
|
Gets or sets the video formats.
Declaration
public bool? Is3D { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
The video formats.
|
Declaration
public bool? Is4K { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? IsAiring { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Gets or sets the Isfavorite option
Declaration
public bool? IsFavorite { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
IsFavorite
|
Declaration
public bool? IsFolder { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? IsHD { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? IsKids { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? IsLocked { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? IsMovie { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? IsNew { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? IsNewOrPremiere { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? IsNews { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? IsPlaceHolder { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? IsPlayed { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? IsPremiere { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? IsRepeat { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? IsSeries { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? IsSports { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? IsUnaired { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
The maximum number of items to return
Declaration
public int? Limit { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
The limit.
|
Declaration
public string ListItemIds { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string MaxEndDate { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public int? MaxHeight { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Gets or sets the max offical rating.
Declaration
public string MaxOfficialRating { get; set; }
Property Value
Type |
Description |
System.String |
The max offical rating.
|
Declaration
public int? MaxPlayers { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public string MaxPremiereDate { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string MaxStartDate { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public int? MaxWidth { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Gets or sets the media types.
Declaration
public string MediaTypes { get; set; }
Property Value
Type |
Description |
System.String |
The media types.
|
Declaration
public double? MinCommunityRating { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Double> |
|
Declaration
public double? MinCriticRating { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Double> |
|
Declaration
public string MinDateLastSaved { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string MinDateLastSavedForUser { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string MinEndDate { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public int? MinHeight { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public int? MinIndexNumber { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Gets or sets the min offical rating.
Declaration
public string MinOfficialRating { get; set; }
Property Value
Type |
Description |
System.String |
The min offical rating.
|
Declaration
public int? MinPlayers { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public string MinPremiereDate { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string MinStartDate { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public int? MinWidth { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public string NameLessThan { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string NameStartsWith { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string NameStartsWithOrGreater { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string OfficialRatings { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string OuterIds { get; set; }
Property Value
Type |
Description |
System.String |
|
Specify this to localize the search to a specific item or folder. Omit to use the root.
Declaration
public string ParentId { get; set; }
Property Value
Type |
Description |
System.String |
The parent id.
|
Declaration
public int? ParentIndexNumber { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public string Path { get; set; }
Property Value
Type |
Description |
System.String |
|
Limit results to items containing a specific person
Declaration
public string Person { get; set; }
Property Value
Type |
Description |
System.String |
The person.
|
Declaration
public string PersonIds { get; set; }
Property Value
Type |
Description |
System.String |
|
If the Person filter is used, this can also be used to restrict to a specific person type
Declaration
public string PersonTypes { get; set; }
Property Value
Type |
Description |
System.String |
The type of the person.
|
Declaration
public bool ProjectToMedia { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public int RandomSeed { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public string RecordingKeyword { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public KeywordType? RecordingKeywordType { get; set; }
Property Value
Whether or not to perform the query recursively
Declaration
public bool Recursive { get; set; }
Property Value
Type |
Description |
System.Boolean |
true if recursive; otherwise, false .
|
Declaration
public string SearchTerm { get; set; }
Property Value
Type |
Description |
System.String |
|
Gets or sets the series status.
Declaration
public string SeriesStatus { get; set; }
Property Value
Type |
Description |
System.String |
The series status.
|
What to sort the results by
Declaration
public string SortBy { get; set; }
Property Value
Type |
Description |
System.String |
The sort by.
|
Gets or sets the sort order.
Declaration
public string SortOrder { get; set; }
Property Value
Type |
Description |
System.String |
The sort order.
|
Skips over a given number of items within the results. Use for paging.
Declaration
public int? StartIndex { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
The start index.
|
Declaration
public string StudioIds { get; set; }
Property Value
Type |
Description |
System.String |
|
Limit results to items containing specific studios
Declaration
public string Studios { get; set; }
Property Value
Type |
Description |
System.String |
The studios.
|
Declaration
public string SubtitleCodecs { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string SubtitleLanguages { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string TagIds { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string Tags { get; set; }
Property Value
Type |
Description |
System.String |
|
Gets or sets the user id.
Declaration
public Guid UserId { get; set; }
Property Value
Type |
Description |
System.Guid |
The user id.
|
Declaration
public string VideoCodecs { get; set; }
Property Value
Type |
Description |
System.String |
|
Gets or sets the video types.
Declaration
public string VideoTypes { get; set; }
Property Value
Type |
Description |
System.String |
The video types.
|
Limit results to items containing specific years
Declaration
public string Years { get; set; }
Property Value
Type |
Description |
System.String |
The years.
|
Methods
Gets the AnyProviderIdEquals filter.
Declaration
public List<KeyValuePair<string, string>> GetAnyProviderIdEquals()
Returns
Type |
Description |
System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<System.String, System.String>> |
Dictionary{string, string}.
|
Declaration
public string[] GetAudioCodecs()
Returns
Type |
Description |
System.String[] |
|
Declaration
public string[] GetAudioLanguages()
Returns
Type |
Description |
System.String[] |
|
Declaration
public string[] GetAudioLayouts()
Returns
Type |
Description |
System.String[] |
|
Declaration
public string[] GetContainers()
Returns
Type |
Description |
System.String[] |
|
Declaration
public string[] GetExcludeItemTypes()
Returns
Type |
Description |
System.String[] |
|
Declaration
public string[] GetExcludeTags()
Returns
Type |
Description |
System.String[] |
|
GetExtendedVideoTypes()
Declaration
public ExtendedVideoTypes[] GetExtendedVideoTypes()
Returns
Declaration
public ItemFilter[] GetFilters()
Returns
Type |
Description |
ItemFilter[] |
IEnumerable{ItemFilter}.
|
Declaration
public string[] GetGenres()
Returns
Type |
Description |
System.String[] |
|
Declaration
public ImageType[] GetImageTypes()
Returns
Type |
Description |
ImageType[] |
IEnumerable{ImageType}.
|
Declaration
public string[] GetIncludeItemTypes()
Returns
Type |
Description |
System.String[] |
|
Declaration
public string[] GetMediaTypes()
Returns
Type |
Description |
System.String[] |
|
Declaration
public string[] GetOfficialRatings()
Returns
Type |
Description |
System.String[] |
|
Declaration
public (string, SortOrder)[] GetOrderBy()
Returns
Type |
Description |
System.ValueTuple<System.String, SortOrder>[] |
IEnumerable{ItemSortBy}.
|
Declaration
public static (string, SortOrder)[] GetOrderBy(string sortBy, string requestedSortOrder)
Parameters
Type |
Name |
Description |
System.String |
sortBy |
|
System.String |
requestedSortOrder |
|
Returns
Type |
Description |
System.ValueTuple<System.String, SortOrder>[] |
|
Declaration
public PersonType[] GetPersonTypes()
Returns
Declaration
public string[] GetStudios()
Returns
Type |
Description |
System.String[] |
|
Declaration
public string[] GetSubtitleCodecs()
Returns
Type |
Description |
System.String[] |
|
Declaration
public string[] GetSubtitleLanguages()
Returns
Type |
Description |
System.String[] |
|
Declaration
public string[] GetTags()
Returns
Type |
Description |
System.String[] |
|
Declaration
public string[] GetVideoCodecs()
Returns
Type |
Description |
System.String[] |
|
Declaration
Returns
Type |
Description |
System.Int32[] |
|
Implements
Extension Methods