class M3U8::Parser

Included Modules

Extended Modules

Defined in:

m3u8/parser.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(string : String) #
m3u8_string = "#EXTM3U...."
parser = Parser.new(m3u8_string)
parser.read
# => #<M3U8::Playlist...>

[View source]
def self.new #
m3u8_string = "#EXTM3U...."
parser = Parser.new
parser.read(m3u8_string)
# => #<M3U8::Playlist...>

[View source]

Class Method Detail

def self.read(string : String) #
m3u8_string = "#EXTM3U...."
parser = Parser.read(m3u8_string)
# => #<M3U8::Playlist...>

[View source]

Instance Method Detail

def is_parse : Bool #

[View source]
def live : Bool | Nil #

[View source]
def playlist : Playlist #

[View source]
def read(string : String) #
m3u8_string = "#EXTM3U...."
parser = Parser.new
parser.read(m3u8_string)
# => #<M3U8::Playlist...>

[View source]
def read #
m3u8_string = "#EXTM3U...."
parser = Parser.new(m3u8_string)
parser.read
# => #<M3U8::Playlist...>

[View source]
def reader : Scanner #

[View source]