From 743a723474f07f5daa8d75605713bd12efffed51 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Mon, 8 Feb 2016 17:40:59 -0800 Subject: Subsonic was corrected to be API verison 1.14 for Subsonic 6.0 --- app/src/main/java/github/daneren2005/dsub/domain/Version.java | 2 +- .../java/github/daneren2005/dsub/fragments/SelectArtistFragment.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app/src/main/java') 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, 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 impleme public List getObjects(MusicService musicService, boolean refresh, ProgressListener listener) throws Exception { List 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 -- cgit v1.2.3