summaryrefslogtreecommitdiff
path: root/plugins/artwork/artwork.h
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-11-13 19:16:11 +0100
committerGravatar waker <wakeroid@gmail.com>2011-11-13 19:16:11 +0100
commit6502057510696ea575a1cf0143dec02acb7cf01c (patch)
tree26a1b0613a487772d8cb451ec304c1ef81b453c1 /plugins/artwork/artwork.h
parent9b4c475971c510ae2a153d5df56a31833c2eb341 (diff)
backwards compat fix in artwork plugin; also fixed spelling error and optimized mem allocation in get_album_art_sync
Diffstat (limited to 'plugins/artwork/artwork.h')
-rw-r--r--plugins/artwork/artwork.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/artwork/artwork.h b/plugins/artwork/artwork.h
index 2225f088..1c60475c 100644
--- a/plugins/artwork/artwork.h
+++ b/plugins/artwork/artwork.h
@@ -11,13 +11,14 @@ 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);
const char *(*get_default_cover) (void);
+
+ // synchronously get filename
+ char* (*get_album_art_sync) (const char *fname, const char *artist, const char *album, int size);
} DB_artwork_plugin_t;
#endif /*__ARTWORK_H*/