en:tcmediainfo:documentation:options
Options
This node is keep basic plugin settings. List of formats, MediaLibrary paths and language are used by lister plugin too. In code below are shown the default values.
<options> <Formats>AVI,DIVX,MPEG,...</Formats> <MultiSeparator> / </MultiSeparator> <BasePath>base.db</BasePath> <MemoryBase>False</MemoryBase> <UseBase>True</UseBase> <SqlitePath>Sqlite3.dll</SqlitePath> <Sqlite64Path>Sqlite3_x64.dll</Sqlite64Path> <MediaInfoPath>MediaInfo.dll</MediaInfoPath> <MediaInfo64Path>MediaInfo_x64.dll</MediaInfo64Path> <MissedField><empty></MissedField> <DataAutoUpdate>False</DataAutoUpdate> <FixTagEncoding>0</FixTagEncoding> <DebugMode>0</DebugMode> <Language></Language> <!-- Below are the options not included in the default configuration --> <MediaInfoPathXP></MediaInfoPathXP> <MediaInfo64PathXP></MediaInfo64PathXP> <TimingRounding>0</TimingRounding> <IgnoreExtensions>False</IgnoreExtensions> <FieldEmptyOnFail>False</FieldEmptyOnFail> </options>
| Formats | Comma-separated list of supported extensions. For convenience, it can be splitted into lines. The list in the default configuration is formed based on this file. |
| MultiSeparator | with this string will be separated multiple values (for example, audio languages list in the movie file). |
| BaseFile | Path to the base file. You can use the environment variables here. |
| UseBase | set to True if you want to use database caching (default). |
| MemoryBase | Set to True, if you want to create database in memory instead of disk. In this case cached data will be available only till TC restart. |
| SqlitePath | Path to Sqlite3.dll. By default plugin will search it in own folder. You can use the environment variables here. |
| Sqlite64Path | Path to Sqlite3_x64.dll for 64-bit plugin version. By default plugin will search it in own folder. You can use the environment variables here. |
| MediaInfoPath | Path to MediaInfo.dll. By default plugin will search it in own folder. You can use the environment variables here. |
| MediaInfo64Path | Path to MediaInfo_x64.dll for 64-bit plugin version. ПBy default plugin will search it in own folder. You can use the environment variables here. |
| MissedField | This text will be displayed in the columns which missed in the database (for new sources). |
| DataAutoUpdate | if true, after adding new sources plugin will be automatically update info for mewly added sources (while regular work). |
| DebugMode | Debug mode, error and debugging messages will be writting in the debug.log file. Disabled 0, enabled 1. |
| Language | Language code in Total Commander's format (ENG, RUS…). Can be used for explicit setting language for interface and library names. If empty, language will be selected automatically from the Total Commander's settings. |
| MediaInfoPathXP | Optional. Under WindowsXP, the path to the MediaInfo.dll library will be taken from this key. |
| MediaInfo64PathXP | Optional. Under WindowsXP, the path to the MediaInfo_x64.dll library for the 64-bit version of the plugin will be taken from this key. |
| TimingRounding | Optional.Method for rounding to whole seconds for TimingFormat function. 0 — to previous integer value (default, as in MediaInfo); 1 — to the nearest integer value; 2 — to the next integer value. |
| FixTagEncoding | Optional. Enables a mechanism that attempts to correct the encoding for fields obtained from incorrectly written ID3 tags. This option has negative effects, so be sure to read the notes for the FixCodepage function before enabling it. \\It is the sum of the values: 1 — enable «fix_cp» module in the wdx; 2 — enable fix in Get and LineAddField functions in the wlx; 4 — enable fix for «Standard Inform» mode in the wlx. By default 0 (all fixes are disabled). |
| IgnoreExtensions | Optional. Disables checking for the list of extensions listed in the Formats option. The check will be performed by the MediaInfo library itself. Allows you to display information for media files with incorrect extensions, but slows down (in some cases significantly) the plugin. By default — false (extensions are checked). |
| FieldEmptyOnFail | Optional. Option controls the output for columns with a given type of data (ft_dateetime, etc.) if it is impossible to convert string to the specified type. If the value of the option is False, plugin returns the initial string value. If True — empty value (as in versions up to 1.2). |
User Options
User options can be used to control how scripts work without having to edit the scripts themselves. To do this, simply create a new node with a unique name in the options node.
<options> ... <UserOption1>Value1</UserOption1> </options>
The value of this node can be obtained in a script using the GetOption function.
en/tcmediainfo/documentation/options.txt · Последнее изменение: 2025/07/01 22:30 — loopback