[http] Change name of struct field for StreamUrl

Should not be called artwork_url, since it also can link to other ressources.

Also some fixup, e.g. use new macros.
This commit is contained in:
ejurgensen
2020-05-13 23:20:14 +02:00
parent d073781445
commit d2ac216f47
3 changed files with 17 additions and 33 deletions

View File

@@ -147,7 +147,7 @@ metadata_get_http(struct input_metadata *metadata, struct input_source *source)
swap_pointers(&metadata->artist, &m->artist);
// Note we map title to album, because clients should show stream name as titel
swap_pointers(&metadata->album, &m->title);
swap_pointers(&metadata->artwork_url, &m->artwork_url);
swap_pointers(&metadata->artwork_url, &m->url);
http_icy_metadata_free(m, 0);
return 0;