summaryrefslogtreecommitdiff
path: root/plugins/artwork/artwork.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-10-19 21:23:44 +0200
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-10-19 21:23:44 +0200
commit8664e1176984d3e67c15a52a22737e4d8d9ef782 (patch)
treebd8c78c82b6768e653d85b66c348bbb0a1277fa3 /plugins/artwork/artwork.h
parent13b691e6cb2bfa1be3fb7456e5bac0fd1512d703 (diff)
artwork: fixed cover art widget not getting pixbuf on startup
Diffstat (limited to 'plugins/artwork/artwork.h')
-rw-r--r--plugins/artwork/artwork.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/artwork/artwork.h b/plugins/artwork/artwork.h
index 117e263d..9d8a2a7d 100644
--- a/plugins/artwork/artwork.h
+++ b/plugins/artwork/artwork.h
@@ -10,13 +10,13 @@ typedef void (*artwork_callback) (const char *fname, const char *artist, const c
typedef struct {
DB_misc_t plugin;
// returns filename of cached image, or NULL
- // negative size has special meanings:
- // -1: return default cover if not available (otherwise NULL will be returned)
char* (*get_album_art) (const char *fname, const char *artist, const char *album, int size, artwork_callback callback, void *user_data);
// 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);
+
+ // returns path to default album art
const char *(*get_default_cover) (void);
// synchronously get filename