Some checks failed
Pipeline: Test, Lint, Build / Get version info (push) Has been cancelled
Pipeline: Test, Lint, Build / Lint Go code (push) Has been cancelled
Pipeline: Test, Lint, Build / Test Go code (push) Has been cancelled
Pipeline: Test, Lint, Build / Test JS code (push) Has been cancelled
Pipeline: Test, Lint, Build / Lint i18n files (push) Has been cancelled
Pipeline: Test, Lint, Build / Check Docker configuration (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (darwin/amd64) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (darwin/arm64) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/386) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/amd64) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/arm/v5) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/arm/v6) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/arm/v7) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/arm64) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (windows/386) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (windows/amd64) (push) Has been cancelled
Pipeline: Test, Lint, Build / Push to GHCR (push) Has been cancelled
Pipeline: Test, Lint, Build / Push to Docker Hub (push) Has been cancelled
Pipeline: Test, Lint, Build / Cleanup digest artifacts (push) Has been cancelled
Pipeline: Test, Lint, Build / Build Windows installers (push) Has been cancelled
Pipeline: Test, Lint, Build / Package/Release (push) Has been cancelled
Pipeline: Test, Lint, Build / Upload Linux PKG (push) Has been cancelled
Close stale issues and PRs / stale (push) Has been cancelled
POEditor import / update-translations (push) Has been cancelled
35 lines
1.2 KiB
Markdown
35 lines
1.2 KiB
Markdown
# Cover Art Archive AlbumMetadataService Plugin
|
|
|
|
This plugin provides album cover images for Navidrome by querying the [Cover Art Archive](https://coverartarchive.org/) API using the MusicBrainz Release Group MBID.
|
|
|
|
## Features
|
|
|
|
- Implements only the `GetAlbumImages` method of the AlbumMetadataService plugin interface.
|
|
- Returns front cover images for a given release-group MBID.
|
|
- Returns `not found` if no MBID is provided or no images are found.
|
|
|
|
## Requirements
|
|
|
|
- Go 1.24 or newer (with WASI support)
|
|
- The Navidrome repository (with generated plugin API code in `plugins/api`)
|
|
|
|
## How to Compile
|
|
|
|
To build the WASM plugin, run the following command from the project root:
|
|
|
|
```sh
|
|
GOOS=wasip1 GOARCH=wasm go build -buildmode=c-shared -o plugins/testdata/coverartarchive/plugin.wasm ./plugins/testdata/coverartarchive
|
|
```
|
|
|
|
This will produce `plugin.wasm` in this directory.
|
|
|
|
## Usage
|
|
|
|
- The plugin can be loaded by Navidrome for integration and end-to-end tests of the plugin system.
|
|
- It is intended for testing and development purposes only.
|
|
|
|
## API Reference
|
|
|
|
- [Cover Art Archive API](https://musicbrainz.org/doc/Cover_Art_Archive/API)
|
|
- This plugin uses the endpoint: `https://coverartarchive.org/release-group/{mbid}`
|