From 01b31178c068c795cce5879e1726c578f2a34df2 Mon Sep 17 00:00:00 2001 From: Deluan Date: Sat, 3 Jan 2026 21:00:16 -0500 Subject: [PATCH] feat: add user permission for processing scrobbles in Discord Rich Presence plugin Signed-off-by: Deluan --- .../examples/discord-rich-presence-rs/manifest.json | 3 +++ plugins/examples/discord-rich-presence/manifest.json | 11 +++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/plugins/examples/discord-rich-presence-rs/manifest.json b/plugins/examples/discord-rich-presence-rs/manifest.json index 2415cd7ef..feaefd740 100644 --- a/plugins/examples/discord-rich-presence-rs/manifest.json +++ b/plugins/examples/discord-rich-presence-rs/manifest.json @@ -5,6 +5,9 @@ "description": "Discord Rich Presence integration for Navidrome - Rust implementation", "website": "https://github.com/navidrome/navidrome/tree/master/plugins/examples/discord-rich-presence-rs", "permissions": { + "users": { + "reason": "To process scrobbles on behalf of users" + }, "http": { "reason": "To communicate with Discord API for gateway discovery and image uploads", "allowedHosts": ["discord.com"] diff --git a/plugins/examples/discord-rich-presence/manifest.json b/plugins/examples/discord-rich-presence/manifest.json index 23e8c9d5e..41d4a5ec1 100644 --- a/plugins/examples/discord-rich-presence/manifest.json +++ b/plugins/examples/discord-rich-presence/manifest.json @@ -5,13 +5,20 @@ "description": "Discord Rich Presence integration for Navidrome", "website": "https://github.com/navidrome/navidrome/tree/master/plugins/examples/discord-rich-presence", "permissions": { + "users": { + "reason": "To process scrobbles on behalf of users" + }, "http": { "reason": "To communicate with Discord API for gateway discovery and image uploads", - "allowedHosts": ["discord.com"] + "allowedHosts": [ + "discord.com" + ] }, "websocket": { "reason": "To maintain real-time connection with Discord gateway", - "allowedHosts": ["gateway.discord.gg"] + "allowedHosts": [ + "gateway.discord.gg" + ] }, "cache": { "reason": "To store connection state and sequence numbers"