MythTV  master
Functions
M3U Namespace Reference

Functions

QString DecodedURI (const QString &uri)
 
QString RelativeURI (const QString &surl, const QString &spath)
 
QString ParseAttributes (const QString &line, const char *attr)
 
bool ParseDecimalValue (const QString &line, int &target)
 Return the decimal argument in a line of type: blah:<decimal> presence of value <decimal> is compulsory or it will return RET_ERROR. More...
 
bool ParseDecimalValue (const QString &line, int64_t &target)
 Return the decimal argument in a line of type: blah:<decimal> presence of value <decimal> is compulsory or it will return RET_ERROR. More...
 
bool ParseVersion (const QString &line, const QString &loc, int &version)
 
bool ParseStreamInformation (const QString &line, const QString &url, const QString &loc, int &id, uint64_t &bandwidth)
 
bool ParseTargetDuration (const QString &line, const QString &loc, int &duration)
 
bool ParseSegmentInformation (int version, const QString &line, uint &duration, QString &title, const QString &loc)
 
bool ParseMediaSequence (int64_t &sequence_num, const QString &line, const QString &loc)
 
bool ParseKey (int version, const QString &line, [[maybe_unused]] bool &aesmsg, const QString &loc, QString &path, QString &iv)
 
bool ParseProgramDateTime (const QString &line, const QString &loc, QDateTime &)
 
bool ParseAllowCache (const QString &line, const QString &loc, bool &do_cache)
 
bool ParseDiscontinuitySequence (const QString &line, const QString &loc, int &discontinuity_sequence)
 
bool ParseDiscontinuity (const QString &line, const QString &loc)
 
bool ParseEndList (const QString &loc, bool &is_vod)
 
bool ParseIndependentSegments (const QString &line, const QString &loc)
 
bool ParseKey (int version, const QString &line, bool &aesmsg, const QString &loc, QString &path, QString &iv)
 

Function Documentation

◆ DecodedURI()

QString M3U::DecodedURI ( const QString &  uri)

Definition at line 9 of file m3u.cpp.

Referenced by ParseKey(), and HLSReader::ParseM3U8().

◆ RelativeURI()

QString M3U::RelativeURI ( const QString &  surl,
const QString &  spath 
)

Definition at line 16 of file m3u.cpp.

◆ ParseAttributes()

QString M3U::ParseAttributes ( const QString &  line,
const char *  attr 
)

Definition at line 27 of file m3u.cpp.

Referenced by ParseKey(), and ParseStreamInformation().

◆ ParseDecimalValue() [1/2]

bool M3U::ParseDecimalValue ( const QString &  line,
int &  target 
)

Return the decimal argument in a line of type: blah:<decimal> presence of value <decimal> is compulsory or it will return RET_ERROR.

Definition at line 52 of file m3u.cpp.

Referenced by ParseDiscontinuitySequence(), ParseMediaSequence(), ParseTargetDuration(), and ParseVersion().

◆ ParseDecimalValue() [2/2]

bool M3U::ParseDecimalValue ( const QString &  line,
int64_t &  target 
)

Return the decimal argument in a line of type: blah:<decimal> presence of value <decimal> is compulsory or it will return RET_ERROR.

Definition at line 71 of file m3u.cpp.

◆ ParseVersion()

bool M3U::ParseVersion ( const QString &  line,
const QString &  loc,
int &  version 
)

Definition at line 86 of file m3u.cpp.

Referenced by HLSReader::ParseM3U8().

◆ ParseStreamInformation()

bool M3U::ParseStreamInformation ( const QString &  line,
const QString &  url,
const QString &  loc,
int &  id,
uint64_t &  bandwidth 
)

Definition at line 119 of file m3u.cpp.

Referenced by HLSReader::ParseM3U8().

◆ ParseTargetDuration()

bool M3U::ParseTargetDuration ( const QString &  line,
const QString &  loc,
int &  duration 
)

Definition at line 171 of file m3u.cpp.

Referenced by HLSReader::ParseM3U8().

◆ ParseSegmentInformation()

bool M3U::ParseSegmentInformation ( int  version,
const QString &  line,
uint duration,
QString &  title,
const QString &  loc 
)

Definition at line 190 of file m3u.cpp.

Referenced by HLSReader::ParseM3U8().

◆ ParseMediaSequence()

bool M3U::ParseMediaSequence ( int64_t &  sequence_num,
const QString &  line,
const QString &  loc 
)

Definition at line 264 of file m3u.cpp.

Referenced by HLSReader::ParseM3U8().

◆ ParseKey() [1/2]

bool M3U::ParseKey ( int  version,
const QString &  line,
[[maybe_unused] ] bool aesmsg,
const QString &  loc,
QString &  path,
QString &  iv 
)

Definition at line 286 of file m3u.cpp.

Referenced by HLSReader::ParseM3U8().

◆ ParseProgramDateTime()

bool M3U::ParseProgramDateTime ( const QString &  line,
const QString &  loc,
QDateTime &   
)

Definition at line 374 of file m3u.cpp.

Referenced by HLSReader::ParseM3U8().

◆ ParseAllowCache()

bool M3U::ParseAllowCache ( const QString &  line,
const QString &  loc,
bool do_cache 
)

Definition at line 386 of file m3u.cpp.

Referenced by HLSReader::ParseM3U8().

◆ ParseDiscontinuitySequence()

bool M3U::ParseDiscontinuitySequence ( const QString &  line,
const QString &  loc,
int &  discontinuity_sequence 
)

Definition at line 419 of file m3u.cpp.

Referenced by HLSReader::ParseM3U8().

◆ ParseDiscontinuity()

bool M3U::ParseDiscontinuity ( const QString &  line,
const QString &  loc 
)

Definition at line 443 of file m3u.cpp.

Referenced by HLSReader::ParseM3U8().

◆ ParseEndList()

bool M3U::ParseEndList ( const QString &  loc,
bool is_vod 
)

Definition at line 451 of file m3u.cpp.

Referenced by HLSReader::ParseM3U8().

◆ ParseIndependentSegments()

bool M3U::ParseIndependentSegments ( const QString &  line,
const QString &  loc 
)

Definition at line 463 of file m3u.cpp.

Referenced by HLSReader::ParseM3U8().

◆ ParseKey() [2/2]

bool M3U::ParseKey ( int  version,
const QString &  line,
bool aesmsg,
const QString &  loc,
QString &  path,
QString &  iv 
)