# How to configure SMIL file for a VOD app with dynamic content directory

**URL:** <https://community.wowza.com/t/how-to-configure-smil-file-for-a-vod-app-with-dynamic-content-directory/40006>\
**Category:** Wowza Streaming Engine\
**Created:** [April 3, 2014, 9:51am UTC](https://community.wowza.com/t/how-to-configure-smil-file-for-a-vod-app-with-dynamic-content-directory/40006 "2014-04-03T09:51:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Richard\_Perez](https://avatars.discourse-cdn.com/v4/letter/r/48db29/32.png) [@Richard\_Perez](https://community.wowza.com/u/Richard_Perez)\
**Post date:** [April 3, 2014, 9:51am UTC](https://community.wowza.com/t/how-to-configure-smil-file-for-a-vod-app-with-dynamic-content-directory/40006/1 "2014-04-03T09:51:13Z")

</div>

Hello,

I’m currently switching my one stream live-record application into an ABR (3 streams 1080p / 720p / 360p) applications. Everything seems good for the live playing and all my streams are recorded into my recording directory.

I have another VOD application that use the recording directory of the first application as a playlist. My problem is that now i have 3 times the same files (once for each resolution) and i don’t know how to configure my smil file for my vod application. In fact i’m able to hardcode smil file for each of my 3 streams but I want the application to generate the smil file for each 3 files couple in the content directory.

How to do that?

Best regards

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Perez](https://avatars.discourse-cdn.com/v4/letter/r/48db29/32.png) [@Richard\_Perez](https://community.wowza.com/u/Richard_Perez)\
**Post date:** [April 3, 2014, 3:51pm UTC](https://community.wowza.com/t/how-to-configure-smil-file-for-a-vod-app-with-dynamic-content-directory/40006/2 "2014-04-03T15:51:33Z")

</div>

Ok, so i’m answering myself.

I found this thread [SMIL Generation](http://community.wowza.com/t/-/42310) with somebody having the same problem as me so i’m beginning coding a new module to provide me smil files.
