# Playlist duration query using DVR's UTC-based request

**URL:** <https://community.wowza.com/t/playlist-duration-query-using-dvrs-utc-based-request/46841>\
**Category:** Wowza Streaming Engine\
**Created:** [March 31, 2016, 3:52pm UTC](https://community.wowza.com/t/playlist-duration-query-using-dvrs-utc-based-request/46841 "2016-03-31T15:52:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicolas\_Vergara](https://avatars.discourse-cdn.com/v4/letter/n/e495f1/32.png) [@Nicolas\_Vergara](https://community.wowza.com/u/Nicolas_Vergara)\
**Post date:** [March 31, 2016, 3:52pm UTC](https://community.wowza.com/t/playlist-duration-query-using-dvrs-utc-based-request/46841/1 "2016-03-31T15:52:05Z")

</div>

Hi,

I’m trying to make a timeshift app, and I have set the playlist request delegate to UTC-based request.

I don’t have any problem with that, but I have a small question about the wowzadvrplaylistduration query.

It’s possible to omit the wowzadvrplaylistduration query parameter, so the playlist will start at wowzadvrplayliststart value and won’t end (infinite duration)?

Thanks !

---

<div class="post-metadata">

**Author:** ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)\
**Post date:** [April 1, 2016, 3:40pm UTC](https://community.wowza.com/t/playlist-duration-query-using-dvrs-utc-based-request/46841/2 "2016-04-01T15:40:41Z")

</div>

Hi,

If you don’t specify an end-time then the following logic is applied:

> For a live store (one that’s currently recording), the playlist presented to the player is a live playlist.
> 
> For a recorded store (one that isn’t recording), the playlist presented to the player is a recorded playlist, using the end-time of the recording.
> 
> I’m not sure if that answers your question. The end-time for a stream that is live is obviously different (as in it doesn’t exist) compared to a stream that isn’t live and so has an actual end-date. DVR treats streams differently depending on if they are live or not.
> 
> Paul

---

<div class="post-metadata">

**Author:** ![Zhang\_Wei](https://avatars.discourse-cdn.com/v4/letter/z/838e76/32.png) [@Zhang\_Wei](https://community.wowza.com/u/Zhang_Wei)\
**Post date:** [September 27, 2017, 8:03am UTC](https://community.wowza.com/t/playlist-duration-query-using-dvrs-utc-based-request/46841/3 "2017-09-27T08:03:20Z")

</div>

There Is No Chance To Develop A Timeshift App Using Playlist API, Because The Playlist Will Stop At The Live Point When You Query It Using An Specified End-Time That Is After The Live Point!

---

<div class="post-metadata">

**Author:** ![Zhang\_Wei](https://avatars.discourse-cdn.com/v4/letter/z/838e76/32.png) [@Zhang\_Wei](https://community.wowza.com/u/Zhang_Wei)\
**Post date:** [September 27, 2017, 8:04am UTC](https://community.wowza.com/t/playlist-duration-query-using-dvrs-utc-based-request/46841/4 "2017-09-27T08:04:06Z")

</div>

There Is No Chance To Develop A Timeshift App Using Playlist API, Because The Playlist Will Stop At The Live Point When You Query It Using An Specified End-Time That Is After The Live Point!
