aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2016-02-08 17:40:59 -0800
committerScott Jackson <daneren2005@gmail.com>2016-02-08 17:40:59 -0800
commit743a723474f07f5daa8d75605713bd12efffed51 (patch)
tree9e0937ba71a9f55674cd4f3b0f5d0b70a26745ca /app/src/main
parent83363914f4ec0db2431c7c2a840b9f947ec74d91 (diff)
downloaddsub-743a723474f07f5daa8d75605713bd12efffed51.tar.gz
dsub-743a723474f07f5daa8d75605713bd12efffed51.tar.bz2
dsub-743a723474f07f5daa8d75605713bd12efffed51.zip
Subsonic was corrected to be API verison 1.14 for Subsonic 6.0
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/domain/Version.java2
-rw-r--r--app/src/main/java/github/daneren2005/dsub/fragments/SelectArtistFragment.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/domain/Version.java b/app/src/main/java/github/daneren2005/dsub/domain/Version.java
index 45063792..9df0dbb4 100644
--- a/app/src/main/java/github/daneren2005/dsub/domain/Version.java
+++ b/app/src/main/java/github/daneren2005/dsub/domain/Version.java
@@ -94,7 +94,7 @@ public class Version implements Comparable<Version>, Serializable {
return "5.2";
case 13:
return "5.3";
- case 15:
+ case 14:
return "6.0";
}
}
diff --git a/app/src/main/java/github/daneren2005/dsub/fragments/SelectArtistFragment.java b/app/src/main/java/github/daneren2005/dsub/fragments/SelectArtistFragment.java
index ff17edd6..55351fb4 100644
--- a/app/src/main/java/github/daneren2005/dsub/fragments/SelectArtistFragment.java
+++ b/app/src/main/java/github/daneren2005/dsub/fragments/SelectArtistFragment.java
@@ -163,7 +163,7 @@ public class SelectArtistFragment extends SelectRecyclerFragment<Artist> impleme
public List<Artist> getObjects(MusicService musicService, boolean refresh, ProgressListener listener) throws Exception {
List<Artist> artists;
if(groupId == null) {
- if (!Util.isOffline(context) && (!Util.isTagBrowsing(context) || ServerInfo.checkServerVersion(context, "1.15"))) {
+ if (!Util.isOffline(context) && (!Util.isTagBrowsing(context) || ServerInfo.checkServerVersion(context, "1.14"))) {
musicFolders = musicService.getMusicFolders(refresh, context, listener);
// Hide folders option if there is only one