aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/shout_mp3.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-09 16:36:06 +0100
committerMax Kellermann <max@duempel.org>2009-02-09 16:38:22 +0100
commit7fc25ad567a0b8b4f7c05832adc17e9fdcc2cefb (patch)
treecace88c98aefb9b98c0b2c713b20e179db459176 /src/output/shout_mp3.c
parentf5c43889c38c5314dacbc327ef0d5cd6fab6fe6c (diff)
downloadmpd-7fc25ad567a0b8b4f7c05832adc17e9fdcc2cefb.tar.gz
mpd-7fc25ad567a0b8b4f7c05832adc17e9fdcc2cefb.tar.xz
mpd-7fc25ad567a0b8b4f7c05832adc17e9fdcc2cefb.zip
shout: don't postpone metadata
Don't duplicate the tag received by the send_metadata() method - send it to the shout server directly.
Diffstat (limited to '')
-rw-r--r--src/output/shout_mp3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/shout_mp3.c b/src/output/shout_mp3.c
index 1369f6c80..86d39fc66 100644
--- a/src/output/shout_mp3.c
+++ b/src/output/shout_mp3.c
@@ -111,7 +111,7 @@ static int shout_mp3_encoder_send_metadata(struct shout_data *sd,
char artist[size];
char title[size];
int i;
- struct tag *tag = sd->tag;
+ const struct tag *tag = sd->tag;
strncpy(artist, "", size);
strncpy(title, "", size);