[Android] [PATCH] AudioService : Show artist in lock screen

Alexandre Perraud 4leyx4ndre at gmail.com
Thu Aug 7 13:23:25 CEST 2014


2014-08-07 3:46 GMT+02:00 Jean-Baptiste Kempf <jb at videolan.org>:

> On 05 Aug, Alexandre Perraud wrote :
> > Fix #11641
> > ---
> >  vlc-android/src/org/videolan/vlc/audio/AudioService.java | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/vlc-android/src/org/videolan/vlc/audio/AudioService.java
> b/vlc-android/src/org/videolan/vlc/audio/AudioService.java
> > index 36ec05a..168950a 100644
> > --- a/vlc-android/src/org/videolan/vlc/audio/AudioService.java
> > +++ b/vlc-android/src/org/videolan/vlc/audio/AudioService.java
> > @@ -889,7 +889,7 @@ public class AudioService extends Service {
> >          if (mRemoteControlClient != null && media != null) {
> >              MetadataEditor editor =
> mRemoteControlClient.editMetadata(true);
> >              editor.putString(MediaMetadataRetriever.METADATA_KEY_ALBUM,
> media.getAlbum());
> > -
>  editor.putString(MediaMetadataRetriever.METADATA_KEY_ARTIST,
> media.getArtist());
> > +
>  editor.putString(MediaMetadataRetriever.METADATA_KEY_ALBUMARTIST,
> media.getArtist());
>
> Why not push both?
>
>
METADATA_KEY_ARTIST doesn't seem to be used but yes, why not, it could be
one day.

Alex.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/android/attachments/20140807/d59d8493/attachment.html>


More information about the Android mailing list