Personal Video Database

English => Development => Topic started by: nostra on December 05, 2007, 05:14:37 am

Title: Batch plugins
Post by: nostra on December 05, 2007, 05:14:37 am
You can combine plugins, so they are executed one by one.

To do so you need to create a file with extension .batch and put it into the Plugins directory.

Those files have following format:

NAME={VALUE}
DESC={VALUE}
TYPE={VALUE}
EXECUTE={LIST_OF_PLUGINS}


NAME - a short name of the plugin that will be shown in New Movie Master (for example)
DESC - Decription of the plugin. This text is shown in Main Menu
TYPE - Type of the plugin. This parameter accepts following values:
EXECUTE - List of plugins to be executed. Filenames of the plugins are listed here separated with |


Example of batch file:
Code: [Select]
NAME=IMDB+KinoPoisk[EN+RU]
DESC=[EN+RU]Get movie information from IMDB.com and then from Kinopoisk.ru
TYPE=2
EXECUTE=imdb.dll|kinopoisk.dll