aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-06-20 21:50:14 -0700
committerScott Jackson <daneren2005@gmail.com>2013-06-20 21:50:14 -0700
commitf0cbc2277c69806e5f39c1063d3c5f3c73bd2bb0 (patch)
treea14f6754c1f6dfe1a99fc299e6f9499c36f3313d
parentb2ef72a7477ad58e6fd35289e585af9f4594de0a (diff)
downloaddsub-f0cbc2277c69806e5f39c1063d3c5f3c73bd2bb0.tar.gz
dsub-f0cbc2277c69806e5f39c1063d3c5f3c73bd2bb0.tar.bz2
dsub-f0cbc2277c69806e5f39c1063d3c5f3c73bd2bb0.zip
Make savePlaylist work with offline songs as well
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/service/RESTMusicService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/RESTMusicService.java b/subsonic-android/src/github/daneren2005/dsub/service/RESTMusicService.java
index 953f10e2..fae950c7 100644
--- a/subsonic-android/src/github/daneren2005/dsub/service/RESTMusicService.java
+++ b/subsonic-android/src/github/daneren2005/dsub/service/RESTMusicService.java
@@ -397,7 +397,7 @@ public class RESTMusicService implements MusicService {
}
for (MusicDirectory.Entry entry : entries) {
parameterNames.add("songId");
- parameterValues.add(entry.getId());
+ parameterValues.add(getOfflineSongId(entry.getId(), context, progressListener));
}
Reader reader = getReader(context, progressListener, "createPlaylist", null, parameterNames, parameterValues);