C# Class Business.MpcConfigBusiness

Show file Open project: mysteryx93/NaturalGroundingPlayer Class Usage Examples

Private Properties

Property Type Description
GetSvpProcess System.Diagnostics.Process

Public Methods

Method Description
AddToSvpBlacklist ( ) : void

Adds the Natural Grounding Player to SVP's blacklist so that it doesn't affect internal players.

AutoConfigure ( Media videoStatus ) : void

Automatically starts or stops SVP and madVR based on current video requirements.

ClearLog ( ) : void

Clears SVP log files so that it doesn't display an error message when restarting.

ConfigureSettings ( ) : void

Configures MPC-HC settings to work properly with the Natural Grounding Player.

GetAviSynthVersion ( ) : AviSynthVersion
KillMpcProcesses ( ) : void

Kills any MPC-HC running instance.

StartMpc ( string fileName ) : void

Starts a MPC process without hooking into it.

Private Methods

Method Description
GetSvpProcess ( ) : Process

Returns the SVP process.

Method Details

AddToSvpBlacklist() public static method

Adds the Natural Grounding Player to SVP's blacklist so that it doesn't affect internal players.
public static AddToSvpBlacklist ( ) : void
return void

AutoConfigure() public static method

Automatically starts or stops SVP and madVR based on current video requirements.
public static AutoConfigure ( Media videoStatus ) : void
videoStatus DataAccess.Media The media containing performance status information.
return void

ClearLog() public static method

Clears SVP log files so that it doesn't display an error message when restarting.
public static ClearLog ( ) : void
return void

ConfigureSettings() public static method

Configures MPC-HC settings to work properly with the Natural Grounding Player.
public static ConfigureSettings ( ) : void
return void

GetAviSynthVersion() public static method

public static GetAviSynthVersion ( ) : AviSynthVersion
return AviSynthVersion

KillMpcProcesses() public static method

Kills any MPC-HC running instance.
public static KillMpcProcesses ( ) : void
return void

StartMpc() public static method

Starts a MPC process without hooking into it.
public static StartMpc ( string fileName ) : void
fileName string The video file to open.
return void