Closed theJenix closed 11 years ago
One formatting nit. @theJenix fix it in some other branch I am pulling this in
HEY @TheLastCrusade/owners check this out I was a little over zelous and pulled it in after being the only one to look at it.
@reidbaker Any specific concerns or are you just thinking you looked through it too quickly?
Modified connection workflow so the host transmits a play status message to connecting guests. Guests then set the currentEntry member of PlaylistService and dispatch a play or paused intent to notify the rest of the system.
Refactored PlaybarFragment to listen only to the intents from playlist service (not the messages), and pull current song data from the playlist.
Refactored RemoteAudioPlayer to listen to intents from the playlist service (instead of messages) and update the internal state accordingly.
Fixed a bug where the focus changed listener was being left registered when we recreated an AudioPlayerWithEvents object, leading to weird play/pause behavior.
NOTE: This also seems to have addressed the issue of showing the "now playing" icon on the guest.
fixes #164 fixes #180 fixes #176 fixes #169