[Android] Add wpl file extension to the manifest
Nicolas Pomepuy
git at videolan.org
Thu Sep 23 12:00:36 UTC 2021
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Sep 23 07:10:29 2021 +0200| [6f441165f6dd3423146af643095d46debcd7a8b6] | committer: Nicolas Pomepuy
Add wpl file extension to the manifest
Fixes #2186
> https://code.videolan.org/videolan/vlc-android/commit/6f441165f6dd3423146af643095d46debcd7a8b6
---
application/vlc-android/AndroidManifest.xml | 2 ++
libvlc/src/org/videolan/libvlc/util/Extensions.java | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/application/vlc-android/AndroidManifest.xml b/application/vlc-android/AndroidManifest.xml
index dfd0ff1e4..07d6b176e 100644
--- a/application/vlc-android/AndroidManifest.xml
+++ b/application/vlc-android/AndroidManifest.xml
@@ -420,6 +420,8 @@
<data android:pathPattern=".*.PLS" />
<data android:pathPattern=".*.ram" />
<data android:pathPattern=".*.RAM" />
+ <data android:pathPattern=".*.wpl" />
+ <data android:pathPattern=".*.WPL" />
<data android:pathPattern=".*.xspf" />
<data android:pathPattern=".*.XSPF" />
</intent-filter>
diff --git a/libvlc/src/org/videolan/libvlc/util/Extensions.java b/libvlc/src/org/videolan/libvlc/util/Extensions.java
index 2832b146e..2ec2f7cff 100644
--- a/libvlc/src/org/videolan/libvlc/util/Extensions.java
+++ b/libvlc/src/org/videolan/libvlc/util/Extensions.java
@@ -52,7 +52,7 @@ public class Extensions {
".rt", ".aqt", ".txt", ".usf", ".jss", ".cdg", ".psb", ".mpsub",".mpl2",
".pjs", ".dks", ".stl", ".vtt", ".ttml", ".mks" };
- final String[] playlistExtensions = {".m3u", ".asx", ".b4s", ".pls", ".xspf"/*, ".zip"*/};
+ final String[] playlistExtensions = {".m3u", ".asx", ".b4s", ".pls", ".xspf", ".wpl"/*, ".zip"*/};
VIDEO.addAll(Arrays.asList(videoExtensions));
AUDIO.addAll(Arrays.asList(audioExtensions));
More information about the Android
mailing list