[Android] Fill artist tag for session metadata
Geoffrey Métais
git at videolan.org
Wed Apr 13 11:37:55 CEST 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Apr 13 11:37:03 2016 +0200| [7690d64fdfd22e5f2a944f1c5bb5aa6293e3acb4] | committer: Geoffrey Métais
Fill artist tag for session metadata
> https://code.videolan.org/videolan/vlc-android/commit/7690d64fdfd22e5f2a944f1c5bb5aa6293e3acb4
---
vlc-android/src/org/videolan/vlc/PlaybackService.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/vlc-android/src/org/videolan/vlc/PlaybackService.java b/vlc-android/src/org/videolan/vlc/PlaybackService.java
index 57d1d1b..3ff9c11 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -1138,6 +1138,7 @@ public class PlaybackService extends Service implements IVLCVout.Callback {
bob.putString(MediaMetadataCompat.METADATA_KEY_TITLE, title)
.putString(MediaMetadataCompat.METADATA_KEY_GENRE, MediaUtils.getMediaGenre(this, media))
.putLong(MediaMetadataCompat.METADATA_KEY_TRACK_NUMBER, media.getTrackNumber())
+ .putString(MediaMetadataCompat.METADATA_KEY_ARTIST, MediaUtils.getMediaArtist(this, media))
.putString(MediaMetadataCompat.METADATA_KEY_ALBUM_ARTIST, MediaUtils.getMediaReferenceArtist(this, media))
.putString(MediaMetadataCompat.METADATA_KEY_ALBUM, MediaUtils.getMediaAlbum(this, media))
.putLong(MediaMetadataCompat.METADATA_KEY_DURATION, media.getLength());
More information about the Android
mailing list