[Android] Add mpga to the list of file extensions

Jean-Baptiste Kempf git at videolan.org
Mon May 13 17:26:32 CEST 2013


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon May 13 17:25:48 2013 +0200| [dc1c12de1f17623161ad68b98509c59ae03d879a] | committer: Jean-Baptiste Kempf

Add mpga to the list of file extensions

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

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

diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
index f5100ea..dbfd06c 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -306,6 +306,7 @@
                 <data android:pathPattern=".*\\.mp2" />
                 <data android:pathPattern=".*\\.mp3" />
                 <data android:pathPattern=".*\\.mpc" />
+                <data android:pathPattern=".*\\.mpga" />
                 <data android:pathPattern=".*\\.oga" />
                 <data android:pathPattern=".*\\.ogg" />
                 <data android:pathPattern=".*\\.oma" />
diff --git a/vlc-android/src/org/videolan/vlc/Media.java b/vlc-android/src/org/videolan/vlc/Media.java
index 82af669..108c39d 100644
--- a/vlc-android/src/org/videolan/vlc/Media.java
+++ b/vlc-android/src/org/videolan/vlc/Media.java
@@ -52,7 +52,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",
-                ".mid", ".mka", ".mlp", ".mod", ".mpa", ".mp1", ".mp2", ".mp3", ".mpc",
+                ".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