From 566d311638aca1ed21da78a5dce320e94134160b Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Wed, 18 Aug 2010 21:23:40 +0200 Subject: Basic ID3 tag implementation, using libid3tag. --- tag.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tag.h (limited to 'tag.h') diff --git a/tag.h b/tag.h new file mode 100644 index 0000000..e0e5a7d --- /dev/null +++ b/tag.h @@ -0,0 +1,24 @@ +#ifndef _TAG_H_ +#define _TAG_H_ + +#include + +enum tag_type { + TAG_TYPE_ARTIST, + TAG_TYPE_ALBUM, + TAG_TYPE_TITLE, +}; + +struct tag_field { + enum tag_type type; + gchar *string; +}; + +struct tag { + GSList *fields; +}; + +void tag_list_all(const gchar *path); +struct tag *tag_read(const gchar *path); + +#endif -- cgit v1.2.3