Class Season
Inheritance
System.Object
Season
Assembly: MediaBrowser.Controller.dll
public sealed class Season : Folder, IHasProviderIds, IHasLookupInfo<ItemLookupInfo>, IHasFolderGrouping, IHasSeries, IHasSeriesName, IHasLookupInfo<SeasonInfo>
Properties
Declaration
[IgnoreDataMember]
public override long DisplayParentId { get; }
Property Value
Type |
Description |
System.Int64 |
|
Overrides
Gets or sets the type of the location.
Declaration
[IgnoreDataMember]
public override LocationType LocationType { get; }
Property Value
Overrides
Declaration
[IgnoreDataMember]
public override bool RecursiveChildCountEqualsChildCount { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
This Episode's Series Instance
Declaration
[IgnoreDataMember]
public Series Series { get; }
Property Value
Type |
Description |
Series |
The series.
|
Declaration
[IgnoreDataMember]
public string SeriesName { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
[IgnoreDataMember]
public string SeriesPath { get; }
Property Value
Type |
Description |
System.String |
|
Declaration
[IgnoreDataMember]
public override bool SupportsGenres { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
[IgnoreDataMember]
public override bool SupportsInheritedParentImages { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
[IgnoreDataMember]
public override bool SupportsPeople { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
[IgnoreDataMember]
public override bool SupportsResetMetadata { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
[IgnoreDataMember]
public override bool SupportsStudios { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
[IgnoreDataMember]
public override bool SupportsThemeMedia { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Methods
This is called before any metadata refresh and returns true or false indicating if changes were made
Declaration
public override bool BeforeMetadataRefresh(bool replaceAllMetdata)
Parameters
Type |
Name |
Description |
System.Boolean |
replaceAllMetdata |
|
Returns
Type |
Description |
System.Boolean |
true if XXXX, false otherwise.
|
Overrides
CreatePresentationUniqueKey(BaseItem[], LibraryOptions, IDataContext)
Declaration
public override string CreatePresentationUniqueKey(BaseItem[] collectionFolders, LibraryOptions libraryOptions, IDataContext dataContext)
Parameters
Returns
Type |
Description |
System.String |
|
Overrides
Declaration
public long FindSeriesId()
Returns
Type |
Description |
System.Int64 |
|
Declaration
public string FindSeriesName()
Returns
Type |
Description |
System.String |
|
FindSeriesPresentationUniqueKey(BaseItem[], LibraryOptions, IDataContext)
Declaration
public string FindSeriesPresentationUniqueKey(BaseItem[] collectionFolders, LibraryOptions libraryOptions, IDataContext dataContext)
Parameters
Returns
Type |
Description |
System.String |
|
Declaration
public string FindSeriesSortName()
Returns
Type |
Description |
System.String |
|
Declaration
public override double GetDefaultPrimaryImageAspectRatio()
Returns
Type |
Description |
System.Double |
|
Overrides
Declaration
public long[] GetEpisodeIds(InternalItemsQuery query)
Parameters
Returns
Type |
Description |
System.Int64[] |
|
GetEpisodeIds(InternalItemsQuery, IDataContext)
Declaration
public long[] GetEpisodeIds(InternalItemsQuery query, IDataContext dataContext)
Parameters
Returns
Type |
Description |
System.Int64[] |
|
Declaration
public QueryResult<BaseItem> GetEpisodes()
Returns
Declaration
public QueryResult<BaseItem> GetEpisodes(InternalItemsQuery query)
Parameters
Returns
GetEpisodes(InternalItemsQuery, IDataContext)
Declaration
public QueryResult<BaseItem> GetEpisodes(InternalItemsQuery query, IDataContext dataContext)
Parameters
Returns
GetItemIdsInternal(InternalItemsQuery, IDataContext)
Declaration
protected override long[] GetItemIdsInternal(InternalItemsQuery query, IDataContext dataContext)
Parameters
Returns
Type |
Description |
System.Int64[] |
|
Overrides
GetItemsInternal(InternalItemsQuery, IDataContext)
Declaration
protected override QueryResult<BaseItem> GetItemsInternal(InternalItemsQuery query, IDataContext dataContext)
Parameters
Returns
Overrides
Gets the lookup information.
Declaration
public SeasonInfo GetLookupInfo(LibraryOptions libraryOptions)
Parameters
Returns
GetSeries(IDataContext)
Declaration
public Series GetSeries(IDataContext dataContext)
Parameters
Returns
GetUserDataKeyInternal(IDataContext)
Declaration
protected override string GetUserDataKeyInternal(IDataContext dataContext)
Parameters
Returns
Type |
Description |
System.String |
|
Overrides
Declaration
public override bool SupportsPlayedStatus()
Returns
Type |
Description |
System.Boolean |
|
Overrides
Implements
Extension Methods