Méthode | Description | |
---|---|---|
GetFileNameWithoutExtensionAndStackMarkers ( |
||
GetFileNameWithoutExtensionAndStackMarkers ( string fileName ) : string |
Remove extension and stackmarkers from a filename
|
|
GetMountedVideoDiscPath ( string imagePath ) : string | ||
GetMovieBaseDirectory ( |
Returns the base directory for the movie files that are part of the input directory
|
|
GetMovieHashString ( string filename ) : string | ||
GetWebGrabberInstance ( string url ) : |
Get a WebGrabber instance with the default moving pictures settings
|
|
IsDriveRoot ( |
Checks if the directory is a logical drive root
|
|
IsDriveRoot ( string path ) : bool |
Checks if the given path is a logical drive root
|
|
IsImageFile ( string imagePath ) : bool | ||
IsMediaPortalVideoFile ( |
Checks if file has valid video extensions (as specified by media portal MediaPortal Dependency! |
|
IsMediaPortalVideoFile ( string file ) : bool | ||
IsMounted ( string imagePath ) : bool | ||
LogDirectoryStructure ( string path ) : void |
This method will dump the complete file/directory structure to the log
|
|
MountImage ( string imagePath ) : MountResult | ||
MountImage ( string imagePath, int maxWaitCycles ) : MountResult | ||
UnMount ( string imagePath ) : void | ||
isFileMultiPart ( |
||
isFileMultiPart ( string fileName ) : bool |
Checks if a filename has stack markers (and is multi-part)
|
|
isFolderDedicated ( |
Checks if a folder contains a maximum amount of video files This is used to determine if a folder is dedicated to one movie
|
|
isFolderMultipart ( string name ) : bool |
Checks if the foldername is a multipart marker.
|
|
isKnownSubFolder ( string name ) : bool |
Checks if the foldername is ambigious (non descriptive)
|
Méthode | Description | |
---|---|---|
Utility ( ) : System |
public static GetFileNameWithoutExtensionAndStackMarkers ( |
||
fileInfo | ||
Résultat | string |
public static GetFileNameWithoutExtensionAndStackMarkers ( string fileName ) : string | ||
fileName | string | Filename including the extension |
Résultat | string |
public static GetMountedVideoDiscPath ( string imagePath ) : string | ||
imagePath | string | |
Résultat | string |
public static GetMovieBaseDirectory ( |
||
directory | directory to start in | |
Résultat |
public static GetMovieHashString ( string filename ) : string | ||
filename | string | |
Résultat | string |
public static GetWebGrabberInstance ( string url ) : |
||
url | string | url to resource |
Résultat |
public static IsDriveRoot ( |
||
directory | ||
Résultat | bool |
public static IsDriveRoot ( string path ) : bool | ||
path | string | |
Résultat | bool |
public static IsImageFile ( string imagePath ) : bool | ||
imagePath | string | |
Résultat | bool |
public static IsMediaPortalVideoFile ( |
||
file | ||
Résultat | bool |
public static IsMediaPortalVideoFile ( string file ) : bool | ||
file | string | |
Résultat | bool |
public static IsMounted ( string imagePath ) : bool | ||
imagePath | string | |
Résultat | bool |
public static LogDirectoryStructure ( string path ) : void | ||
path | string | |
Résultat | void |
public static MountImage ( string imagePath ) : MountResult | ||
imagePath | string | |
Résultat | MountResult |
public static MountImage ( string imagePath, int maxWaitCycles ) : MountResult | ||
imagePath | string | |
maxWaitCycles | int | |
Résultat | MountResult |
public static UnMount ( string imagePath ) : void | ||
imagePath | string | |
Résultat | void |
public static isFileMultiPart ( |
||
file | ||
Résultat | bool |
public static isFileMultiPart ( string fileName ) : bool | ||
fileName | string | |
Résultat | bool |
public static isFolderDedicated ( |
||
folder | the directory to check | |
expectedCount | int | maximum count |
Résultat | bool |
public static isFolderMultipart ( string name ) : bool | ||
name | string | |
Résultat | bool |
public static isKnownSubFolder ( string name ) : bool | ||
name | string | |
Résultat | bool |