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

Correctly encode mrls for ban/uban

(cherry picked from commit e18a7944)
parent 49256f94
......@@ -99,12 +99,12 @@ public class Medialibrary {
public void banFolder(@NonNull String path) {
if (mIsInitiated && new File(path).exists())
nativeBanFolder(Tools.encodeVLCMrl(path));
nativeBanFolder(Tools.encodeVLCMrl(Uri.encode(path, "/")));
}
public void unbanFolder(@NonNull String path) {
if (mIsInitiated && new File(path).exists())
nativeUnbanFolder(Tools.encodeVLCMrl(path));
nativeUnbanFolder(Tools.encodeVLCMrl(Uri.encode(path, "/")));
}
public String[] getDevices() {
......
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