feat(plugins): listenbrainz and lastfm

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas WintherandClaude Sonnet 5.5 committed 2026-10-30 15:49:31 +01:00
1 parent 06a59e1b5c
commit 3eec2f2184
8 files changed
+545

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
import { definePlugin } from "@sttracker/plugin-sdk/types";
import { pull, pullChanges } from "./src/lastfm.ts";
export default definePlugin({
manifest: {
id: "lastfm",
name: "Last.fm",
version: "0.1.0",
sdkVersion: 1,
mediaTypes: ["track", "album", "artist"],
capabilities: ["pull", "pullChanges"],
config: [
{ key: "username", label: "Username", type: "string", required: true },
{ key: "apiKey", label: "API key", type: "secret", required: true },
],
},
pull,
pullChanges,
});