30 lines
872 B
Markdown
30 lines
872 B
Markdown
|
|
# Plugin Examples
|
||
|
|
|
||
|
|
This directory contains example plugins for Navidrome, intended for demonstration and reference purposes. These plugins are not used in automated tests.
|
||
|
|
|
||
|
|
## Contents
|
||
|
|
|
||
|
|
- `wikimedia/`: Example plugin that retrieves artist information from Wikidata.
|
||
|
|
- `coverartarchive/`: Example plugin that retrieves album cover images from the Cover Art Archive.
|
||
|
|
- `crypto-ticker/`: Example plugin using websockets to log real-time crypto currency prices.
|
||
|
|
- `discord-rich-presence/`: Example plugin that integrates with Discord Rich Presence to display currently playing tracks on Discord profiles.
|
||
|
|
|
||
|
|
## Building
|
||
|
|
|
||
|
|
To build all example plugins, run:
|
||
|
|
|
||
|
|
```
|
||
|
|
make
|
||
|
|
```
|
||
|
|
|
||
|
|
Or to build a specific plugin:
|
||
|
|
|
||
|
|
```
|
||
|
|
make wikimedia
|
||
|
|
make coverartarchive
|
||
|
|
make crypto-ticker
|
||
|
|
make discord-rich-presence
|
||
|
|
```
|
||
|
|
|
||
|
|
This will produce the corresponding `plugin.wasm` files in each plugin's directory.
|