Skip to content

Commit

Permalink
Added HasEndList property to detect if stream has ended for PlayListT…
Browse files Browse the repository at this point in the history
…ype=Event
  • Loading branch information
marcobaldo committed Dec 6, 2019
1 parent adbc3c4 commit ee2f89b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/m3uParser/Model/Extm3u.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ namespace m3uParser.Model
public class Extm3u
{
public string PlayListType { get; set; }
public bool HasEndList { get; set; }
public int? TargetDuration { get; set; }
public int? Version { get; set; }
public int? MediaSequence { get; set; }
Expand Down Expand Up @@ -78,6 +79,7 @@ internal Extm3u(string content)
break;

case "EXT-X-ENDLIST":
this.HasEndList = true;
break;

default:
Expand Down

0 comments on commit ee2f89b

Please sign in to comment.