Examples settings:
=========
Parameters required for configure plugin:
Utilites part:
<path> <url> <description
lng="ru"> <ShowConsole>
<exename>
utility filename
path to utility
Url to utility. Showing as internet label. May be two or more.
Utility description. now "lng" not use.
key, define start type of utility. TRUE or FALSE (default is FALSE -
not show window, if TRUE or some text - show window of executing
utility. This part has priority. if not found, find in profile part.
<LogDebug>
key, writing executing command
line TRUE, FALSE or path to log file(default is
FALSE - not logging, if TRUE log
in %out_arch_file_path_name_ext%.log file or in to file in
LogDebug key . This part has priority. if not found, find
in profile part.
Profile settings:
<outfilename> |
name of the out file that show in archive content and creating after convercion. you can use %in_arch_file_name% variable. Example: sourse file=c:\path\to\file\my best sound.mp3 text place to %in_arch_file_name%=my best sound string writen in outfilename key=%in_arch_file_name% - 11000hz.mp3 result file name is=my best sound - 11000hz.mp3 |
||||||||||||||||
<program> | Utility name. Must get from Utilites part | ||||||||||||||||
<command> |
Command of convertation. Insert after <path> and <exename> keys. Use there variable:
example. I need convert c:\music\song.mp3 to c:\mobile\sound\song.amr
|
||||||||||||||||
<description lng="ru"> | profile description | ||||||||||||||||
<author> | name of profile author | ||||||||||||||||
<authorcontact> | url or e-mail of author. Can more one. | ||||||||||||||||
<ShowConsole> | use if not exist in Utilites part | ||||||||||||||||
<LogDebug> | use if not exist in Utilites part |
</AMRconverter>
<BeSweet>
<exename>BeSweet.exe</exename>
<path>%commander_path%\Plugins\WCX\CTConv\programm\BeSweet\</path>
<url>http://dspguru.doom9.org/</url>
</BeSweet>
<Lame>
<exename>lame.exe</exename>
<path>%commander_path%\Plugins\WCX\CTConv\programm\Lame\</path>
<url>http://lame.sourceforge.net/</url>
</Lame>
</utilites>
<FileGroup>
here write extension, which want convert
<ac3>
think up unique name for profile of converting
<MP344100>
and unique filename, which will be got after converting. Unique within
expansion
<outfilename>%in_arch_file_name%_44100.mp3</outfilename>
used utility name from group <utilites>
<program>BeSweet</program>
and line with keys for starting converter programm.
used substitution:
%in_arch_file_name% | source file name without the extension. |
%in_arch_file_path_name_ext% | name with way and extension of source file |
%out_arch_file_path_name_ext% | name with way and extension of result file |
%out_arch_file_path% | path to result file |
<command>
-core( -input "%in_arch_file_path_name_ext%" -output
"%out_arch_file_path_name_ext%" ) -azid( -s surround2 ) -lame( -m s
) </command>
</MP344100>
Accordingly possible adjust much expansions, in them much profiles and on one
command of converting there
</ac3>
<wav>
<MP344100>
<outfilename>%in_arch_file_name%.mp3</outfilename>
<program>Lame</program>
<command>-h
"%in_arch_file_path_name_ext%" "%out_arch_file_path_name_ext%"
</command>
</MP344100>
</wav>
<amr>
<wav>
<outfilename>%in_arch_file_name%.wav</outfilename>
<program>AMRconverter</program>
<command>amr2wav
"%in_arch_file_path_name_ext%" "%out_arch_file_path_name_ext%"
</command>
</wav>
</amr>
<vob>
<MP344100>
<outfilename>%in_arch_file_name%_44100.mp3</outfilename>
<program>BeSweet</program>
<command>-core(
-input "%in_arch_file_path_name_ext%" -output "%out_arch_file_path_name_ext%" )
-azid( -s surround2 ) -lame( -m s ) </command>
</MP344100>
</vob>
</FileGroup>
</CTConv>
</xml>