summaryrefslogtreecommitdiffstats
path: root/apps/metadata.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/metadata.h')
-rw-r--r--apps/metadata.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/apps/metadata.h b/apps/metadata.h
index b99d4d09d6..8d20882835 100644
--- a/apps/metadata.h
+++ b/apps/metadata.h
@@ -190,6 +190,22 @@ enum {
ID3_VER_2_4
};
+#ifdef HAVE_ALBUMART
+enum mp3_aa_type {
+ AA_TYPE_UNSYNC = -1,
+ AA_TYPE_UNKNOWN,
+ AA_TYPE_BMP,
+ AA_TYPE_PNG,
+ AA_TYPE_JPG,
+};
+
+struct mp3_albumart {
+ enum mp3_aa_type type;
+ int size;
+ off_t pos;
+};
+#endif
+
struct mp3entry {
char path[MAX_PATH];
char* title;
@@ -277,6 +293,11 @@ struct mp3entry {
long album_peak;
#endif
+#ifdef HAVE_ALBUMART
+ bool embed_albumart;
+ struct mp3_albumart albumart;
+#endif
+
/* Cuesheet support */
struct cuesheet *cuesheet;