C# 클래스 MediaPortal.Plugins.MovingPictures.LocalMediaManagement.VideoFormatExtensions

Extension methods for the VideoFormat enumeration
파일 보기 프로젝트 열기: damienhaynes/moving-pictures

공개 메소드들

메소드 설명
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