diff options
author | Scott Jackson <daneren2005@gmail.com> | 2016-01-18 17:36:26 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2016-01-18 17:36:26 -0800 |
commit | 75be18e825820c10525dc78946af1061b7908db4 (patch) | |
tree | 69ed4842a54fbffce704a5450ffb5f449b08affa /app/src/main/java/github | |
parent | 3a0a98de51f1a74f6fe85d272e1f650c5c47fc53 (diff) | |
download | dsub-75be18e825820c10525dc78946af1061b7908db4.tar.gz dsub-75be18e825820c10525dc78946af1061b7908db4.tar.bz2 dsub-75be18e825820c10525dc78946af1061b7908db4.zip |
Auto: add ability to Play Last
Diffstat (limited to 'app/src/main/java/github')
-rw-r--r-- | app/src/main/java/github/daneren2005/dsub/service/AutoMediaBrowserService.java | 4 | ||||
-rw-r--r-- | app/src/main/java/github/daneren2005/dsub/util/compat/RemoteControlClientLP.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/service/AutoMediaBrowserService.java b/app/src/main/java/github/daneren2005/dsub/service/AutoMediaBrowserService.java index c448a360..728044fb 100644 --- a/app/src/main/java/github/daneren2005/dsub/service/AutoMediaBrowserService.java +++ b/app/src/main/java/github/daneren2005/dsub/service/AutoMediaBrowserService.java @@ -370,7 +370,7 @@ public class AutoMediaBrowserService extends MediaBrowserService { .setExtras(shuffleExtras); mediaItems.add(new MediaBrowser.MediaItem(shuffle.build(), MediaBrowser.MediaItem.FLAG_PLAYABLE)); - /*Bundle playLastExtras = new Bundle(); + Bundle playLastExtras = new Bundle(); playLastExtras.putString(idConstant, id); playLastExtras.putBoolean(Constants.INTENT_EXTRA_PLAY_LAST, true); @@ -378,7 +378,7 @@ public class AutoMediaBrowserService extends MediaBrowserService { playLast.setTitle(downloadService.getString(R.string.menu_play_last)) .setMediaId("playLast-" + id) .setExtras(playLastExtras); - mediaItems.add(new MediaBrowser.MediaItem(playLast.build(), MediaBrowser.MediaItem.FLAG_PLAYABLE));*/ + mediaItems.add(new MediaBrowser.MediaItem(playLast.build(), MediaBrowser.MediaItem.FLAG_PLAYABLE)); result.sendResult(mediaItems); } diff --git a/app/src/main/java/github/daneren2005/dsub/util/compat/RemoteControlClientLP.java b/app/src/main/java/github/daneren2005/dsub/util/compat/RemoteControlClientLP.java index bad9c0f6..47c77cac 100644 --- a/app/src/main/java/github/daneren2005/dsub/util/compat/RemoteControlClientLP.java +++ b/app/src/main/java/github/daneren2005/dsub/util/compat/RemoteControlClientLP.java @@ -415,7 +415,7 @@ public class RemoteControlClientLP extends RemoteControlClientBase { } } - downloadService.download(entries, false, true, false, shuffle, startIndex, startPosition); + downloadService.download(entries, false, !append, false, shuffle, startIndex, startPosition); } private void noResults() { |