Make scrobbling work with the official Last.FM client

This commit is contained in:
Christopher Eby 2010-04-23 11:20:08 -05:00
parent 1ac82fd16b
commit 53eb34ec84

View File

@ -363,7 +363,7 @@ public final class PlaybackService extends Service implements Handler.Callback,
intent = new Intent("net.jjc1138.android.scrobbler.action.MUSIC_STATUS");
intent.putExtra("playing", (state & FLAG_PLAYING) != 0);
if (song != null)
intent.putExtra("id", song.id);
intent.putExtra("id", (int)song.id);
sendBroadcast(intent);
}