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> <DebugMode>0</DebugMode> <Language></Language> </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. |
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 · Последнее изменение: 2024/11/07 16:58 — loopback