aboutsummaryrefslogtreecommitdiffstats
path: root/src/input
diff options
context:
space:
mode:
Diffstat (limited to 'src/input')
-rw-r--r--src/input/curl_input_plugin.c6
-rw-r--r--src/input/lastfm_input_plugin.c6
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;