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

#include <DVDFileInfo.h>

Static Public Member Functions

static std::unique_ptr< CTextureExtractThumbToTexture (const CFileItem &fileItem, int chapterNumber=0)
 
static bool CanExtract (const CFileItem &fileItem)
 Can a thumbnail image and file stream details be extracted from this file item?
 
static bool GetFileStreamDetails (CFileItem *pItem)
 Open the item pointed to by pItem and extract streamdetails.
 
static bool GetFileDuration (const std::string &path, int &duration)
 

Member Function Documentation

◆ CanExtract()

bool CDVDFileInfo::CanExtract ( const CFileItem & fileItem)
static

Can a thumbnail image and file stream details be extracted from this file item?

◆ ExtractThumbToTexture()

std::unique_ptr< CTexture > CDVDFileInfo::ExtractThumbToTexture ( const CFileItem & fileItem,
int chapterNumber = 0 )
static

◆ GetFileDuration()

bool CDVDFileInfo::GetFileDuration ( const std::string & path,
int & duration )
static

◆ GetFileStreamDetails()

bool CDVDFileInfo::GetFileStreamDetails ( CFileItem * pItem)
static

Open the item pointed to by pItem and extract streamdetails.

Returns
true if the stream details have changed

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