diff options
Diffstat (limited to 'apps/metadata.h')
-rw-r--r-- | apps/metadata.h | 21 |
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 { | |||
190 | ID3_VER_2_4 | 190 | ID3_VER_2_4 |
191 | }; | 191 | }; |
192 | 192 | ||
193 | #ifdef HAVE_ALBUMART | ||
194 | enum mp3_aa_type { | ||
195 | AA_TYPE_UNSYNC = -1, | ||
196 | AA_TYPE_UNKNOWN, | ||
197 | AA_TYPE_BMP, | ||
198 | AA_TYPE_PNG, | ||
199 | AA_TYPE_JPG, | ||
200 | }; | ||
201 | |||
202 | struct mp3_albumart { | ||
203 | enum mp3_aa_type type; | ||
204 | int size; | ||
205 | off_t pos; | ||
206 | }; | ||
207 | #endif | ||
208 | |||
193 | struct mp3entry { | 209 | struct mp3entry { |
194 | char path[MAX_PATH]; | 210 | char path[MAX_PATH]; |
195 | char* title; | 211 | char* title; |
@@ -277,6 +293,11 @@ struct mp3entry { | |||
277 | long album_peak; | 293 | long album_peak; |
278 | #endif | 294 | #endif |
279 | 295 | ||
296 | #ifdef HAVE_ALBUMART | ||
297 | bool embed_albumart; | ||
298 | struct mp3_albumart albumart; | ||
299 | #endif | ||
300 | |||
280 | /* Cuesheet support */ | 301 | /* Cuesheet support */ |
281 | struct cuesheet *cuesheet; | 302 | struct cuesheet *cuesheet; |
282 | 303 | ||