[Android] Do not filter media to display in network browser
Geoffrey Métais
git at videolan.org
Wed May 24 14:03:29 CEST 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed May 24 14:01:19 2017 +0200| [f06b5975f3dddb8d0f1e13310a08bb9057a73a92] | committer: Geoffrey Métais
Do not filter media to display in network browser
> https://code.videolan.org/videolan/vlc-android/commit/f06b5975f3dddb8d0f1e13310a08bb9057a73a92
---
.../src/org/videolan/vlc/gui/tv/browser/NetworkBrowserFragment.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/tv/browser/NetworkBrowserFragment.java b/vlc-android/src/org/videolan/vlc/gui/tv/browser/NetworkBrowserFragment.java
index 840bd547b..fd709a56d 100644
--- a/vlc-android/src/org/videolan/vlc/gui/tv/browser/NetworkBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/tv/browser/NetworkBrowserFragment.java
@@ -2,7 +2,7 @@
* *************************************************************************
* NetworkBrowseFragment.java
* **************************************************************************
- * Copyright © 2015 VLC authors and VideoLAN
+ * Copyright © 2015-2017 VLC authors and VideoLAN
* Author: Geoffrey Métais
*
* This program is free software; you can redistribute it and/or modify
@@ -46,8 +46,6 @@ public class NetworkBrowserFragment extends MediaSortedFragment {
if (mUri == null)
mw.setDescription(mw.getUri().getScheme());
int type = mw.getType();
- if (type != MediaWrapper.TYPE_AUDIO && type != MediaWrapper.TYPE_VIDEO && type != MediaWrapper.TYPE_DIR)
- return;
String letter = mw.getTitle().substring(0, 1).toUpperCase();
if (mMediaItemMap.containsKey(letter)) {
mMediaItemMap.get(letter).mediaList.add(mw);
More information about the Android
mailing list