Commit f7e0a4bd authored by Geoffrey Métais's avatar Geoffrey Métais

Play all media files from a folder

parent c4f6b61c
......@@ -370,9 +370,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(holder.itemView.getContext(), mw);
else if (mw.getType() == MediaWrapper.TYPE_AUDIO) {
else if (mw.getType() == MediaWrapper.TYPE_AUDIO || mw.getType() == MediaWrapper.TYPE_VIDEO) {
int position = 0;
LinkedList<MediaWrapper> mediaLocations = new LinkedList<MediaWrapper>();
MediaWrapper mediaItem;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment