What action would you want performed on the Chromecast when you do this? It doesn't support "playlist" functionality. The playlist is on the device that you are using to cast from.
The chrome cast api supports a media queue - is that what you mean by playlist?
Either way it is possible to skip to the next track for sure: Class: RemotePlayerController | Cast | Google Developers
previousTrack() would also bring the driver one step closer to supporting most of the Music Player capability.
As it stands now, the
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.
* clear direct mappings to existing attributes/commands
could use other commands as a proxy (eg.
Just ordered my hubitat. I use tasker and ifttt mainly for my automation using Rf and ir hubs (broadlink) Touched on Home assistant for a while which showed promise but got a corrupt image and had problems connecting to it even after reinstalling and wasted lots of time... So here I am hoping to incorporate hubitat and my first lot of zwave/zigbee
So get to the point I hear you... I'm hoping to detect if a chromecast or a group is playing and then act on that (command one of my broadlink rm pro to change the receiver channel). Is it possible to detect the status of a chromecast in hubitat or is the compatibility more just for casting and controlling a chromecast?
I’m not sure exactly, but my Google Home devices using the inbuilt chromecast app/driver all show a ‘status’ of idle or running whether they are speaking or not.
They also have a ‘mediaSource’ attribute which shows as ‘Hubitat’ when I’m using them with TTS or None when silent
So I would think it would be easy to action on either of these two driver attributes.
As I don’t use my GH devices for anything other than tts I can’t advise on what they show when playing music etc.
Oh sounds positive. I only ordered the hubitat today so I'll look into this when it arrives (I'm on Australia so it may be a while).