Proposed Patch for Track Information Broadcasts
Users have reported that that broadcasting track data doesn't work properly.
I am a maintainer for the open source project Simple Last.fm Scrobbler.
Changing code to.
private void updateWidget() {
updateMetadata();
updateWidgetState();
updateWidgetCover();
broadcastMetadata();
}
There is some redundancy if it's done this way.
I attach a modified file that drops the redundancy.PlaybackService.java
If the widget is working, so will the broadcasts.
Broadcasts now contain "package" which includes the package id.