From 1c0e70afa8bfbe4dd2eedb8196c946702c47f3c5 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Tue, 15 Dec 2015 17:32:12 -0800 Subject: Decade search should go 2000-2009 instead of to 2010 --- .../main/java/github/daneren2005/dsub/service/RESTMusicService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/src/main/java/github/daneren2005') 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); } } -- cgit v1.2.3