[Android] [PATCH 5/5] libvlc: Media: fix albumArtist from Meta

Thomas Guillem thomas at gllm.fr
Tue Dec 30 17:36:05 CET 2014


---
 libvlc/src/org/videolan/libvlc/Media.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libvlc/src/org/videolan/libvlc/Media.java b/libvlc/src/org/videolan/libvlc/Media.java
index bcb5347..2875022 100644
--- a/libvlc/src/org/videolan/libvlc/Media.java
+++ b/libvlc/src/org/videolan/libvlc/Media.java
@@ -134,7 +134,7 @@ public class Media implements Comparable<Media> {
 //    public final static int libvlc_meta_Episode     = 20;
 //    public final static int libvlc_meta_ShowName    = 21;
 //    public final static int libvlc_meta_Actors      = 22;
-//    public final static int libvlc_meta_AlbumArtist = 23;
+    public final static int libvlc_meta_AlbumArtist = 23;
 //    public final static int libvlc_meta_DiscNumber  = 24;
 
     private final String mLocation;
@@ -260,6 +260,7 @@ public class Media implements Comparable<Media> {
         mArtist = libVLC.getMeta(libvlc_meta_Artist);
         mGenre = libVLC.getMeta(libvlc_meta_Genre);
         mAlbum = libVLC.getMeta(libvlc_meta_Album);
+        mAlbumArtist = libVLC.getMeta(libvlc_meta_AlbumArtist);
         mNowPlaying = libVLC.getMeta(libvlc_meta_NowPlaying);
         mArtworkURL = libVLC.getMeta(libvlc_meta_ArtworkURL);
     }
-- 
2.1.3



More information about the Android mailing list