aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-11-08 18:46:14 +0100
committerMax Kellermann <max@duempel.org>2010-11-08 18:46:14 +0100
commitcc1debc94893690b9bc951391be0e69977657be6 (patch)
treec71d1d4125c1cabf1b5046ab1b24fe6a546918af
parentad52eb236d8746dffce0a5b07bf58a62bf0835d8 (diff)
downloadmpd-cc1debc94893690b9bc951391be0e69977657be6.tar.gz
mpd-cc1debc94893690b9bc951391be0e69977657be6.tar.xz
mpd-cc1debc94893690b9bc951391be0e69977657be6.zip
output/shout: artist comes first in stream title
After popular demand, I've switched the order of "artist" and "title" in the stream title. There is no standard, and there is no reliable way to parse those from the stream title.
-rw-r--r--NEWS2
-rw-r--r--src/output/shout_plugin.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 1c7d4dc1e..7068149c6 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,8 @@
ver 0.15.15 (2010/??/??)
* input:
- rewind: fix assertion failure
+* output:
+ - shout: artist comes first in stream title
ver 0.15.14 (2010/11/06)
diff --git a/src/output/shout_plugin.c b/src/output/shout_plugin.c
index 4412d26ff..dbc56f337 100644
--- a/src/output/shout_plugin.c
+++ b/src/output/shout_plugin.c
@@ -483,7 +483,7 @@ shout_tag_to_metadata(const struct tag *tag, char *dest, size_t size)
}
}
- snprintf(dest, size, "%s - %s", title, artist);
+ snprintf(dest, size, "%s - %s", artist, title);
}
static void my_shout_set_tag(void *data,