Aaaannd - back
As of lately Iām now having partial resume. Has Spotify changed something? (Livingroom resumes, Kitchen doesnāt and complains āSpotify account is used on another accountā.
Aaaannd - back
As of lately Iām now having partial resume. Has Spotify changed something? (Livingroom resumes, Kitchen doesnāt and complains āSpotify account is used on another accountā.
Iām having that issue just by telling Google to play something on spotify. Think its just a general spotify issue.
How did you start this Spotify stream? Is it playing on a speaker group, or did you change the output speakers in the Google Home app or on your Nest Hub or whatever.
Could you send the trace of the main script instead of the Perform resume script?
It kinda seems like the resume is performed on the individual members instead of on the group (if a group has been used).
Started the Spotify stream on the speaker group (downstairs), then the announcement was played downstairs, then this happenedā¦
Fixed in v.2.3.3
unavailable
Thanks for the recent bug fixes, script is working like a charm again (and also much faster without the Google bell before announcement?!) Thanks!
All errors fixed after upgrade to core 2022.4.7 and Script 2.3.3
Thank you.
I guess I didnāt wrote very clearly. that mp3 file is the doorbell ring that interrupts my radio which is played on my google devices through a script. So I should resume radio , not mp3 file
Did you actually try the code I suggested? Because that it will do exactly what you describe here.
I am getting an error:
Call service script.google_home_resume
00 š Google Home Resume (script.google_home_resume) started
00 š Google Home Resume (script.google_home_resume) turned on
00 š Google Home Resume (script.google_home_resume) turned off
Stopped because an error was encountered at 27 April 2022, 11:05:08 (runtime: 0.56 seconds)
Entity media_player.stereo_speakers does not support this service.
Any ideas? Thanks!
Could you send the trace of the script? There is information in how to do that in the start post.
I assume media_player.stereo_speakers
is a stereo pair?
It seems that the media_player.turn_on
service is not supported by this entity. I use that to turn it on and retrieve the volume.
There is actually a PR which allows turning on speaker groups, and I assume this also accounts for speaker pairs.
Iām already on 2022.5.0b1 so I could check this, but I canāt seem to find the option to create Stereo Pairs anywhere in the Google Home app did a test, and the turn_on
service works fine in 2022.5
2022.5 also introduces the option to continue the script/automation when a service call fails, I will make sure to add this to this service call. However, at this moment I canāt do much about this, unless I remove the service call at all (or make it optional), however that would be a lot of work for something that will be an easy fix in less than a week.
Thanks, yes, itās indeed a stereo pair. I will wait and test it again on 2022.5 then.
Probably unrelated: I donāt have groups and donāt use the radio, so I commented the āradio_dataā and āspeaker_groupsā bits (rows 37 to 64). Is that right, or doesnāt it matter/hurt to keep them as they are?
No, thatās fine. If you donāt use them, you can leave it out (or comment it out like you did).
Quick question: Iām confused about compatibility. Is it only compatible with the services you listed, or can I use this script to resume my Apple Music or Pandora streams on my Google Home?
I assume you mean Plex here, and not Flex. Flex is something Iāve never seen before.
I donāt have a Plex server, so this is tricky for me to add and support. Iām not sure what kind of service calls are used to start media.
@ryantrip the same applies to your request, I donāt use Apple Music and Pandora, and I donāt know how resume for these services would work. Pandora isnāt available in the Netherlands, so I canāt even test that.