aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2012-12-14 20:36:47 -0800
committerScott Jackson <daneren2005@gmail.com>2012-12-14 20:36:47 -0800
commitccab5b04036cff6e6b9cae5d70a45b0abfcd0dc2 (patch)
tree53ee1ca0a20d48b4b767673d7786fb4040201bbf
parent96dd7206b3ce02a2474394e392f6c268e45c3e15 (diff)
downloaddsub-ccab5b04036cff6e6b9cae5d70a45b0abfcd0dc2.tar.gz
dsub-ccab5b04036cff6e6b9cae5d70a45b0abfcd0dc2.tar.bz2
dsub-ccab5b04036cff6e6b9cae5d70a45b0abfcd0dc2.zip
Possible fix for issue user is having
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/service/RESTMusicService.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/RESTMusicService.java b/subsonic-android/src/github/daneren2005/dsub/service/RESTMusicService.java
index f9a6af99..bc54ac36 100644
--- a/subsonic-android/src/github/daneren2005/dsub/service/RESTMusicService.java
+++ b/subsonic-android/src/github/daneren2005/dsub/service/RESTMusicService.java
@@ -210,8 +210,10 @@ public class RESTMusicService implements MusicService {
List<String> parameterNames = new ArrayList<String>();
List<Object> parameterValues = new ArrayList<Object>();
- parameterNames.add("ifModifiedSince");
- parameterValues.add(lastModified);
+ if(lastModified != 0L) {
+ parameterNames.add("ifModifiedSince");
+ parameterValues.add(lastModified);
+ }
if (musicFolderId != null) {
parameterNames.add("musicFolderId");