summaryrefslogtreecommitdiffstats
path: root/apps/metadata.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/metadata.h')
-rw-r--r--apps/metadata.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/metadata.h b/apps/metadata.h
index 3676bd8e24..0c6768d3d9 100644
--- a/apps/metadata.h
+++ b/apps/metadata.h
@@ -217,6 +217,21 @@ struct mp3_albumart {
};
#endif
+enum character_encoding {
+ CHAR_ENC_ISO_8859_1 = 1,
+ CHAR_ENC_UTF_8,
+ CHAR_ENC_UTF_16_LE,
+ CHAR_ENC_UTF_16_BE,
+};
+
+/* cache embedded cuesheet details */
+struct embed_cuesheet {
+ bool present;
+ int size;
+ off_t pos;
+ enum character_encoding encoding;
+};
+
struct mp3entry {
char path[MAX_PATH];
char* title;
@@ -307,6 +322,7 @@ struct mp3entry {
#endif
/* Cuesheet support */
+ struct embed_cuesheet embed_cuesheet;
struct cuesheet *cuesheet;
/* Musicbrainz Track ID */