From dc551fc6cc20288e757ef60c92adaf5dfbb2db85 Mon Sep 17 00:00:00 2001 From: Karim Abou Zeid Date: Sat, 5 Sep 2015 13:04:45 +0200 Subject: [PATCH] Even though the Last.fm app and webpage say something is scrobbling, the scrobble doesn't actually get saved at the end. Fixes #59 --- app/src/main/assets/changelog.html | 3 +++ .../java/com/kabouzeid/gramophone/service/MusicService.java | 1 + 2 files changed, 4 insertions(+) diff --git a/app/src/main/assets/changelog.html b/app/src/main/assets/changelog.html index db61ef8d..4f8cb45c 100644 --- a/app/src/main/assets/changelog.html +++ b/app/src/main/assets/changelog.html @@ -29,6 +29,9 @@
  1. FIX: Fixed the plural typo in the artist list.
  2. +
  3. FIX: Even though the Last.fm app and webpage say something is scrobbling, the + scrobble doesn't actually get saved at the end. Thank Tim Malseed for that. +

Version 0.9.44 beta5

diff --git a/app/src/main/java/com/kabouzeid/gramophone/service/MusicService.java b/app/src/main/java/com/kabouzeid/gramophone/service/MusicService.java index bc4f635f..8df6cd85 100644 --- a/app/src/main/java/com/kabouzeid/gramophone/service/MusicService.java +++ b/app/src/main/java/com/kabouzeid/gramophone/service/MusicService.java @@ -822,6 +822,7 @@ public class MusicService extends Service implements SharedPreferences.OnSharedP internalIntent.putExtra("artist", currentSong.artistName); internalIntent.putExtra("album", currentSong.albumName); internalIntent.putExtra("track", currentSong.title); + internalIntent.putExtra("duration", currentSong.duration); } internalIntent.putExtra("playing", isPlaying()); sendStickyBroadcast(internalIntent);