News:

SMF - Just Installed!

Main Menu

Batch plugins

Started by Ivek23, 9 02 February, 2021, 09:45:29 AM

Previous topic - Next topic

Ivek23

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:

  • 2 - Movie Information
  • 3 - Import from other databases
  • 4 - Poster Import
  • 5 - Cover import
  • 6 - Persons Import
  • 7 - Export
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
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD