From 32d2988670fb7f83dc7cf941e04039db530a3af7 Mon Sep 17 00:00:00 2001 From: austinried <4966622+austinried@users.noreply.github.com> Date: Wed, 30 Sep 2026 11:33:53 +0000 Subject: [PATCH] declare Subsonic API version 1.15.0 1.15.0 is the highest minor Airsonic and Airsonic-Advanced accept; they reject a newer client with error 30. The OpenSubsonic response fields do not depend on the declared version. --- .../com/subtracks/data/source/subsonic/SubsonicClient.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/subtracks/data/source/subsonic/SubsonicClient.kt b/app/src/main/kotlin/com/subtracks/data/source/subsonic/SubsonicClient.kt index 720db58f..7cae8979 100644 --- a/app/src/main/kotlin/com/subtracks/data/source/subsonic/SubsonicClient.kt +++ b/app/src/main/kotlin/com/subtracks/data/source/subsonic/SubsonicClient.kt @@ -91,7 +91,9 @@ class SubsonicClient( } companion object { - const val API_VERSION = "1.13.0" + // Airsonic/Airsonic-Advanced cap at 1.15.0 and reject a newer client with error 30, so this + // stays at the highest minor they accept. OpenSubsonic fields do not depend on it. + const val API_VERSION = "1.15.0" const val CLIENT = "subtracks" const val TOKEN_AUTH_UNSUPPORTED = 41