Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::VIDEO Namespace Reference

Namespaces

namespace  GUILIB
 
namespace  TAGS
 
namespace  UTILS
 

Classes

class  CVideoChapterImageFileLoader
 Generates a texture for a thumbnail of a video chapter. More...
 
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, from a frame approx 1/3 into the video. More...
 
class  CVideoInfoScanner
 
class  CVideoInfoTagLoaderFactory
 
struct  EPISODE
 
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 IsBlurayPlaylist (const CFileItem &item)
 Checks whether item points to a blu-ray playlist (.mpls)
 
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 (CONTENT_TYPE content, bool folder)
 
VideoDbContentType ContentToVideoDbType (CONTENT_TYPE 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 ( CONTENT_TYPE content,
bool folder )

◆ ContentToVideoDbType()

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

◆ IsBDFile()

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

Check whether an item is a blu-ray file.

◆ IsBlurayPlaylist()

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

Checks whether item points to a blu-ray playlist (.mpls)

◆ 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.