Инструменты пользователя

Инструменты сайта


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>&lt;empty&gt;</MissedField>
    <DataAutoUpdate>False</DataAutoUpdate>    
    <DebugMode>0</DebugMode>
    <Language></Language>      
</options>
FormatsComma-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.
MultiSeparatorwith this string will be separated multiple values (for example, audio languages list in the movie file).
BaseFilePath to the base file. You can use the environment variables here.
UseBaseset to True if you want to use database caching (default).
MemoryBaseSet 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.
SqlitePathPath to Sqlite3.dll. By default plugin will search it in own folder. You can use the environment variables here.
Sqlite64PathPath 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.
MediaInfoPathPath to MediaInfo.dll. By default plugin will search it in own folder. You can use the environment variables here.
MediaInfo64PathPath 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.
MissedFieldThis text will be displayed in the columns which missed in the database (for new sources).
DataAutoUpdateif true, after adding new sources plugin will be automatically update info for mewly added sources (while regular work).
DebugModeDebug mode, error and debugging messages will be writting in the debug.log file. Disabled 0, enabled 1.
LanguageLanguage 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.
MediaInfoPathXPOptional. Under WindowsXP, the path to the MediaInfo.dll library will be taken from this key.
MediaInfo64PathXPOptional. Under WindowsXP, the path to the MediaInfo_x64.dll library for the 64-bit version of the plugin will be taken from this key.
TimingRoundingOptional.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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki