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.
This commit is contained in:
austinried
2026-10-04 00:30:05 +00:00
parent fa5595db30
commit 32d2988670
@@ -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