[Android] Add m4b to the list of file extensions

Alexandre Perraud git at videolan.org
Mon May 12 14:20:16 CEST 2014


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Mon May 12 11:33:10 2014 +0200| [1dba1d23ef25de1a0be6a62818ae21a050477f96] | committer: Adrien Maglo

Add m4b to the list of file extensions

Signed-off-by: Adrien Maglo <magsoft at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=1dba1d23ef25de1a0be6a62818ae21a050477f96
---

 vlc-android/AndroidManifest.xml                |    2 ++
 vlc-android/src/org/videolan/libvlc/Media.java |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
index 0aa94a0..366e74b 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -286,6 +286,7 @@
                 <data android:pathPattern=".*\\.flac" />
                 <data android:pathPattern=".*\\.it" />
                 <data android:pathPattern=".*\\.m4a" />
+                <data android:pathPattern=".*\\.m4b" />
                 <data android:pathPattern=".*\\.m4p" />
                 <data android:pathPattern=".*\\.mid" />
                 <data android:pathPattern=".*\\.mka" />
@@ -333,6 +334,7 @@
                 <data android:pathPattern=".*\\.FLAC" />
                 <data android:pathPattern=".*\\.IT" />
                 <data android:pathPattern=".*\\.M4A" />
+                <data android:pathPattern=".*\\.M4B" />
                 <data android:pathPattern=".*\\.M4P" />
                 <data android:pathPattern=".*\\.MID" />
                 <data android:pathPattern=".*\\.MKA" />
diff --git a/vlc-android/src/org/videolan/libvlc/Media.java b/vlc-android/src/org/videolan/libvlc/Media.java
index 39ed9fd..2c95f06 100644
--- a/vlc-android/src/org/videolan/libvlc/Media.java
+++ b/vlc-android/src/org/videolan/libvlc/Media.java
@@ -48,7 +48,7 @@ public class Media implements Comparable<Media> {
 
         String[] audio_extensions = {
                 ".3ga", ".a52", ".aac", ".ac3", ".adt", ".adts", ".aif", ".aifc", ".aiff", ".amr",
-                ".aob", ".ape", ".awb", ".caf", ".dts", ".flac", ".it", ".m4a", ".m4p",
+                ".aob", ".ape", ".awb", ".caf", ".dts", ".flac", ".it", ".m4a", ".m4b", ".m4p",
                 ".mid", ".mka", ".mlp", ".mod", ".mpa", ".mp1", ".mp2", ".mp3", ".mpc", ".mpga",
                 ".oga", ".ogg", ".oma", ".opus", ".ra", ".ram", ".rmi", ".s3m", ".spx", ".tta",
                 ".voc", ".vqf", ".w64", ".wav", ".wma", ".wv", ".xa", ".xm" };



More information about the Android mailing list