Stop playsound

playsound
Tags: #<Tag:0x00007f1e5fc2d240>
(eric) #1

Hi,

I am using the playsound action to start a sound to wake up my girlfriend if her phone fails… this is pretty simple and it works fine, but the sound is a track about 3 mins long thats why I am searching for a way to stop it befor it ends. Is there any way to do so?

Thanks
Eric

0 Likes

(Vincent Regaud) #2

NO there isn’t I am afraid.

0 Likes

(Markus Storm) #3

Right there is not. But you could use an audio tool to split that track into multiple to improve unwanted play time.

0 Likes

(Rolf Vermeer) #4

That depends on what you are playing it on. I for example use Google Home devices to play notifications or wake-up songs on (via say() and playSound() respectively), and there you can use the media control item of the Chromecast Thing to stop the sound from playing.

Alternatively you could, depending on the type of device, set the volume to 0 temporarily, if that suffices.

1 Like