Chromecast integration, Thanks HE Team!

Adding nextTrack() and previousTrack() would also bring the driver one step closer to supporting most of the Music Player capability.

As it stands now, the play() and pause() commands don't really seem to be tied to any capability - having them tied to a capability would make it easier and cleaner to expose them to apps in a meaningful way.

Attributes Device Music Player Mirrors
level :white_check_mark:* :white_check_mark: volume
mute :white_check_mark: :white_check_mark:
status :white_check_mark: :white_check_mark:
trackData :white_check_mark:
trackDescription :white_check_mark:
Commands Device Music Player
mute :white_check_mark: :white_check_mark:
nextTrack :white_check_mark:
pause :white_check_mark: :white_check_mark:
play :white_check_mark: :white_check_mark:
playText(text) :white_check_mark:* :white_check_mark: speak()
playTrack(trackuri) :white_check_mark: :white_check_mark:
previousTrack() :white_check_mark:
restoreTrack(trackuri) :eight_spoked_asterisk: :white_check_mark: playTrack()
resumeTrack(trackuri) :eight_spoked_asterisk: :white_check_mark: playTrack()
setLevel(volumelevel) :white_check_mark:* :white_check_mark: setVolume()
setTrack(trackuri) :eight_spoked_asterisk: :white_check_mark: playTrack()
stop() :white_check_mark: :white_check_mark:
unmute() :white_check_mark: :white_check_mark:

:white_check_mark:* clear direct mappings to existing attributes/commands
:eight_spoked_asterisk: could use other commands as a proxy (eg. playTrack())

2 Likes