diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-04-27 18:33:55 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-04-27 18:33:55 -0700 |
commit | cd737ca924cd305642ca712f38fb433153764bae (patch) | |
tree | 451e89ac166354f34fa5ea3e0320f052dcb523d7 | |
parent | ed6fdeee1fc935265669eb45cad3348d024054a0 (diff) | |
download | dsub-cd737ca924cd305642ca712f38fb433153764bae.tar.gz dsub-cd737ca924cd305642ca712f38fb433153764bae.tar.bz2 dsub-cd737ca924cd305642ca712f38fb433153764bae.zip |
Fix add to playlist option
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/fragments/SubsonicFragment.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/fragments/SubsonicFragment.java b/subsonic-android/src/github/daneren2005/dsub/fragments/SubsonicFragment.java index d0a5edb6..8cc6badd 100644 --- a/subsonic-android/src/github/daneren2005/dsub/fragments/SubsonicFragment.java +++ b/subsonic-android/src/github/daneren2005/dsub/fragments/SubsonicFragment.java @@ -51,8 +51,10 @@ import github.daneren2005.dsub.util.FileUtil; import github.daneren2005.dsub.util.ImageLoader;
import github.daneren2005.dsub.util.ModalBackgroundTask;
import github.daneren2005.dsub.util.SilentBackgroundTask;
+import github.daneren2005.dsub.util.LoadingTask;
import github.daneren2005.dsub.util.Util;
import java.io.File;
+import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
@@ -344,7 +346,7 @@ public class SubsonicFragment extends SherlockFragment { return;
}
- /*new LoadingTask<List<Playlist>>(context, true) {
+ new LoadingTask<List<Playlist>>(context, true) {
@Override
protected List<Playlist> doInBackground() throws Throwable {
MusicService musicService = MusicServiceFactory.getMusicService(context);
@@ -380,7 +382,7 @@ public class SubsonicFragment extends SherlockFragment { Util.toast(context, msg, false);
}
- }.execute();*/
+ }.execute();
}
private void addToPlaylist(final Playlist playlist, final List<MusicDirectory.Entry> songs) {
|