aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005/dsub/domain/ServerInfo.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/github/daneren2005/dsub/domain/ServerInfo.java')
-rw-r--r--src/github/daneren2005/dsub/domain/ServerInfo.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/domain/ServerInfo.java b/src/github/daneren2005/dsub/domain/ServerInfo.java
index a0ce23e1..2394a233 100644
--- a/src/github/daneren2005/dsub/domain/ServerInfo.java
+++ b/src/github/daneren2005/dsub/domain/ServerInfo.java
@@ -202,4 +202,8 @@ public class ServerInfo implements Serializable {
public static boolean canBookmark(Context context) {
return checkServerVersion(context, "1.9");
}
+
+ public static boolean canSavePlayQueue(Context context) {
+ return ServerInfo.checkServerVersion(context, "1.12") && !ServerInfo.isMadsonic(context);
+ }
}