diff options
author | Scott Jackson <daneren2005@gmail.com> | 2012-12-14 20:36:47 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2012-12-14 20:36:47 -0800 |
commit | ccab5b04036cff6e6b9cae5d70a45b0abfcd0dc2 (patch) | |
tree | 53ee1ca0a20d48b4b767673d7786fb4040201bbf | |
parent | 96dd7206b3ce02a2474394e392f6c268e45c3e15 (diff) | |
download | dsub-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.java | 6 |
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"); |