tedconf / node-m3u8

Streaming parser for m3u8 files in node
MIT License
189 stars 77 forks source link

Add support to remove a PlaylistItem by index #6

Closed chriswiggins closed 8 years ago

chriswiggins commented 9 years ago

This allows the user to programatically remove an item by index from the PlayListItems array.

Use case: I'm generating a live m3u8 playlist and need to only have 100 items - by adding this method we can remove the first item (or any one that takes your desire) by passing the index to removePlaylistItem()

chriswiggins commented 9 years ago

@bog Finally came back to this, are you happy with that?