Commit 52a67879 authored by Thomas Guillem's avatar Thomas Guillem
Browse files

Browser: Open videos directly via VideoPlayerActivity (fix conflicts)

parent 4c2914d7
......@@ -118,6 +118,8 @@ public class BaseBrowserAdapter extends RecyclerView.Adapter<RecyclerView.ViewH
MediaWrapper mw = (MediaWrapper) getItem(holder.getAdapterPosition());
if (mw.getType() == MediaWrapper.TYPE_DIR)
fragment.browse(mw, holder.getAdapterPosition());
else if (mw.getType() == MediaWrapper.TYPE_VIDEO)
Util.openMedia(v.getContext(), mw);
else {
int position = 0;
LinkedList<String> mediaLocations = new LinkedList<String>();
......
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