Class Video
Inheritance
System.Object
Video
Assembly: MediaBrowser.Controller.dll
public class Video : BaseItem, IHasProviderIds, IHasLookupInfo<ItemLookupInfo>, IHasMediaSources
Properties
Declaration
[IgnoreDataMember]
public override string ContainingFolderPath { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Declaration
[IgnoreDataMember]
protected virtual bool EnableDefaultVideoUserDataKeys { get; }
Property Value
Type |
Description |
System.Boolean |
|
Gets a value indicating whether [is3 D].
Declaration
[IgnoreDataMember]
public bool Is3D { get; }
Property Value
Type |
Description |
System.Boolean |
true if [is3 D]; otherwise, false .
|
Declaration
[IgnoreDataMember]
public override bool IsMedia { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
[IgnoreDataMember]
public override bool IsResolvedToFolder { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Gets the type of the media.
Declaration
[IgnoreDataMember]
public override string MediaType { get; }
Property Value
Type |
Description |
System.String |
The type of the media.
|
Overrides
Declaration
[IgnoreDataMember]
public override bool SupportsAdditionalParts { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
[IgnoreDataMember]
protected virtual bool SupportsAlternateVersions { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
[IgnoreDataMember]
public override bool SupportsExternalTransfer { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
[IgnoreDataMember]
public override bool SupportsExtras { 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 SupportsLocalTrailers { 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 SupportsStudios { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
[IgnoreDataMember]
public override bool SupportsThemeMedia { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
[IgnoreDataMember]
public bool SupportsThumbnails { get; }
Property Value
Type |
Description |
System.Boolean |
|
Gets or sets the video3 D format.
Declaration
[IgnoreDataMember]
public Video3DFormat? Video3DFormat { get; set; }
Property Value
Type |
Description |
System.Nullable<Video3DFormat> |
The video3 D format.
|
Methods
Declaration
public override bool CanDownload()
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public static async Task CreateBif(Stream stream, int intervalMs, List<FileSystemMetadata> images)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
System.Int32 |
intervalMs |
|
System.Collections.Generic.List<FileSystemMetadata> |
images |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
CreatePresentationUniqueKey(BaseItem[], LibraryOptions, IDataContext)
Declaration
public override string CreatePresentationUniqueKey(BaseItem[] collectionFolders, LibraryOptions libraryOptions, IDataContext dataContext)
Parameters
Returns
Type |
Description |
System.String |
|
Overrides
Declaration
protected override List<Tuple<BaseItem, MediaSourceType>> GetAllItemsForMediaSources(User user, bool enableAlternateMediaSources)
Parameters
Type |
Name |
Description |
User |
user |
|
System.Boolean |
enableAlternateMediaSources |
|
Returns
Overrides
Declaration
public List<long> GetAlternateVersionIds()
Returns
Type |
Description |
System.Collections.Generic.List<System.Int64> |
|
Declaration
public MediaStream GetDefaultVideoStream()
Returns
Declaration
public static ThumbnailSetInfo[] GetLocalThumbnailSetInfos(string videoPath, Guid itemGuid, bool enableCache, IDirectoryService directoryService)
Parameters
Type |
Name |
Description |
System.String |
videoPath |
|
System.Guid |
itemGuid |
|
System.Boolean |
enableCache |
|
IDirectoryService |
directoryService |
|
Returns
Declaration
public static ThumbnailSetInfo[] GetMetadataFolderThumbnailSetInfos(string videoPath, Guid itemGuid, IDirectoryService directoryService)
Parameters
Type |
Name |
Description |
System.String |
videoPath |
|
System.Guid |
itemGuid |
|
IDirectoryService |
directoryService |
|
Returns
Declaration
public override List<ExternalUrl> GetRelatedUrls()
Returns
Type |
Description |
System.Collections.Generic.List<ExternalUrl> |
|
Overrides
Declaration
public override long GetRunTimeTicksForPlayState()
Returns
Type |
Description |
System.Int64 |
|
Overrides
Declaration
public override bool GetSupportsPositionTicksResume(LibraryOptions libraryOptions)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public static ThumbnailSetInfo[] GetThumbnailSetInfos(string videoPath, Guid itemGuid, IDirectoryService directoryService, int maxWidth, bool enableStrictWidthRequirement)
Parameters
Type |
Name |
Description |
System.String |
videoPath |
|
System.Guid |
itemGuid |
|
IDirectoryService |
directoryService |
|
System.Int32 |
maxWidth |
|
System.Boolean |
enableStrictWidthRequirement |
|
Returns
Declaration
public static ThumbnailSetInfo[] GetThumbnailSetInfos(string videoPath, Guid itemGuid, bool enableCache, IDirectoryService directoryService)
Parameters
Type |
Name |
Description |
System.String |
videoPath |
|
System.Guid |
itemGuid |
|
System.Boolean |
enableCache |
|
IDirectoryService |
directoryService |
|
Returns
Declaration
public static string GetUserDataKey(BaseItem item)
Parameters
Returns
Type |
Description |
System.String |
|
GetUserDataKeyInternal(IDataContext)
Declaration
protected override string GetUserDataKeyInternal(IDataContext dataContext)
Parameters
Returns
Type |
Description |
System.String |
|
Overrides
Declaration
public override bool IsActiveRecording()
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public void SplitVersion()
Declaration
public override bool SupportsPlayedStatus()
Returns
Type |
Description |
System.Boolean |
|
Overrides
Implements
Extension Methods