diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-09-15 20:12:51 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-09-15 20:12:51 -0700 |
commit | 0f6aff95a6c7ce5a3a9e3f23c6148844480e1564 (patch) | |
tree | 9034c5a05e0c7c07834ea767899e600436665b2b /src | |
parent | 5ff50b39b48cdcdccbd7e0cd130e65436602195b (diff) | |
download | dsub-0f6aff95a6c7ce5a3a9e3f23c6148844480e1564.tar.gz dsub-0f6aff95a6c7ce5a3a9e3f23c6148844480e1564.tar.bz2 dsub-0f6aff95a6c7ce5a3a9e3f23c6148844480e1564.zip |
Fix web commits
Diffstat (limited to 'src')
3 files changed, 4 insertions, 5 deletions
diff --git a/src/github/daneren2005/dsub/fragments/NowPlayingFragment.java b/src/github/daneren2005/dsub/fragments/NowPlayingFragment.java index b9e6bffa..903673b8 100644 --- a/src/github/daneren2005/dsub/fragments/NowPlayingFragment.java +++ b/src/github/daneren2005/dsub/fragments/NowPlayingFragment.java @@ -1409,7 +1409,7 @@ public class NowPlayingFragment extends SubsonicFragment implements OnGestureLis new EntryInstanceUpdater(currentSong) {
@Override
- public void updater(Entry found) {
+ public void update(Entry found) {
found.setBookmark(new Bookmark(position));
}
}.execute();
diff --git a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java index 5a60077b..824d4f33 100644 --- a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java +++ b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java @@ -396,7 +396,7 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter Bundle args = new Bundle();
args.putString(Constants.INTENT_EXTRA_NAME_ID, entry.getId());
args.putString(Constants.INTENT_EXTRA_NAME_NAME, entry.getTitle());
- args.putSerializable(Constants.INTENT_EXTRA_DIRECTORY, entry);
+ args.putSerializable(Constants.INTENT_EXTRA_NAME_DIRECTORY, entry);
if ("newest".equals(albumListType)) {
args.putBoolean(Constants.INTENT_EXTRA_REFRESH_LISTINGS, true);
}
@@ -727,7 +727,7 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter Bundle args = new Bundle();
args.putString(Constants.INTENT_EXTRA_NAME_ID, entry.getId());
args.putString(Constants.INTENT_EXTRA_NAME_NAME, entry.getTitle());
- args.putSerializable(Constants.INTENT_EXTRA_DIRECTORY, entry);
+ args.putSerializable(Constants.INTENT_EXTRA_NAME_DIRECTORY, entry);
if ("newest".equals(albumListType)) {
args.putBoolean(Constants.INTENT_EXTRA_REFRESH_LISTINGS, true);
}
diff --git a/src/github/daneren2005/dsub/util/Constants.java b/src/github/daneren2005/dsub/util/Constants.java index f22fd3f0..a61102fe 100644 --- a/src/github/daneren2005/dsub/util/Constants.java +++ b/src/github/daneren2005/dsub/util/Constants.java @@ -37,8 +37,7 @@ public final class Constants { // Names for intent extras. public static final String INTENT_EXTRA_NAME_ID = "subsonic.id"; public static final String INTENT_EXTRA_NAME_NAME = "subsonic.name"; - public static final String INTENT_EXTRA_NAME_STARRED = "subsonic.starred"; - public static final String INTENT_EXTRA_NAME_RATING = "subsonic.rating"; + public static final String INTENT_EXTRA_NAME_DIRECTORY = "subsonic.directory"; public static final String INTENT_EXTRA_NAME_CHILD_ID = "subsonic.child.id"; public static final String INTENT_EXTRA_NAME_ARTIST = "subsonic.artist"; public static final String INTENT_EXTRA_NAME_TITLE = "subsonic.title"; |