feat(plugins): listenbrainz and lastfm
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
06a59e1b5c
commit
3eec2f2184
8 files changed
+545
No files matched your search
@@ -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,
|
||||
});
|
||||
Reference in new issue
Block a user