hls-player: add option to keep N segments
-rwxr-xr-x 21536 hls-player.py