Broadcast Scrobble Droid API intents
This commit is contained in:
parent
f91dcca666
commit
c82087c81f
@ -382,6 +382,11 @@ public class PlaybackService extends Service implements Runnable, MediaPlayer.On
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
mWatchers.finishBroadcast();
|
mWatchers.finishBroadcast();
|
||||||
|
|
||||||
|
Intent intent = new Intent("net.jjc1138.android.scrobbler.action.MUSIC_STATUS");
|
||||||
|
intent.putExtra("playing", mState == STATE_PLAYING);
|
||||||
|
intent.putExtra("id", getSong(0).id);
|
||||||
|
sendBroadcast(intent);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void retrieveSongs()
|
private void retrieveSongs()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user