Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
KODI::VIDEO Namespace Reference

Namespaces

namespace  GUILIB
 
namespace  TAGS
 
namespace  UTILS
 

Classes

class  CSetInfoTagLoaderFactory
 
class  CVideoEmbeddedImageFileLoader
 Generates a texture for an image embedded in a video file. More...
 
class  CVideoGeneratedImageFileLoader
 Generates a texture for a thumbnail of a video file, for a specific chapter or from a frame approx 1/3 into the video. More...
 
class  CVideoInfoScanner
 
class  CVideoInfoTagLoaderFactory
 
struct  EPISODE
 
class  ISetInfoTagLoader
 Base class for set tag loaders. More...
 
class  IVideoInfoTagLoader
 Base class for video tag loaders. More...
 
class  IVideoItemArtworkHandler
 
class  IVideoItemArtworkHandlerFactory
 
struct  SScanSettings
 

Typedefs

typedef std::vector< EPISODEEPISODELIST
 
typedef struct KODI::VIDEO::SScanSettings SScanSettings
 

Functions

bool IsBDFile (const CFileItem &item)
 Check whether an item is a blu-ray file.
 
bool IsDiscStub (const CFileItem &item)
 Check whether an item is a disc stub.
 
bool IsDVDFile (const CFileItem &item, bool bVobs=true, bool bIfos=true)
 Check whether an item is a DVD file.
 
bool IsProtectedBlurayDisc (const CFileItem &item)
 Checks whether item points to a protected blu-ray disc.
 
bool IsSubtitle (const CFileItem &item)
 Check whether an item is a subtitle file.
 
bool IsVideo (const CFileItem &item)
 Check whether an item is a video item.
 
bool IsVideoAssetFile (const CFileItem &item)
 Is the item a video asset, excluding folders.
 
bool IsVideoDb (const CFileItem &item)
 Check whether an item is a video database item.
 
bool IsVideoExtrasFolder (const CFileItem &item)
 Check whether an item is a video extras folder item.
 
std::string ContentToMediaType (ContentType content, bool folder)
 
VideoDbContentType ContentToVideoDbType (ContentType content)
 

Typedef Documentation

◆ EPISODELIST

typedef std::vector<EPISODE> KODI::VIDEO::EPISODELIST

◆ SScanSettings

typedef struct KODI::VIDEO::SScanSettings KODI::VIDEO::SScanSettings

Function Documentation

◆ ContentToMediaType()

std::string KODI::VIDEO::ContentToMediaType ( ContentType content,
bool folder )

◆ ContentToVideoDbType()

VideoDbContentType KODI::VIDEO::ContentToVideoDbType ( ContentType content)

◆ IsBDFile()

bool KODI::VIDEO::IsBDFile ( const CFileItem & item)

Check whether an item is a blu-ray file.

◆ IsDiscStub()

bool KODI::VIDEO::IsDiscStub ( const CFileItem & item)

Check whether an item is a disc stub.

◆ IsDVDFile()

bool KODI::VIDEO::IsDVDFile ( const CFileItem & item,
bool bVobs,
bool bIfos )

Check whether an item is a DVD file.

◆ IsProtectedBlurayDisc()

bool KODI::VIDEO::IsProtectedBlurayDisc ( const CFileItem & item)

Checks whether item points to a protected blu-ray disc.

◆ IsSubtitle()

bool KODI::VIDEO::IsSubtitle ( const CFileItem & item)

Check whether an item is a subtitle file.

◆ IsVideo()

bool KODI::VIDEO::IsVideo ( const CFileItem & item)

Check whether an item is a video item.

Note that this returns true for anything with a video info tag, so that may include eg. folders.

Todo
If the file is a zip file, ask the game clients if any support this

◆ IsVideoAssetFile()

bool KODI::VIDEO::IsVideoAssetFile ( const CFileItem & item)

Is the item a video asset, excluding folders.

Parameters
[in]itemthe item
Returns
true if it is, false otherwise

◆ IsVideoDb()

bool KODI::VIDEO::IsVideoDb ( const CFileItem & item)

Check whether an item is a video database item.

◆ IsVideoExtrasFolder()

bool KODI::VIDEO::IsVideoExtrasFolder ( const CFileItem & item)

Check whether an item is a video extras folder item.