#include <DVDFileInfo.h>
|
| static std::unique_ptr< CTexture > | ExtractThumbToTexture (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 | IsExtractableLocation (const std::string &path) |
| | Is path close enough to decode frames from: local, or on the LAN for HTTP and FTP?
|
| |
| static bool | GetFileStreamDetails (CFileItem *pItem, int listingFlags=0, CStreamDetails *probed=nullptr, unsigned int fileFlags=0) |
| | Probe the file's streams, look for its external subtitles, and store them in its tag.
|
| |
| static void | AddExternalSubtitles (CFileItem &item, CStreamDetails streams, int listingFlags=0) |
| | Store streams probed already in an item's tag, with the item's own external subtitles.
|
| |
| static bool | GetFileDuration (const std::string &path, int &duration, unsigned int fileFlags=0) |
| |
◆ AddExternalSubtitles()
Store streams probed already in an item's tag, with the item's own external subtitles.
- Parameters
-
◆ CanExtract()
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, |
|
|
unsigned int | fileFlags = 0 ) |
|
static |
◆ GetFileStreamDetails()
Probe the file's streams, look for its external subtitles, and store them in its tag.
Open the item pointed to by pItem and extract streamdetails.
- Parameters
-
| listingFlags | added to the flags the video's folder is listed with to look for subtitles |
| [out] | probed | if given, the file's own streams, without the external subtitles, which another video of the same file (eg. another episode of it) can be given by AddExternalSubtitles() |
| fileFlags | added to the flags (XFILE::READ_*) the file, and each part of a stack, is opened with |
- Returns
- true if the stream details have changed
◆ IsExtractableLocation()
| bool CDVDFileInfo::IsExtractableLocation |
( |
const std::string & | path | ) |
|
|
static |
Is path close enough to decode frames from: local, or on the LAN for HTTP and FTP?
The documentation for this class was generated from the following files: