Skip to content

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.

PlayBackService 1247-1250

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.