![]() |
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Functions | |
void | FillInDefaultIcon (CFileItem &item) |
Set default icon for item. | |
std::string | GetFolderThumb (const CFileItem &item, const std::string &folderJPG="folder.jpg") |
Get the folder image associated with item. | |
std::string | GetLocalArt (const CFileItem &item, const std::string &artFile, bool useFolder=false) |
Assemble the filename of a particular piece of local artwork for an item. No file existence check is typically performed. | |
std::string | GetLocalArtBaseFilename (const CFileItem &item, bool &useFolder) |
Assemble the base filename of local artwork for an item, accounting for archives, stacks and multi-paths, and BDMV/VIDEO_TS folders. | |
std::string | GetLocalFanart (const CFileItem &item) |
Get the local fanart for item if it exists. | |
std::string | GetTBNFile (const CFileItem &item) |
Get the .tbn file associated with an item. | |
std::string KODI::ART::GetFolderThumb | ( | const CFileItem & | item, |
const std::string & | folderJPG = "folder.jpg" |
||
) |
Get the folder image associated with item.
item | Item to get folder image for |
folderJPG | Thumb file to use |
std::string KODI::ART::GetLocalArt | ( | const CFileItem & | item, |
const std::string & | artFile, | ||
bool | useFolder = false |
||
) |
Assemble the filename of a particular piece of local artwork for an item. No file existence check is typically performed.
artFile | the art file to search for. |
useFolder | whether to look in the folder for the art file. Defaults to false. |
Assemble the base filename of local artwork for an item, accounting for archives, stacks and multi-paths, and BDMV/VIDEO_TS folders.
useFolder | whether to look in the folder for the art file. Defaults to false. |
std::string KODI::ART::GetLocalFanart | ( | const CFileItem & | item | ) |
Get the local fanart for item if it exists.
std::string KODI::ART::GetTBNFile | ( | const CFileItem & | item | ) |
Get the .tbn file associated with an item.