summaryrefslogtreecommitdiff
path: root/lib/rbcodec/metadata/metadata.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/metadata/metadata.h')
-rw-r--r--lib/rbcodec/metadata/metadata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rbcodec/metadata/metadata.h b/lib/rbcodec/metadata/metadata.h
index b30979334a..a0ba0376c6 100644
--- a/lib/rbcodec/metadata/metadata.h
+++ b/lib/rbcodec/metadata/metadata.h
@@ -24,6 +24,8 @@
24 24
25#include "platform.h" 25#include "platform.h"
26 26
27#define METADATA_EXCLUDE_ID3_PATH (0x01) /* don't copy filename path to the id3 path buffer */
28#define METADATA_CLOSE_FD_ON_EXIT (0x02) /* close the filedescriptor when finished */
27/* Audio file types. */ 29/* Audio file types. */
28/* NOTE: The values of the AFMT_* items are used for the %fc tag in the WPS 30/* NOTE: The values of the AFMT_* items are used for the %fc tag in the WPS
29 - so new entries MUST be added to the end to maintain compatibility. 31 - so new entries MUST be added to the end to maintain compatibility.
@@ -323,6 +325,7 @@ struct mp3entry {
323 325
324unsigned int probe_file_format(const char *filename); 326unsigned int probe_file_format(const char *filename);
325bool get_metadata(struct mp3entry* id3, int fd, const char* trackname); 327bool get_metadata(struct mp3entry* id3, int fd, const char* trackname);
328bool get_metadata_ex(struct mp3entry* id3, int fd, const char* trackname, int flags);
326bool mp3info(struct mp3entry *entry, const char *filename); 329bool mp3info(struct mp3entry *entry, const char *filename);
327void adjust_mp3entry(struct mp3entry *entry, void *dest, const void *orig); 330void adjust_mp3entry(struct mp3entry *entry, void *dest, const void *orig);
328void copy_mp3entry(struct mp3entry *dest, const struct mp3entry *orig); 331void copy_mp3entry(struct mp3entry *dest, const struct mp3entry *orig);