Class: FormatParser::M3UParser
- Inherits:
-
Object
- Object
- FormatParser::M3UParser
show all
- Includes:
- IOUtils
- Defined in:
- lib/parsers/m3u_parser.rb
Constant Summary
collapse
'#EXTM3U'
- M3U8_MIME_TYPE =
'application/vnd.apple.mpegurl'
Constants included
from IOUtils
IOUtils::INTEGER_DIRECTIVES
Instance Method Summary
collapse
Methods included from IOUtils
#read_bytes, #read_fixed_point, #read_int, #safe_read, #safe_skip, #skip_bytes
Instance Method Details
#likely_match?(filename) ⇒ Boolean
7
8
9
|
# File 'lib/parsers/m3u_parser.rb', line 7
def likely_match?(filename)
filename =~ /\.m3u8?$/i
end
|