Merge pull request #239 from ultrasonic/subsonic-fix

Fast and dirty fix to Subsonic 6.1.4
This commit is contained in:
Óscar García Amor 2018-11-23 14:54:28 +01:00 committed by GitHub
commit 1dc3b512c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -51,6 +51,7 @@ enum class SubsonicAPIVersions(val subsonicVersions: String, val restApiVersion:
"1.14.0" -> return V1_14_0 "1.14.0" -> return V1_14_0
"1.15.0" -> return V1_15_0 "1.15.0" -> return V1_15_0
"1.16.0" -> return V1_16_0 "1.16.0" -> return V1_16_0
"1.16.1" -> return V1_16_0 // Fast and dirty fix to Subsonic 6.1.4
else -> throw IllegalArgumentException("Unknown api version $apiVersion") else -> throw IllegalArgumentException("Unknown api version $apiVersion")
} }
} }

View File

@ -8,8 +8,8 @@ android {
defaultConfig { defaultConfig {
applicationId "org.moire.ultrasonic" applicationId "org.moire.ultrasonic"
versionCode 69 versionCode 70
versionName "2.6.0" versionName "2.6.1"
minSdkVersion versions.minSdk minSdkVersion versions.minSdk
targetSdkVersion versions.targetSdk targetSdkVersion versions.targetSdk