VLC  4.0.0-dev
Functions
art.c File Reference
Include dependency graph for art.c:

Functions

static void ArtCacheCreateDir (char *psz_dir)
 
static char * ArtCacheGetDirPath (const char *psz_arturl, const char *psz_artist, const char *psz_album, const char *psz_date, const char *psz_title)
 
static char * ArtCachePath (input_item_t *p_item)
 
static char * ArtCacheName (input_item_t *p_item, const char *psz_type)
 
int input_FindArtInCache (input_item_t *p_item)
 
static char * GetDirByItemUIDs (char *psz_uid)
 
static char * GetFileByItemUID (char *psz_dir, const char *psz_type)
 
int input_FindArtInCacheUsingItemUID (input_item_t *p_item)
 
int input_SaveArt (vlc_object_t *obj, input_item_t *p_item, const void *data, size_t length, const char *psz_type)
 

Function Documentation

◆ ArtCacheCreateDir()

static void ArtCacheCreateDir ( char *  psz_dir)
static

References DIR_SEP_CHAR, EMPTY_STR, and vlc_mkdir().

Referenced by ArtCacheName(), and input_SaveArt().

◆ ArtCacheGetDirPath()

static char* ArtCacheGetDirPath ( const char *  psz_arturl,
const char *  psz_artist,
const char *  psz_album,
const char *  psz_date,
const char *  psz_title 
)
static

◆ ArtCacheName()

static char* ArtCacheName ( input_item_t p_item,
const char *  psz_type 
)
static

◆ ArtCachePath()

static char* ArtCachePath ( input_item_t p_item)
static

◆ GetDirByItemUIDs()

static char* GetDirByItemUIDs ( char *  psz_uid)
static

◆ GetFileByItemUID()

static char* GetFileByItemUID ( char *  psz_dir,
const char *  psz_type 
)
static

◆ input_FindArtInCache()

int input_FindArtInCache ( input_item_t p_item)

◆ input_FindArtInCacheUsingItemUID()

int input_FindArtInCacheUsingItemUID ( input_item_t p_item)

◆ input_SaveArt()

int input_SaveArt ( vlc_object_t obj,
input_item_t p_item,
const void *  data,
size_t  length,
const char *  psz_type 
)