aboutsummaryrefslogtreecommitdiff
path: root/src/tag.h
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-06-01 12:50:15 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-06-01 12:50:15 +0000
commit16da97e4c80b375f6976690e0a04102eff0a6bbd (patch)
tree67c3380dd8c9cdb4b478c6dbda14bbd47ecf953f /src/tag.h
parent16fcd1eceac6806853b32a7fb35305cafec521c1 (diff)
parsing mp3 id3v2 tags on the fly for streams
git-svn-id: https://svn.musicpd.org/mpd/trunk@1281 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/tag.h')
-rw-r--r--src/tag.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/tag.h b/src/tag.h
index 87cac2b9..225b3189 100644
--- a/src/tag.h
+++ b/src/tag.h
@@ -22,6 +22,13 @@
#include "../config.h"
#include <stdio.h>
+#ifdef HAVE_ID3TAG
+#ifdef USE_MPD_ID3TAG
+#include "libid3tag/id3tag.h"
+#else
+#include <id3tag.h>
+#endif
+#endif
typedef struct _MpdTag {
char * artist;
@@ -31,6 +38,10 @@ typedef struct _MpdTag {
int time;
} MpdTag;
+#ifdef HAVE_ID3TAG
+MpdTag * parseId3Tag(struct id3_tag *);
+#endif
+
MpdTag * id3Dup(char * file);
MpdTag * newMpdTag();