diff options
author | Max Kellermann <max@duempel.org> | 2014-07-11 22:01:11 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-07-11 22:03:13 +0200 |
commit | 3e19298c9e6344c21c7e80e1837fe6a387e6c2c7 (patch) | |
tree | 73c42d667bdec69358afe2ddbf57ed7cf3a0553a | |
parent | 2a96ce97ee8cb03e1d2da9776f5cbb0993577537 (diff) | |
download | mpd-3e19298c9e6344c21c7e80e1837fe6a387e6c2c7.tar.gz mpd-3e19298c9e6344c21c7e80e1837fe6a387e6c2c7.tar.xz mpd-3e19298c9e6344c21c7e80e1837fe6a387e6c2c7.zip |
decoder/sndfile: support more tag types
Diffstat (limited to '')
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/decoder/plugins/SndfileDecoderPlugin.cxx | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -33,6 +33,7 @@ ver 0.19 (not yet released) - vorbis, flac, opus: honor DESCRIPTION= tag in Xiph-based files as a comment to the song - audiofile: support scanning remote files - audiofile: log libaudiofile errors + - sndfile: support tags "comment", "album", "track", "genre" * encoder: - shine: new encoder plugin * threads: 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 |