aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2012-10-17 19:02:01 -0700
committerScott Jackson <daneren2005@gmail.com>2012-10-17 19:02:01 -0700
commite679663bae4f904404c69f7b0c4460bad993cd8e (patch)
tree0228ef1239705aa1b43844de9684a411e1b1376e /subsonic-android/src/github
parent9f8c55fb9692c148bca38f265a706724074fa418 (diff)
downloaddsub-e679663bae4f904404c69f7b0c4460bad993cd8e.tar.gz
dsub-e679663bae4f904404c69f7b0c4460bad993cd8e.tar.bz2
dsub-e679663bae4f904404c69f7b0c4460bad993cd8e.zip
Fix some compiler issues while fixing bugs
Diffstat (limited to 'subsonic-android/src/github')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/activity/SelectAlbumActivity.java4
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/service/CachedMusicService.java6
2 files changed, 8 insertions, 2 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/SelectAlbumActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/SelectAlbumActivity.java
index 01b73d85..3cd80957 100644
--- a/subsonic-android/src/github/daneren2005/dsub/activity/SelectAlbumActivity.java
+++ b/subsonic-android/src/github/daneren2005/dsub/activity/SelectAlbumActivity.java
@@ -164,9 +164,9 @@ public class SelectAlbumActivity extends SubsonicTabActivity {
delete();
selectAll(false, false);
return true;
- case R.id.menu_add_playlist:
+ /*case R.id.menu_add_playlist:
- return true;
+ return true;*/
case R.id.menu_exit:
intent = new Intent(this, MainActivity.class);
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/CachedMusicService.java b/subsonic-android/src/github/daneren2005/dsub/service/CachedMusicService.java
index 832b2037..1782e483 100644
--- a/subsonic-android/src/github/daneren2005/dsub/service/CachedMusicService.java
+++ b/subsonic-android/src/github/daneren2005/dsub/service/CachedMusicService.java
@@ -29,6 +29,7 @@ import github.daneren2005.dsub.domain.Indexes;
import github.daneren2005.dsub.domain.JukeboxStatus;
import github.daneren2005.dsub.domain.Lyrics;
import github.daneren2005.dsub.domain.MusicDirectory;
+import github.daneren2005.dsub.domain.MusicDirectory.Entry;
import github.daneren2005.dsub.domain.MusicFolder;
import github.daneren2005.dsub.domain.Playlist;
import github.daneren2005.dsub.domain.SearchCritera;
@@ -232,6 +233,11 @@ public class CachedMusicService implements MusicService {
public void setStarred(String id, boolean starred, Context context, ProgressListener progressListener) throws Exception {
musicService.setStarred(id, starred, context, progressListener);
}
+
+ @Override
+ public void updatePlaylist(String id, String name, String comment, List<Entry> toAdd, Context context, ProgressListener progressListener) throws Exception {
+ musicService.updatePlaylist(id, name, comment, toAdd, context, progressListener);
+ }
private void checkSettingsChanged(Context context) {
String newUrl = Util.getRestUrl(context, null);