# Smil file item playing event

**URL:** <https://community.wowza.com/t/smil-file-item-playing-event/47019>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [July 28, 2016, 7:44pm UTC](https://community.wowza.com/t/smil-file-item-playing-event/47019 "2016-07-28T19:44:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maurizio\_Carella](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@Maurizio\_Carella](https://community.wowza.com/u/Maurizio_Carella)\
**Post date:** [July 28, 2016, 7:44pm UTC](https://community.wowza.com/t/smil-file-item-playing-event/47019/1 "2016-07-28T19:44:20Z")

</div>

Hi,

I have a smil file with one playlist playing on one stream. That playlist has many files, like that:

```auto
<smil>
    <head>
    </head>
    <body>
        <stream name="stream1"></stream>
        
        <playlist name="pl1" playOnStream="stream1" repeat="true" scheduled="2016-01-01 00:00:00">
            <video src="mp4:sample1.mp4" start="0" length="-1"/>
            <video src="mp4:sample2.mp4" start="0" length="-1"/>
            <video src="mp4:sample3.mp4" start="0" length="-1"/>
            <video src="mp4:sample4.mp4" start="0" length="-1"/>
            <video src="mp4:sample5.mp4" start="0" length="-1"/>
            <video src="mp4:sample6.mp4" start="0" length="-1"/>
            <video src="mp4:sample7.mp4" start="0" length="-1"/>
            <video src="mp4:sample8.mp4" start="0" length="-1"/>
            <video src="mp4:sample9.mp4" start="0" length="-1"/>
            <video src="mp4:sample10.mp4" start="0" length="-1"/>
        </playlist>
    </body>
</smil>

```

Is it possible to get the event of each file of the playlist started, with Wowza Java API?

Thanks,

Maurizio

---

<div class="post-metadata">

**Author:** ![Michelle\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/michelle_b/32/394_2.png) [@Michelle\_B](https://community.wowza.com/u/Michelle_B)\
**Post date:** [August 15, 2016, 9:22pm UTC](https://community.wowza.com/t/smil-file-item-playing-event/47019/2 "2016-08-15T21:22:20Z")

</div>

Hi Maurizio,

Are you looking for a method to trigger notifications for each playlist item? You can look at the onPlaylistItemStart() method in the IStreamActionNotify interface. You will need to add an event listener in your module as well.

Michelle
