# Prevent old streamscheduled items from playing

**URL:** <https://community.wowza.com/t/prevent-old-streamscheduled-items-from-playing/38924>\
**Category:** Wowza Streaming Engine\
**Created:** [December 13, 2016, 2:38pm UTC](https://community.wowza.com/t/prevent-old-streamscheduled-items-from-playing/38924 "2016-12-13T14:38:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Justin\_Davis](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@Justin\_Davis](https://community.wowza.com/u/Justin_Davis)\
**Post date:** [December 13, 2016, 2:38pm UTC](https://community.wowza.com/t/prevent-old-streamscheduled-items-from-playing/38924/1 "2016-12-13T14:38:30Z")

</div>

Hello.

I am trying to use the streamschedule/loopuntillive features in order to run a 5 minute “pre-roll” before a live stream. This is working great, however if the application is reloaded or if the server is restarted those now expired old pre-rolls start playing.

Is there a way to prevent previously scheduled (expired?) items from playing?

Thanks,

Justin

---

<div class="post-metadata">

**Author:** ![Jermaine\_Hemby](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@Jermaine\_Hemby](https://community.wowza.com/u/Jermaine_Hemby)\
**Post date:** [December 18, 2016, 9:32am UTC](https://community.wowza.com/t/prevent-old-streamscheduled-items-from-playing/38924/2 "2016-12-18T09:32:35Z")

</div>

Hello!

Thanks for contacting Wowza Forums!

It plays the old pre-rolls because the schedule is reloaded and because those times have passed, it thinks they should be running already, therefore starts them.

In your SMIL files, do you have repeat = true or false? If true, can you change it to false?

regards,

Jermaine
