[Android] Open all media from current folder in a playlist
Geoffrey Métais
git at videolan.org
Fri Nov 27 17:07:28 CET 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Nov 24 16:50:49 2015 +0100| [024eee9c12f67ee2bb709ef7cb2de341496d0cb7] | committer: Geoffrey Métais
Open all media from current folder in a playlist
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=024eee9c12f67ee2bb709ef7cb2de341496d0cb7
---
.../src/org/videolan/vlc/gui/browser/BaseBrowserAdapter.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserAdapter.java b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserAdapter.java
index 9516a00..0a562a4 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserAdapter.java
@@ -317,9 +317,7 @@ public class BaseBrowserAdapter extends RecyclerView.Adapter<RecyclerView.ViewH
if (mw.getType() == MediaWrapper.TYPE_DIR)
fragment.browse(mw, holder.getAdapterPosition(), true);
- else if (mw.getType() == MediaWrapper.TYPE_VIDEO)
- MediaUtils.openMedia(v.getContext(), mw);
- else if (mw.getType() == MediaWrapper.TYPE_AUDIO) {
+ else if (mw.getType() == MediaWrapper.TYPE_VIDEO || mw.getType() == MediaWrapper.TYPE_AUDIO) {
int position = 0;
LinkedList<MediaWrapper> mediaLocations = new LinkedList<MediaWrapper>();
MediaWrapper mediaItem;
More information about the Android
mailing list