Plugin Method
This allows you to call a static method from a plugin.
It takes 3 arguments and returns the result.
| Name | Description | Type | Example | 
|---|---|---|---|
| Plugin | The name of the plugin | string | VideoNodes | 
| Method | The name of the method | string | GetVideoInfo | 
| Arguments | The method arguments | object[] | [Filename] | 
Example Usage
function Script(FileName)
{
    let vi = null;
    if(('' + FileName))
    {
        vi = PluginMethod("VideoNodes", "GetVideoInfo", [FileName]);
    }
    else
    {
        FileName = Variables.file.FullName;   
        vi = Variables.vi?.VideoInfo;
    }
    if(!vi)
    {
        Logger.WLog("No video information found");
        return 2;
    }
}