mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 15:11:58 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user