Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
VideoUtils.h File Reference
#include <string>

Classes

struct  KODI::VIDEO::UTILS::ResumeInformation
 

Namespaces

namespace  KODI
 
namespace  KODI::VIDEO
 
namespace  KODI::VIDEO::UTILS
 

Functions

std::string KODI::VIDEO::UTILS::FindTrailer (const CFileItem &item)
 Find a local trailer file for a given file item.
 
std::string KODI::VIDEO::UTILS::GetOpticalMediaPath (const CFileItem &item)
 Check whether an item is an optical media folder or its parent. This will return the non-empty path to the playable entry point of the media one or two levels down (VIDEO_TS.IFO for DVDs or index.bdmv for BDs). The returned path will be empty if folder does not meet this criterion.
 
bool KODI::VIDEO::UTILS::IsAutoPlayNextItem (const CFileItem &item)
 Check whether auto play next item is set for the media type of the given item.
 
bool KODI::VIDEO::UTILS::IsAutoPlayNextItem (const std::string &content)
 Check whether auto play next item is set for the given content type.
 
ResumeInformation KODI::VIDEO::UTILS::GetItemResumeInformation (const CFileItem &item)
 Check whether playback of the given item can be resumed, get detailed information.
 
ResumeInformation KODI::VIDEO::UTILS::GetStackPartResumeInformation (const CFileItem &item, unsigned int partNumber)
 Get resume information for a part of a stack item.