[Android] Fix folders mrl on medialibrary reload

Geoffrey Métais git at videolan.org
Wed Dec 6 14:33:18 CET 2017


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

Fix folders mrl on medialibrary reload

Close #430

(cherry picked from commit c498075313e7d2e0cbc0fd9de31609ee99a048af)

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

 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