aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-07-11 22:01:11 +0200
committerMax Kellermann <max@duempel.org>2014-07-11 22:03:13 +0200
commit3e19298c9e6344c21c7e80e1837fe6a387e6c2c7 (patch)
tree73c42d667bdec69358afe2ddbf57ed7cf3a0553a /src
parent2a96ce97ee8cb03e1d2da9776f5cbb0993577537 (diff)
downloadmpd-3e19298c9e6344c21c7e80e1837fe6a387e6c2c7.tar.gz
mpd-3e19298c9e6344c21c7e80e1837fe6a387e6c2c7.tar.xz
mpd-3e19298c9e6344c21c7e80e1837fe6a387e6c2c7.zip
decoder/sndfile: support more tag types
Diffstat (limited to '')
-rw-r--r--src/decoder/plugins/SndfileDecoderPlugin.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/decoder/plugins/SndfileDecoderPlugin.cxx b/src/decoder/plugins/SndfileDecoderPlugin.cxx
index dbdd5d39b..58fec5b7b 100644
--- a/src/decoder/plugins/SndfileDecoderPlugin.cxx
+++ b/src/decoder/plugins/SndfileDecoderPlugin.cxx
@@ -228,7 +228,11 @@ static constexpr struct {
} sndfile_tags[] = {
{ SF_STR_TITLE, TAG_TITLE },
{ SF_STR_ARTIST, TAG_ARTIST },
+ { SF_STR_COMMENT, TAG_COMMENT },
{ SF_STR_DATE, TAG_DATE },
+ { SF_STR_ALBUM, TAG_ALBUM },
+ { SF_STR_TRACKNUMBER, TAG_TRACK },
+ { SF_STR_GENRE, TAG_GENRE },
};
static bool