summaryrefslogtreecommitdiff
path: root/plugins/artwork/artwork.h
diff options
context:
space:
mode:
authorGravatar Tydus <Tydus@Tydus.org>2011-11-13 20:41:34 +0800
committerGravatar waker <wakeroid@gmail.com>2011-11-13 19:13:30 +0100
commit9b4c475971c510ae2a153d5df56a31833c2eb341 (patch)
tree92ef26e7e264237807aa3ff25df0ef82b302deaa /plugins/artwork/artwork.h
parentd565d295038bc65e06d4be871183dae9fcf3f823 (diff)
Implemented fetching artwork filename synchronizely
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);