Repository navigation
Managing Plugins
How to edit, test, create and delete plugins from the UI, and what happens to your changes when a new official version arrives. Plugins explains the official, override and custom kinds.
Plugins are changed only in the UI, on the Manage Plugins page (/plugins). Editing the files on disk is not supported. As a safety net only, an official file edited on disk is detected by its sha256 and turned into an override at the next start.
Select it, change the YAML, optionally click Test, then Save. Saving creates an override with the current official version as its base; the official file is never changed. Saving with no change creates nothing.
Edit your override until it matches the official version again and save; it is discarded automatically. When the override is outdated, the review screen also offers Use official, which deletes the override with no backup.
Open the review screen from the banner or the Review update link. It shows What you changed (base against yours) and What changed upstream (base against the new official version), the changelog, and the actions Use official and Keep mine. Keep mine changes nothing and the warning stays. To carry your change onto the new version, copy it from the first diff, click Use official, then edit the plugin again. When the last sync of an integration using your override failed, the warning is highlighted and Test official dry-runs the official version with that integration's settings.
Click New Plugin, replace the <your-plugin-id> placeholder with an id made of lowercase letters and digits separated by single hyphens (for example my-tracker) that is not an official id, keep schemaVersion: 1, and click Create Plugin.
Select it and click Delete. It is blocked while an integration uses it; the dialog lists those integrations.
Test runs the YAML in the editor, saved or not, with the settings of an integration you pick. It saves no snapshot and does not change the integration, and shows the outcome, each step's HTTP status, the extracted stats and the first failing field.
To share a fix or publish a custom plugin as an official one, open a pull request to trackarr-plugins as its CONTRIBUTING.md explains.
stateDiagram-v2
[*] --> Official
Official --> Official: Save with no change
Official --> Override: Save a change
Override --> Override: Save another change
Override --> Official: Save a version equal to the base
Override --> Outdated: Download installs a newer official version
Outdated --> Outdated: Keep mine
Outdated --> Official: Use official, override deleted with no backup
Override --> Orphan: Official plugin removed upstream
Outdated --> Orphan: Official plugin removed upstream
Orphan --> Orphan: Keeps working
An override is a full copy of the YAML, shared by every integration of that plugin. When the plugin extends a base, the override keeps the extends, so a base update still reaches it. If it becomes invalid, its integrations show an "invalid override" error and stop syncing; they do not fall back to the official version.