aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsvitoos <svitoos@gmail.com>2009-11-30 17:42:46 +0100
committerMax Kellermann <max@duempel.org>2009-11-30 17:42:46 +0100
commit7162fe85ce3008c6bcd2d4b2dfe6505b8a205479 (patch)
treef368e1cd828dc84569f268ba70c12aaa454e02c3 /src
parent16123f1b8e832ad1743e9ab24bd7c7663411bfa4 (diff)
downloadmpd-7162fe85ce3008c6bcd2d4b2dfe6505b8a205479.tar.gz
mpd-7162fe85ce3008c6bcd2d4b2dfe6505b8a205479.tar.xz
mpd-7162fe85ce3008c6bcd2d4b2dfe6505b8a205479.zip
tag_id3: fix ID3v1 charset conversion
If we define id3v1_encoding, then the tags are not added to the database.
Diffstat (limited to 'src')
-rw-r--r--src/tag_id3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tag_id3.c b/src/tag_id3.c
index 0ae37f3ec..a33ebc00b 100644
--- a/src/tag_id3.c
+++ b/src/tag_id3.c
@@ -90,7 +90,7 @@ static id3_utf8_t * processID3FieldString (int is_id3v1, const id3_ucs4_t *ucs4,
utf8 = (id3_utf8_t *)
g_convert_with_fallback((const char*)isostr, -1,
- encoding, "utf-8",
+ "utf-8", encoding,
NULL, NULL, NULL, NULL);
if (utf8 == NULL) {
g_debug("Unable to convert %s string to UTF-8: '%s'",