#include <VideoTagExtractionHelper.h>
|
static bool | IsExtractionSupportedFor (const CFileItem &item) |
| Check whether tag extraction is supported for the given item. This is no check whether the video denoted by the item actually contains any tags. There is also a Kodi setting for enabling video tag support that is taken into consideration by the implementation of this function.
|
|
static std::string | ExtractEmbeddedArtFor (const CFileItem &item, const std::string &artType) |
| Try to extract embedded art of given type from the given item denoting a video file.
|
|
◆ ExtractEmbeddedArtFor()
std::string KODI::VIDEO::TAGS::CVideoTagExtractionHelper::ExtractEmbeddedArtFor |
( |
const CFileItem & | item, |
|
|
const std::string & | artType ) |
|
static |
Try to extract embedded art of given type from the given item denoting a video file.
- Parameters
-
item | [in] the item. |
artType | The type of the art to extract (e.g. "fanart"). |
- Returns
- The image URL of the embedded art if extraction was successful, false otherwise.
◆ IsExtractionSupportedFor()
bool KODI::VIDEO::TAGS::CVideoTagExtractionHelper::IsExtractionSupportedFor |
( |
const CFileItem & | item | ) |
|
|
static |
Check whether tag extraction is supported for the given item. This is no check whether the video denoted by the item actually contains any tags. There is also a Kodi setting for enabling video tag support that is taken into consideration by the implementation of this function.
- Parameters
-
item | [in] the item denoting a video file. |
- Returns
- True if tag support is enabled and extraction is supported for the given file type.
The documentation for this class was generated from the following files: