refactor live logic in playlist php
refactor live logic in playlist php

- return only the clips that fall within the dvr window
- make the languages array optional
- add error message if failing to get a video duration

kaltura/nginx-vod-module,kaltura/nginx-vod-module,kaltura/nginx-vod-module,kaltura/nginx-vod-module,kaltura/nginx-vod-module,kaltura/nginx-vod-module