Personal Video Database alternate Forum

General Category => Development => Topic started by: Ivek23 on 9 02 February, 2021, 09:45:29 AM

Title: Batch plugins
Post by: Ivek23 on 9 02 February, 2021, 09:45:29 AM
Quote from: nostra« on: 05 December 2007, 05:14:37 »
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:
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