aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-12-15 17:32:12 -0800
committerScott Jackson <daneren2005@gmail.com>2015-12-15 17:32:12 -0800
commit1c0e70afa8bfbe4dd2eedb8196c946702c47f3c5 (patch)
treec1084f0f0a845512f92c50a7f04fd351c6113655 /app/src/main/java/github/daneren2005
parent1eca3c26de2d6bc3cb3b55d44cec39c94a08ac3b (diff)
downloaddsub-1c0e70afa8bfbe4dd2eedb8196c946702c47f3c5.tar.gz
dsub-1c0e70afa8bfbe4dd2eedb8196c946702c47f3c5.tar.bz2
dsub-1c0e70afa8bfbe4dd2eedb8196c946702c47f3c5.zip
Decade search should go 2000-2009 instead of to 2010
Diffstat (limited to 'app/src/main/java/github/daneren2005')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/service/RESTMusicService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/service/RESTMusicService.java b/app/src/main/java/github/daneren2005/dsub/service/RESTMusicService.java
index 419ea69f..4a6e5108 100644
--- a/app/src/main/java/github/daneren2005/dsub/service/RESTMusicService.java
+++ b/app/src/main/java/github/daneren2005/dsub/service/RESTMusicService.java
@@ -607,11 +607,11 @@ public class RESTMusicService implements MusicService {
int decade = Integer.parseInt(extra);
// Reverse chronological order only supported in 5.3+
if(ServerInfo.checkServerVersion(context, "1.13", instance) && ServerInfo.isStockSubsonic(context, instance)) {
- values.add(decade + 10);
+ values.add(decade + 9);
values.add(decade);
} else {
values.add(decade);
- values.add(decade + 10);
+ values.add(decade + 9);
}
}