Class Episode
Inheritance
System.Object
Episode
Assembly: MediaBrowser.Controller.dll
public sealed class Episode : Video, IHasProviderIds, IHasLookupInfo<ItemLookupInfo>, IHasMediaSources, IHasLookupInfo<EpisodeInfo>, IHasSeries, IHasSeriesName
Properties
Declaration
[IgnoreDataMember]
public override long DisplayParentId { get; }
Property Value
Type |
Description |
System.Int64 |
|
Overrides
Declaration
[IgnoreDataMember]
protected override bool EnableDefaultVideoUserDataKeys { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
[IgnoreDataMember]
public override bool ForceDefaultAspectRatio { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
This is the ending episode number for double episodes.
Declaration
[IgnoreDataMember]
public int? IndexNumberEnd { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
The index number.
|
Declaration
[IgnoreDataMember]
public bool IsInSeasonFolder { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
[IgnoreDataMember]
public bool IsMissingEpisode { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
[IgnoreDataMember]
public override long LatestItemsContainerId { get; }
Property Value
Type |
Description |
System.Int64 |
|
Overrides
Declaration
[IgnoreDataMember]
public Season Season { get; }
Property Value
Declaration
[IgnoreDataMember]
public Season SeasonFolder { get; }
Property Value
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 |
|
Gets the season in which it aired.
Declaration
[IgnoreDataMember]
public int? SortIndexNumber { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
The aired season.
|
Declaration
[IgnoreDataMember]
public int? SortParentIndexNumber { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
[IgnoreDataMember]
protected override bool SupportsAlternateVersions { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
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 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
Declaration
public override bool BeforeMetadataRefresh(bool replaceAllMetdata)
Parameters
Type |
Name |
Description |
System.Boolean |
replaceAllMetdata |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Determines whether [contains episode number] [the specified number].
Declaration
public bool ContainsEpisodeNumber(int number)
Parameters
Type |
Name |
Description |
System.Int32 |
number |
The number.
|
Returns
Type |
Description |
System.Boolean |
true if [contains episode number] [the specified number]; otherwise, false .
|
Declaration
public bool ContainsEpisodeNumbers(int start, int end)
Parameters
Type |
Name |
Description |
System.Int32 |
start |
|
System.Int32 |
end |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static SpecialEpisodeNumbers ConvertSpecialEpisodeNumbers(LegacySpecialEpisodeNumbers legacySpecialEpisodeNumbers)
Parameters
Returns
CreatePresentationUniqueKey(BaseItem[], LibraryOptions, IDataContext)
Declaration
public override string CreatePresentationUniqueKey(BaseItem[] collectionFolders, LibraryOptions libraryOptions, IDataContext dataContext)
Parameters
Returns
Type |
Description |
System.String |
|
Overrides
Declaration
public string FindSeasonName()
Returns
Type |
Description |
System.String |
|
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 EpisodeInfo 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 HasPlaceholderMatadata()
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public void ImportSpecialEpisodeNumbers(SpecialEpisodeNumbers specialEpisodeNumbers)
Parameters
Declaration
public void ImportSpecialEpisodeNumbers(SpecialEpisodeNumbers specialEpisodeNumbers, LegacySpecialEpisodeNumbers legacySpecialEpisodeNumbers)
Parameters
Declaration
public override void UpdateHideFromResume(User user, UserItemData userData, BaseItem[] collectionFolders, bool hide)
Parameters
Overrides
Implements
Extension Methods