From a573570de91c4b31e54c9efe0c2054576ad38877 Mon Sep 17 00:00:00 2001 From: pgwiz Date: Tue, 27 Oct 2026 14:09:02 +0300 Subject: [PATCH] fix(plugins): support plugin forks in discovery search and update legacy URL format in docs Co-Authored-By: pgwiz --- README.md | 2 +- .../org/spotube/spotube/modules/plugin/GitHubPluginRepo.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1a9ab6ff..4960979c 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ You can install plugins directly in Spotube: 2. Under **Download from URL**, paste the direct plugin URL, for example: - **Spotify Plugin (Latest)**: `https://github.com/pgwiz/spotube-plugin-spotify/releases/latest/download/plugin.smplug` - **Spotify Plugin (v1.0.0)**: `https://github.com/pgwiz/spotube-plugin-spotify/releases/download/1.0.0/plugin.smplug` - - **Legacy Plugin Reference**: `https://github.com/sonic-liberation/spotube-plugin-spotify/releases/download/0.2.2/plugin.smplug` + - **Legacy Plugin Reference**: `https://github.com/sonic-liberation/spotube-plugin-spotify/releases/download/0.2.2/plugin.smplug` *(Format: `https://github.com/$LEGACY_REPO/releases/download/$LEGACY_TAG/plugin.smplug`)* 3. Click **Download**, review permissions, and confirm. ## 🕳️ Building from source diff --git a/composeApp/src/commonMain/kotlin/org/spotube/spotube/modules/plugin/GitHubPluginRepo.kt b/composeApp/src/commonMain/kotlin/org/spotube/spotube/modules/plugin/GitHubPluginRepo.kt index 86a8f30b..014a1df2 100644 --- a/composeApp/src/commonMain/kotlin/org/spotube/spotube/modules/plugin/GitHubPluginRepo.kt +++ b/composeApp/src/commonMain/kotlin/org/spotube/spotube/modules/plugin/GitHubPluginRepo.kt @@ -72,7 +72,7 @@ class GitHubPluginRepository(private val httpClient: HttpClient) { append("Accept", "application/vnd.github+json") append("X-GitHub-Api-Version", "2022-11-28") } - parameter("q", "topic:spotube-zipline-plugin") + parameter("q", "topic:spotube-zipline-plugin fork:true") parameter("sort", "stars") parameter("order", "desc") parameter("page", page)