Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
PVR::CPVRCachedImages Class Reference

#include <PVRCachedImages.h>

Static Public Member Functions

static int Cleanup (const std::vector< PVRImagePattern > &urlPatterns, const std::vector< std::string > &urlsToCheck, bool clearTextureForPath=false)
 Erase stale texture db entries and image files.
 

Member Function Documentation

◆ Cleanup()

int CPVRCachedImages::Cleanup ( const std::vector< PVRImagePattern > & urlPatterns,
const std::vector< std::string > & urlsToCheck,
bool clearTextureForPath = false )
static

Erase stale texture db entries and image files.

Parameters
urlPatternsThe URL patterns to fetch from texture database.
urlsToCheckThe URLs to check for still being present in the texture db.
clearTextureForPathWhether to clear the path in texture database.
Returns
number of cleaned up images.

The documentation for this class was generated from the following files: