# Advanced flow, stop music from starting again

**URL:** <https://community.homey.app/t/advanced-flow-stop-music-from-starting-again/91847>\
**Category:** Questions & Help\
**Tags:** advancedflow\
**Created:** [October 15, 2023, 12:54pm UTC](https://community.homey.app/t/advanced-flow-stop-music-from-starting-again/91847 "2023-10-15T12:54:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Morten\_Larsen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/morten_larsen/32/89018_2.png) [@Morten\_Larsen](https://community.homey.app/u/Morten_Larsen)\
**Post date:** [October 15, 2023, 12:54pm UTC](https://community.homey.app/t/advanced-flow-stop-music-from-starting-again/91847/1 "2023-10-15T12:54:15Z")

</div>

I am trying to set up a flow. I use a door sensor as trigger to start the flow. Each friday between 15:00 and 18:00 I want Sonos to play a certain song. It works almost great. The one thing that annoys me is that if the song is playing, and the door sensor gets activated, the music stops and starts again. Is there a way to stop this from happening?

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [October 15, 2023, 1:20pm UTC](https://community.homey.app/t/advanced-flow-stop-music-from-starting-again/91847/2 "2023-10-15T13:20:42Z")

</div>

should be pretty easy by just adding an AND card that looks if it isn’t already playing.

---

<div class="post-metadata">

**Author:** ![Morten\_Larsen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/morten_larsen/32/89018_2.png) [@Morten\_Larsen](https://community.homey.app/u/Morten_Larsen)\
**Post date:** [October 15, 2023, 1:45pm UTC](https://community.homey.app/t/advanced-flow-stop-music-from-starting-again/91847/3 "2023-10-15T13:45:48Z")

</div>

Thanks!
