Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
EDL::CPvrEdlParser Class Reference

Parser for PVR EDL data. More...

#include <PvrEdlParser.h>

Inheritance diagram for EDL::CPvrEdlParser:
EDL::IEdlParser

Public Member Functions

bool CanParse (const CFileItem &item) const override
 Check if this parser can handle the given file item.
 
CEdlParserResult Parse (const CFileItem &item, float fps) override
 Parse EDL data from a file item.
 
- Public Member Functions inherited from EDL::IEdlParser
virtual ~IEdlParser ()=default
 

Detailed Description

Parser for PVR EDL data.

Retrieves edit decision list data from PVR recordings and EPG items. This parser implements IEdlParser directly (not CEdlFileParserBase) as it doesn't read from files.

Member Function Documentation

◆ CanParse()

bool CPvrEdlParser::CanParse ( const CFileItem item) const
overridevirtual

Check if this parser can handle the given file item.

Parameters
itemThe file item to check
Returns
true if this parser can attempt to parse EDL data for this item

Implements EDL::IEdlParser.

◆ Parse()

CEdlParserResult CPvrEdlParser::Parse ( const CFileItem item,
float  fps 
)
overridevirtual

Parse EDL data from a file item.

Parameters
itemThe file item (provides path for file-based, or PVR tags for PVR)
fpsFrames per second (needed for frame-based formats, 0 if unavailable)
Returns
CEdlParserResult containing edits and scene markers, or empty if parsing failed

Implements EDL::IEdlParser.


The documentation for this class was generated from the following files: