summaryrefslogtreecommitdiff
path: root/plugins/artwork/artwork.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/artwork/artwork.h')
-rw-r--r--plugins/artwork/artwork.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/artwork/artwork.h b/plugins/artwork/artwork.h
index 130bf3fe..2225f088 100644
--- a/plugins/artwork/artwork.h
+++ b/plugins/artwork/artwork.h
@@ -11,6 +11,9 @@ typedef struct {
DB_misc_t plugin;
// returns filename of cached image, or NULL
char* (*get_album_art) (const char *fname, const char *artist, const char *album, int size, artwork_callback callback, void *user_data);
+ // syncronizely get filename
+ char* (*get_album_art_sync) (const char *fname, const char *artist, const char *album, int size);
+
// this has to be called to clear queue on exit, before caller terminates
// `fast=1' means "don't wait, just flush queue"
void (*reset) (int fast);