Plugin Metadata
The first file is the plugin metadata (plugin-name.json), which describes the plugin and its properties. Here is an example:
json
{
"name": "ExamplePlugin",
"compatible": true, // !
"pluginType": "provider", // !
"pluginProvider": "Standard", // !
"contentProvider": "ExampleSource",
"scriptUrl": "https://example.com/example-plugin/plugin-script.js",
"iconUrl": "https://example.com/example-plugin/plugin-icon.png", // optional
"author": { // optional
"name": "John Doe",
"icon": "https://example.com/example-plugin/plugin-avatar.png"
},
"version": "1.0.0", // optional
"language": "English", // optional
"streamType": "HLS", // optional
"quality": "1080p", // optional
"baseUrl": "https://example.com", // optional
"type": "anime" // optional
}Metadata Fields
Each field in the metadata JSON has a specific purpose:
IMPORTANT
Fields marked with ! must be set with the values specified in the metadata above.
name string
The name of the plugin.
compatible ! 'true''
pluginType ! 'provider'
pluginProvider ! Standard
contentProvider string
Where the content comes from.
scriptUrl string
URL pointing to the main JavaScript file of the plugin.
iconUrl Optional string
URL for the plugin icon.
author Optional object
Information about the plugin author:
version Optional string
Plugin version.
language Optional string
Language of the content.
streamType Optional string
Stream type, e.g., "HLS" or "MP4".
quality Optional string
Maximum video quality available, e.g., "1080p".
baseUrl Optional string
Base URL of the plugin content.
type Optional string
Type of content.
