Usage:
$ npx {url of this gist} {url of master playlist}
How it works:
- Downloads all the media playlists associated with the specified master playlist
- Check if each segment's duration exceeds the target duration defined in the master playlist
- If it exceeds, you'll see the following logs:
=== Vioration: Duration exceeds #EXT-X-TARGETDURATION ===
Playlist URI: {plylist uri}
TargetDuration: {target duration}
Segment URI: {segment uri}
Duration: {segment uri}