Skip to content

Commit

Permalink
delete playlistType all the time when live, it's uncessary
Browse files Browse the repository at this point in the history
  • Loading branch information
akhoury committed Jun 28, 2016
1 parent 0a34035 commit 059c78d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions m3u.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ M3U.prototype.concat = function concat (m3u) {
if (m3u.isVOD()) {
clone.set('playlistType', 'VOD');
} else {
clone.set('playlistType', 'EVENT');
delete clone.properties['playlistType'];
clone.set('foundEndlist', false);
}

Expand Down Expand Up @@ -204,7 +204,7 @@ M3U.prototype.mergeByUri = function mergeByUri (m3u) {
if (m3u.isVOD()) {
clone.set('playlistType', 'VOD');
} else {
clone.set('playlistType', 'EVENT');
delete clone.properties['playlistType'];
clone.set('foundEndlist', false);
}

Expand Down Expand Up @@ -255,7 +255,7 @@ M3U.prototype.mergeByDate = function mergeByDate (m3u, options) {
if (m3uTail.isVOD()) {
result.set('playlistType', 'VOD');
} else {
result.set('playlistType', 'EVENT');
delete result.properties['playlistType'];
result.set('foundEndlist', false);
}

Expand Down

0 comments on commit 059c78d

Please sign in to comment.