Author Topic: Batch plugins  (Read 16799 times)

0 Members and 1 Guest are viewing this topic.

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Batch plugins
« 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:
  • 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:
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
« Last Edit: December 05, 2007, 05:28:24 am by nostra »
Gentlemen, you can’t fight in here! This is the War Room!