# Issue in publishing of streamschedule.smil

**URL:** <https://community.wowza.com/t/issue-in-publishing-of-streamschedule-smil/37608>\
**Category:** Wowza Streaming Engine\
**Created:** [January 3, 2014, 1:58pm UTC](https://community.wowza.com/t/issue-in-publishing-of-streamschedule-smil/37608 "2014-01-03T13:58:59Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![varun\_chowdary](https://avatars.discourse-cdn.com/v4/letter/v/49beb7/32.png) [@varun\_chowdary](https://community.wowza.com/u/varun_chowdary)\
**Post date:** [January 3, 2014, 1:58pm UTC](https://community.wowza.com/t/issue-in-publishing-of-streamschedule-smil/37608/1 "2014-01-03T13:58:59Z")

</div>

Hello,

I configured and using the streamschedule.smil as suggested in “[https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher](https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher)” it is working fine for standard playlist.

If i edit the playlist the newly created one is not loading, I need to restart the wowza server for changes.

Is there any way to load the playlist automatically without having the manual work (like: restart the wowza server & reloading the smil file)

Please Suggest

Thanks in advance,

Chowdary

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [January 3, 2014, 9:27pm UTC](https://community.wowza.com/t/issue-in-publishing-of-streamschedule-smil/37608/2 "2014-01-03T21:27:49Z")

</div>

Chowdary,

The [current version of the scheduler](https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher) supports this. See the section Reloading schedules. It involves a Flash controller and a working example is provided

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [January 4, 2014, 3:57am UTC](https://community.wowza.com/t/issue-in-publishing-of-streamschedule-smil/37608/3 "2014-01-04T03:57:32Z")

</div>

Chowdary,

It is being done on the server in an application module. The Flash application is just a controller for you to send the command. You could replace the Flash app with a HTTPProvider and initiate with a http request.

Richard

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [January 6, 2014, 2:33pm UTC](https://community.wowza.com/t/issue-in-publishing-of-streamschedule-smil/37608/4 "2014-01-06T14:33:19Z")

</div>

Hi,

For the custom development work you will need to contact a consultant for assistance as we do not provide or support custom code.

Please see the [Find a consultant forum](http://community.wowza.com/c/-/7) or email support@wowza.com with a request for the independent consultants list if required.

Regards,

Jason

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [January 31, 2014, 5:46pm UTC](https://community.wowza.com/t/issue-in-publishing-of-streamschedule-smil/37608/5 "2014-01-31T17:46:27Z")

</div>

Hi,

To configure the stream scheduler to run in multiple applications you need to have the configuration on a per application basis which means NOT having the “ServerListenerStreamPublisher” server listener in the Server.xml.

You will however need to add ServerListenerLoadAndLockAppInstances server listener in the Server.xml and the Properties in the article below.

[How to use a server listener to load and lock an appinstance (IServerNotify2)](https://www.wowza.com/docs/how-to-use-a-server-listener-to-load-and-lock-an-appinstance-serverlistenerloadandlockappinstances)

```auto
<!-- Name of VHost to load the applications on. -->
			<Property>
				<Name>loadAndLockVHost</Name>
				<Value>_defaultVHost_</Value>
			</Property>
			<!-- Application/AppInstance names to load. Multiple applications are comma-separated. _definst is not required if the default appInstance is to be loaded. Example: live1, live2, live3/myInstance -->
			<Property>
				<Name>loadAndLockApplications</Name>
				<Value>live/_definst_,live2/_definst_</Value>
			</Property>

```

Note: I have added 2 applications to the loadAndLockApplications Property “live/_definst_” and “live2/_definst_”. change these to the application names you wish to use.

Application configuration should have the following Module and Properties.

```auto
			<Module>
				<Name>ModuleStreamPublisher</Name>
				<Description>ModuleStreamPublisher</Description>
				<Class>com.wowza.wms.plugin.collection.module.ModuleStreamPublisher</Class>
			</Module>

```

```auto
<!-- The name of the SMIL file that will be used for this schedule. The SMIL file must be located in the application's Streams/StorageDir, which is [install-dir]/content by default. -->
			<Property>
				<Name>streamPublisherSmilFile</Name>
				<Value>streamschedule.smil</Value>
			</Property>
 
			<!-- Pass metadata from the source videos to the stream. Default is true but can cause problems with some players when the metadata has duration values -->
			<Property>
				<Name>streamPublisherPassMetaData</Name>
				<Value>true</Value>
			</Property>
 
			<!-- Log when each schedule switch occurs. If a schedule is set but all items are missing, excessive logging can occur. Set this to false to prevent excessive logging -->
			<Property>
				<Name>streamPublisherSwitchLog</Name>
				<Value>true</Value>
			</Property>&#8203;

```

Remember the streamPublisherSmilFile will need to be changed to another .stream file in the second application being configured to use the stream scheduler. For example streamschedule2.smil

Regards,

Jason

---

<div class="post-metadata">

**Author:** ![varun\_chowdary](https://avatars.discourse-cdn.com/v4/letter/v/49beb7/32.png) [@varun\_chowdary](https://community.wowza.com/u/varun_chowdary)\
**Post date:** [January 4, 2014, 9:09am UTC](https://community.wowza.com/t/issue-in-publishing-of-streamschedule-smil/37608/6 "2014-01-04T09:09:44Z")

</div>

Hi Richard,

As you suggested i gone through the reloading the schedules, As per my understanding this is to be included in the client application. If not please explain in detail.

Is there any way to do the same on server side?

Chowdary

---

<div class="post-metadata">

**Author:** ![varun\_chowdary](https://avatars.discourse-cdn.com/v4/letter/v/49beb7/32.png) [@varun\_chowdary](https://community.wowza.com/u/varun_chowdary)\
**Post date:** [January 4, 2014, 9:38am UTC](https://community.wowza.com/t/issue-in-publishing-of-streamschedule-smil/37608/7 "2014-01-04T09:38:33Z")

</div>

Hi Richard,

I tried but fails, please help me on this. Is there any pre compiled module to install on lib folder to do this? I am dealing only administration part i don’t have knowledge on developing part. Please help

Chowdary

---

<div class="post-metadata">

**Author:** ![varun\_chowdary](https://avatars.discourse-cdn.com/v4/letter/v/49beb7/32.png) [@varun\_chowdary](https://community.wowza.com/u/varun_chowdary)\
**Post date:** [January 28, 2014, 11:57am UTC](https://community.wowza.com/t/issue-in-publishing-of-streamschedule-smil/37608/8 "2014-01-28T11:57:42Z")

</div>

Hi

Any way by using stream scheduling i am managing the loading of schedules. Is there any way to create another streamschedule.xml (with another name).

Means can i use two streamschedule.smil files, and i need both of them should work. Is there any possibilities to achieve that?

Chowdary

---

<div class="post-metadata">

**Author:** ![varun\_chowdary](https://avatars.discourse-cdn.com/v4/letter/v/49beb7/32.png) [@varun\_chowdary](https://community.wowza.com/u/varun_chowdary)\
**Post date:** [January 31, 2014, 11:32am UTC](https://community.wowza.com/t/issue-in-publishing-of-streamschedule-smil/37608/9 "2014-01-31T11:32:33Z")

</div>

Hi Salvadore,

Thanks for the reply,

In the [configuration](https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher), the default streamPublisherApplication is live, if i need to configure this to another application, what is the delimiter shall i use, Or i need to add one more property to the Server.xml?

Chowdary

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [January 30, 2014, 2:01pm UTC](https://community.wowza.com/t/issue-in-publishing-of-streamschedule-smil/37608/10 "2014-01-30T14:01:19Z")

</div>

You can have one schedule per application, you will need to have multiple applications to achieve this.

you do not need to compile anything, you can download the [Module Collection here](https://www.wowza.com/downloads/forums/collection/WowzaServerAddOnCollection.zip), and configure the scheduler as per this guide:

How to do scheduled streaming with Stream class streams

Salvadore
