ADD: AudioInfo plugin to default installation

This commit is contained in:
Alexander Koblov 2016-12-10 15:04:01 +00:00
commit 46bb6430bc

View file

@ -75,7 +75,7 @@ function GetPluginBinaryType(const FileName: String): TBinaryType;
implementation
uses
Forms, Dialogs, DCOSUtils, DCStrUtils, DCClassesUtf8, uGlobs, uLng;
Forms, Dialogs, DCOSUtils, DCStrUtils, DCClassesUtf8, uGlobs, uLng, uDCUtils;
procedure UpdatePlugins;
var
@ -281,6 +281,11 @@ begin
gWdxPlugins.Add('rpm_wdx', Folder + 'rpm_wdx' + PathDelim + 'rpm_wdx.wdx', 'EXT="RPM"');
end;
if gWdxPlugins.IndexOfName('audioinfo') < 0 then
begin
gWdxPlugins.Add(GetCmdDirFromEnvVar(Folder) + 'audioinfo' + PathDelim + 'audioinfo.wdx');
end;
// Wfx plugins
Folder:= '%commander_path%' + PathDelim + 'plugins' + PathDelim + 'wfx' + PathDelim;