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

Namespaces

namespace  KODI
 
namespace  KODI::ART
 

Functions

void KODI::ART::FillInDefaultIcon (CFileItem &item)
 Set default icon for item.
 
std::string KODI::ART::GetFolderThumb (const CFileItem &item, const std::string &folderJPG="folder.jpg")
 Get the folder image associated with item.
 
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.
 
std::string KODI::ART::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 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.