diff --git a/API.md b/API.md
index 8f3874e..00975b2 100644
--- a/API.md
+++ b/API.md
@@ -7,6 +7,7 @@
* [new HLSVod(vodManifestUri, splices, timeOffset, startTimeOffset, header)](#new_HLSVod_new)
* [.load()](#HLSVod+load)
* [.loadAfter(previousVod)](#HLSVod+loadAfter)
+ * [.reload(mediaSeqNo, additionalSegments, additionalAudioSegments)](#HLSVod+reload) ⇒
* [.addMetadata(key, value)](#HLSVod+addMetadata)
* [.getVodUri()](#HLSVod+getVodUri)
* [.getLiveMediaSequenceSegments(seqIdx)](#HLSVod+getLiveMediaSequenceSegments)
@@ -21,6 +22,7 @@
* [.getPlayheadPositions()](#HLSVod+getPlayheadPositions)
* [.releasePreviousVod()](#HLSVod+releasePreviousVod)
* [.getDuration()](#HLSVod+getDuration)
+ * [.getLastUsedDiscSeq()](#HLSVod+getLastUsedDiscSeq)
* [._copyAudioGroupsFromPrevious()](#HLSVod+_copyAudioGroupsFromPrevious)
@@ -55,6 +57,22 @@ contains the end sequences of the previous VOD
| --- | --- | --- |
| previousVod | [HLSVod
](#HLSVod) | the previous VOD to concatenate to |
+
+
+### hlsVod.reload(mediaSeqNo, additionalSegments, additionalAudioSegments) ⇒
+Removes all segments that come before a specified media sequence.
+Then prepends the new additional segments in front, then finally
+create new media sequences with the newly updated collection of segments.
+
+**Kind**: instance method of [HLSVod
](#HLSVod)
+**Returns**: A promise that new Media Sequences have been made
+
+| Param | Type | Description |
+| --- | --- | --- |
+| mediaSeqNo | number
| The media Sequence index that is the live index. |
+| additionalSegments | object
| New group of segments to merge with a possible subset of this.segments |
+| additionalAudioSegments | object
| New group of audio segments to merge with a possible subset of this.segments |
+
### hlsVod.addMetadata(key, value)
@@ -167,6 +185,12 @@ Remove pointers to previous VOD and release to garbage collector
### hlsVod.getDuration()
Returns the current duration calculated from the sum of the duration of all segments
+**Kind**: instance method of [HLSVod
](#HLSVod)
+
+
+### hlsVod.getLastUsedDiscSeq()
+Returns the last added Discontinuity sequence count from getLiveMediaSequences()
+
**Kind**: instance method of [HLSVod
](#HLSVod)
diff --git a/package-lock.json b/package-lock.json
index 9bd5848..a049986 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@eyevinn/hls-vodtolive",
- "version": "1.14.0",
+ "version": "1.15.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@eyevinn/hls-vodtolive",
- "version": "1.14.0",
+ "version": "1.15.0",
"license": "MIT",
"dependencies": {
"@eyevinn/m3u8": "^0.4.0",
diff --git a/package.json b/package.json
index bdb5d0d..96cc2c3 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@eyevinn/hls-vodtolive",
- "version": "1.14.0",
+ "version": "1.15.0",
"description": "NPM library to generate HLS Live from HLS VOD",
"main": "index.js",
"scripts": {