diff options
author | Max Kellermann <max@duempel.org> | 2009-10-13 16:12:45 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-10-13 16:12:45 +0200 |
commit | ea616b3ed4c1e94f29ac32bcd7751943e2d647a0 (patch) | |
tree | ad7aab07cba992b1aa728466bc1ffe5ca9e1e1a0 /src/input | |
parent | a9dc0e816c0b6c0ed19a584225e3fe6251f1a4c6 (diff) | |
download | mpd-ea616b3ed4c1e94f29ac32bcd7751943e2d647a0.tar.gz mpd-ea616b3ed4c1e94f29ac32bcd7751943e2d647a0.tar.xz mpd-ea616b3ed4c1e94f29ac32bcd7751943e2d647a0.zip |
tag: removed the "_ITEM_" suffix from the enum names
Diffstat (limited to '')
-rw-r--r-- | src/input/curl_input_plugin.c | 6 | ||||
-rw-r--r-- | src/input/lastfm_input_plugin.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/input/curl_input_plugin.c b/src/input/curl_input_plugin.c index a75245d06..6cd2bc917 100644 --- a/src/input/curl_input_plugin.c +++ b/src/input/curl_input_plugin.c @@ -402,8 +402,8 @@ copy_icy_tag(struct input_curl *c) if (c->tag != NULL) tag_free(c->tag); - if (c->meta_name != NULL && !tag_has_type(tag, TAG_ITEM_NAME)) - tag_add_item(tag, TAG_ITEM_NAME, c->meta_name); + if (c->meta_name != NULL && !tag_has_type(tag, TAG_NAME)) + tag_add_item(tag, TAG_NAME, c->meta_name); c->tag = tag; } @@ -609,7 +609,7 @@ input_curl_headerfunction(void *ptr, size_t size, size_t nmemb, void *stream) tag_free(c->tag); c->tag = tag_new(); - tag_add_item(c->tag, TAG_ITEM_NAME, c->meta_name); + tag_add_item(c->tag, TAG_NAME, c->meta_name); } else if (g_ascii_strcasecmp(name, "icy-metaint") == 0) { char buffer[64]; size_t icy_metaint; diff --git a/src/input/lastfm_input_plugin.c b/src/input/lastfm_input_plugin.c index fc541ca28..71e4b1ad4 100644 --- a/src/input/lastfm_input_plugin.c +++ b/src/input/lastfm_input_plugin.c @@ -223,9 +223,9 @@ lastfm_read_tag(const char *response) enum tag_type type; const char *xmltag; } aliases[] = { - {TAG_ITEM_ARTIST, "creator"}, - {TAG_ITEM_TITLE, "title"}, - {TAG_ITEM_ALBUM, "album"} + {TAG_ARTIST, "creator"}, + {TAG_TITLE, "title"}, + {TAG_ALBUM, "album"} }; struct tag *tag = tag_new(); unsigned int i; |