C# 클래스 MediaPortal.Plugins.MovingPictures.SignatureBuilders.NfoBuilder

The NFO Signature Builder scans for text-based files containing the imdbid format and updates the signature with the first occurance of an imdbid.
상속: ISignatureBuilder
파일 보기 프로젝트 열기: damienhaynes/moving-pictures

공개 메소드들

메소드 설명
UpdateSignature ( MovieSignature signature ) : SignatureBuilderResult
fileScanner ( DirectoryInfo dir, string filename ) : string

Scans the directory for (a) specific NFO file(s) and returns the first found ImdbID

parseFile ( string filePath ) : string

Extract an ImdbID out of a textfile

비공개 메소드들

메소드 설명
fileScanner ( DirectoryInfo dir ) : string

Scans the directory for NFO files and returns the first found ImdbID

메소드 상세

UpdateSignature() 공개 메소드

public UpdateSignature ( MovieSignature signature ) : SignatureBuilderResult
signature MovieSignature
리턴 SignatureBuilderResult

fileScanner() 공개 정적인 메소드

Scans the directory for (a) specific NFO file(s) and returns the first found ImdbID
public static fileScanner ( DirectoryInfo dir, string filename ) : string
dir System.IO.DirectoryInfo directory
filename string * or filename without extension
리턴 string

parseFile() 공개 정적인 메소드

Extract an ImdbID out of a textfile
public static parseFile ( string filePath ) : string
filePath string full path to the file
리턴 string