[Android] Fix folders mrl on medialibrary reload

Geoffrey Métais git at videolan.org
Mon Dec 4 15:04:18 CET 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Dec  4 15:00:21 2017 +0100| [c498075313e7d2e0cbc0fd9de31609ee99a048af] | committer: Geoffrey Métais

Fix folders mrl on medialibrary reload

Close #430

> https://code.videolan.org/videolan/vlc-android/commit/c498075313e7d2e0cbc0fd9de31609ee99a048af
---

 medialibrary/src/org/videolan/medialibrary/Medialibrary.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/medialibrary/src/org/videolan/medialibrary/Medialibrary.java b/medialibrary/src/org/videolan/medialibrary/Medialibrary.java
index 4f592f12f..eb951045a 100644
--- a/medialibrary/src/org/videolan/medialibrary/Medialibrary.java
+++ b/medialibrary/src/org/videolan/medialibrary/Medialibrary.java
@@ -233,7 +233,7 @@ public class Medialibrary {
 
     public void reload(String entryPoint) {
         if (mIsInitiated && !TextUtils.isEmpty(entryPoint))
-            nativeReload(entryPoint);
+            nativeReload(Tools.encodeVLCMrl(entryPoint));
     }
 
     public void forceParserRetry() {



More information about the Android mailing list