diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-08-18 21:23:40 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-08-18 21:23:40 +0200 |
commit | 566d311638aca1ed21da78a5dce320e94134160b (patch) | |
tree | 5a497e17ea9b59f87a50213142a6aebfa0f4d822 /tag.h | |
parent | abac0fad0e30c670f70e325588e5503259f4b29e (diff) |
Basic ID3 tag implementation, using libid3tag.
Diffstat (limited to 'tag.h')
-rw-r--r-- | tag.h | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -0,0 +1,24 @@ +#ifndef _TAG_H_ +#define _TAG_H_ + +#include <glib.h> + +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 |