C# Класс MediaPortal.Plugins.MovingPictures.LocalMediaManagement.VideoFormatExtensions

Extension methods for the VideoFormat enumeration
Показать файл Открыть проект

Открытые методы

Метод Описание
GenerateVideoPathOnDrive ( this self, string driveletter ) : string

Generates the full path to the video file on the specified drive.

GetIdentifier ( this self, string videoPath ) : string

Get a hash representing the standard identifier for this format. Currently supported are the DVD/Bluray Disc ID and the OpenSubtitles.org Movie Hash.

GetMainFeatureFilePath ( this self, string path ) : string

Gets the path to the main feature file for this video format

GetMediaInfo ( this self, string videoPath ) : MediaInfoWrapper

Gets the MediaInfo for the given videopath

PathEndsWith ( this self ) : string

Gets the path 'signature' of this video format.

PathExistsOnDrive ( this self, string driveletter ) : bool

Gets a value indicating wether this video format exists on the specified drive

Validate ( this self, string path ) : bool

Gets a value indicating wether the path validates for the current video format

Описание методов

GenerateVideoPathOnDrive() публичный статический Метод

Generates the full path to the video file on the specified drive.
public static GenerateVideoPathOnDrive ( this self, string driveletter ) : string
self this
driveletter string the drive to use in the generated path
Результат string

GetIdentifier() публичный статический Метод

Get a hash representing the standard identifier for this format. Currently supported are the DVD/Bluray Disc ID and the OpenSubtitles.org Movie Hash.
public static GetIdentifier ( this self, string videoPath ) : string
self this
videoPath string path to the main video file
Результат string

GetMainFeatureFilePath() публичный статический Метод

Gets the path to the main feature file for this video format
public static GetMainFeatureFilePath ( this self, string path ) : string
self this
path string actual entry path for this video format
Результат string

GetMediaInfo() публичный статический Метод

Gets the MediaInfo for the given videopath
public static GetMediaInfo ( this self, string videoPath ) : MediaInfoWrapper
self this
videoPath string path to the video
Результат MediaInfoWrapper

PathEndsWith() публичный статический Метод

Gets the path 'signature' of this video format.
public static PathEndsWith ( this self ) : string
self this
Результат string

PathExistsOnDrive() публичный статический Метод

Gets a value indicating wether this video format exists on the specified drive
public static PathExistsOnDrive ( this self, string driveletter ) : bool
self this
driveletter string the drive to check
Результат bool

Validate() публичный статический Метод

Gets a value indicating wether the path validates for the current video format
public static Validate ( this self, string path ) : bool
self this
path string path to validate
Результат bool