aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android
diff options
context:
space:
mode:
authorTom <tom@decompile.me.uk>2013-06-07 21:30:53 +0100
committerTom <tom@decompile.me.uk>2013-06-07 21:30:53 +0100
commit51cd59e90977f02317cc2b5d4b45dc78250b22b2 (patch)
treeb54968946f93cd4f1e251e16f92d145147eed1b1 /subsonic-android
parent1549d7f25c2ad8e3fe6ca63e6ff66c4e3ee99e1f (diff)
downloaddsub-51cd59e90977f02317cc2b5d4b45dc78250b22b2.tar.gz
dsub-51cd59e90977f02317cc2b5d4b45dc78250b22b2.tar.bz2
dsub-51cd59e90977f02317cc2b5d4b45dc78250b22b2.zip
set ALBUMARTIST metadata as thats what the lockscreen uses
put the album name into the album metadata
Diffstat (limited to 'subsonic-android')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/util/compat/RemoteControlClientICS.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/util/compat/RemoteControlClientICS.java b/subsonic-android/src/github/daneren2005/dsub/util/compat/RemoteControlClientICS.java
index a8fed63d..50989468 100644
--- a/subsonic-android/src/github/daneren2005/dsub/util/compat/RemoteControlClientICS.java
+++ b/subsonic-android/src/github/daneren2005/dsub/util/compat/RemoteControlClientICS.java
@@ -62,7 +62,8 @@ public class RemoteControlClientICS extends RemoteControlClientHelper {
// Update the remote controls
mRemoteControl.editMetadata(true)
.putString(MediaMetadataRetriever.METADATA_KEY_ARTIST, (currentSong == null) ? null : currentSong.getArtist())
- .putString(MediaMetadataRetriever.METADATA_KEY_ALBUM, (currentSong == null) ? null : currentSong.getArtist())
+ .putString(MediaMetadataRetriever.METADATA_KEY_ALBUMARTIST, (currentSong == null) ? null : currentSong.getArtist())
+ .putString(MediaMetadataRetriever.METADATA_KEY_ALBUM, (currentSong == null) ? null : currentSong.getAlbum())
.putString(MediaMetadataRetriever.METADATA_KEY_TITLE, (currentSong) == null ? null : currentSong.getTitle())
.putLong(MediaMetadataRetriever.METADATA_KEY_DURATION, (currentSong == null) ?
0 : ((currentSong.getDuration() == null) ? 0 : currentSong.getDuration()))