m3u8stream
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -20,3 +20,3 @@ const Writable = require('stream').Writable; | ||
} else if (line.trim()) { | ||
} else if (!/^#/.test(line) && line.trim()) { | ||
// This is a segment | ||
@@ -23,0 +23,0 @@ self.emit('item', line.trim()); |
@@ -9,3 +9,3 @@ { | ||
], | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"repository": { | ||
@@ -12,0 +12,0 @@ "type": "git", |
@@ -29,3 +29,3 @@ # node-m3u8stream | ||
* `highWaterMark` - How much of the download to buffer into the stream. See [node's docs](https://nodejs.org/api/stream.html#stream_constructor_new_stream_writable_options) for more. Note that the actual amount buffered can be higher since each chunk request maintains its own buffer. | ||
* `requestOptions` - Any options you want to pass to [miniget](https://github.com/fent/node-miniget), such as `headers` or `highWaterMark`. | ||
* `requestOptions` - Any options you want to pass to [miniget](https://github.com/fent/node-miniget), such as `headers`. | ||
* `refreshInterval` - How often to refresh the playlist. If end of segment list is approached before the next interval, then it will refresh sooner. | ||
@@ -39,3 +39,3 @@ | ||
This does not parse master playlists, only media playlists. If you want to parse a master playlist to get links to media playlists, you can try the [m3u8 module](https://github.com/tedconf/node-m3u8), which m3u8stream uses. | ||
This does not parse master playlists, only media playlists. If you want to parse a master playlist to get links to media playlists, you can try the [m3u8 module](https://github.com/tedconf/node-m3u8). | ||
@@ -42,0 +42,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9148