Class Season
Class Season
Implements
Inherited Members
Namespace: MediaBrowser.Controller.Entities.TV
Assembly: MediaBrowser.Controller.dll
Syntax
public sealed class Season : Folder, IHasProviderIds, IHasLookupInfo<ItemLookupInfo>, IHasFolderGrouping, IHasSeries, IHasSeriesName, IHasLookupInfo<SeasonInfo>
Properties
DisplayParentId
Declaration
[IgnoreDataMember]
public override long DisplayParentId { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Overrides
LocationType
Gets or sets the type of the location.
Declaration
[IgnoreDataMember]
public override LocationType LocationType { get; }
Property Value
Type | Description |
---|---|
LocationType | The type of the location. |
Overrides
Series
This Episode's Series Instance
Declaration
[IgnoreDataMember]
public Series Series { get; }
Property Value
Type | Description |
---|---|
Series | The series. |
SeriesName
Declaration
[IgnoreDataMember]
public string SeriesName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SeriesPath
Declaration
[IgnoreDataMember]
public string SeriesPath { get; }
Property Value
Type | Description |
---|---|
System.String |
SupportsGenres
Declaration
[IgnoreDataMember]
public override bool SupportsGenres { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
SupportsInheritedParentImages
Declaration
[IgnoreDataMember]
public override bool SupportsInheritedParentImages { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
SupportsPeople
Declaration
[IgnoreDataMember]
public override bool SupportsPeople { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
SupportsResetMetadata
Declaration
[IgnoreDataMember]
public override bool SupportsResetMetadata { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
SupportsStudios
Declaration
[IgnoreDataMember]
public override bool SupportsStudios { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
SupportsThemeMedia
Declaration
[IgnoreDataMember]
public override bool SupportsThemeMedia { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Methods
BeforeMetadataRefresh(Boolean)
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 |
|
Overrides
CreatePresentationUniqueKey(BaseItem[], LibraryOptions)
Declaration
public override string CreatePresentationUniqueKey(BaseItem[] collectionFolders, LibraryOptions libraryOptions)
Parameters
Type | Name | Description |
---|---|---|
BaseItem[] | collectionFolders | |
LibraryOptions | libraryOptions |
Returns
Type | Description |
---|---|
System.String |
Overrides
FindSeriesId()
Declaration
public long FindSeriesId()
Returns
Type | Description |
---|---|
System.Int64 |
FindSeriesName()
Declaration
public string FindSeriesName()
Returns
Type | Description |
---|---|
System.String |
FindSeriesPresentationUniqueKey()
Declaration
public string FindSeriesPresentationUniqueKey()
Returns
Type | Description |
---|---|
System.String |
FindSeriesSortName()
Declaration
public string FindSeriesSortName()
Returns
Type | Description |
---|---|
System.String |
GetDefaultPrimaryImageAspectRatio()
Declaration
public override double GetDefaultPrimaryImageAspectRatio()
Returns
Type | Description |
---|---|
System.Double |
Overrides
GetEpisodeIds(InternalItemsQuery)
Declaration
public long[] GetEpisodeIds(InternalItemsQuery query)
Parameters
Type | Name | Description |
---|---|---|
InternalItemsQuery | query |
Returns
Type | Description |
---|---|
System.Int64[] |
GetEpisodes()
Declaration
public QueryResult<BaseItem> GetEpisodes()
Returns
Type | Description |
---|---|
QueryResult<BaseItem> |
GetEpisodes(InternalItemsQuery)
Gets the episodes.
Declaration
public QueryResult<BaseItem> GetEpisodes(InternalItemsQuery query)
Parameters
Type | Name | Description |
---|---|---|
InternalItemsQuery | query |
Returns
Type | Description |
---|---|
QueryResult<BaseItem> |
GetItemIdsInternal(InternalItemsQuery)
Declaration
protected override long[] GetItemIdsInternal(InternalItemsQuery query)
Parameters
Type | Name | Description |
---|---|---|
InternalItemsQuery | query |
Returns
Type | Description |
---|---|
System.Int64[] |
Overrides
GetItemsInternal(InternalItemsQuery)
Declaration
protected override QueryResult<BaseItem> GetItemsInternal(InternalItemsQuery query)
Parameters
Type | Name | Description |
---|---|---|
InternalItemsQuery | query |
Returns
Type | Description |
---|---|
QueryResult<BaseItem> |
Overrides
GetLookupInfo(LibraryOptions)
Gets the lookup information.
Declaration
public SeasonInfo GetLookupInfo(LibraryOptions libraryOptions)
Parameters
Type | Name | Description |
---|---|---|
LibraryOptions | libraryOptions |
Returns
Type | Description |
---|---|
SeasonInfo | SeasonInfo. |
GetUserDataKeyInternal()
Declaration
protected override string GetUserDataKeyInternal()
Returns
Type | Description |
---|---|
System.String |
Overrides
SupportsPlayedStatus()
Declaration
public override bool SupportsPlayedStatus()
Returns
Type | Description |
---|---|
System.Boolean |