VLC  3.0.15
Typedefs | Functions
fetcher.h File Reference
Include dependency graph for fetcher.h:

Go to the source code of this file.

Typedefs

typedef struct playlist_fetcher_t playlist_fetcher_t
 Fetcher opaque structure. More...
 

Functions

playlist_fetcher_tplaylist_fetcher_New (vlc_object_t *)
 This function creates the fetcher object and thread. More...
 
int playlist_fetcher_Push (playlist_fetcher_t *, input_item_t *, input_item_meta_request_option_t, int)
 This function enqueues the provided item to be art fetched. More...
 
void playlist_fetcher_Delete (playlist_fetcher_t *)
 This function destroys the fetcher object and thread. More...
 

Typedef Documentation

◆ playlist_fetcher_t

Fetcher opaque structure.

The fetcher object will retrieve the art album data for any given input item in an asynchronous way.

Function Documentation

◆ playlist_fetcher_Delete()

void playlist_fetcher_Delete ( playlist_fetcher_t )

◆ playlist_fetcher_New()

playlist_fetcher_t* playlist_fetcher_New ( vlc_object_t )

◆ playlist_fetcher_Push()

int playlist_fetcher_Push ( playlist_fetcher_t ,
input_item_t ,
input_item_meta_request_option_t  ,
int   
)

This function enqueues the provided item to be art fetched.

The input item is retained until the art fetching is done or until the fetcher object is destroyed.

< Not enough memory

< No error

References background_worker_Push(), input_item_Hold(), fetcher_request::item, playlist_fetcher_t::local, fetcher_request::options, fetcher_request::preparse_status, fetcher_request::refs, RequestRelease(), SetPreparsed(), unlikely, VLC_ENOMEM, and VLC_SUCCESS.

Referenced by playlist_preparser_fetcher_Push(), and PreparserCloseInput().