decoder/sndfile: support more tag types

This commit is contained in:
Max Kellermann 2014-07-11 22:01:11 +02:00
parent 2a96ce97ee
commit 3e19298c9e
2 changed files with 5 additions and 0 deletions

1
NEWS
View File

@ -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 - vorbis, flac, opus: honor DESCRIPTION= tag in Xiph-based files as a comment to the song
- audiofile: support scanning remote files - audiofile: support scanning remote files
- audiofile: log libaudiofile errors - audiofile: log libaudiofile errors
- sndfile: support tags "comment", "album", "track", "genre"
* encoder: * encoder:
- shine: new encoder plugin - shine: new encoder plugin
* threads: * threads:

View File

@ -228,7 +228,11 @@ static constexpr struct {
} sndfile_tags[] = { } sndfile_tags[] = {
{ SF_STR_TITLE, TAG_TITLE }, { SF_STR_TITLE, TAG_TITLE },
{ SF_STR_ARTIST, TAG_ARTIST }, { SF_STR_ARTIST, TAG_ARTIST },
{ SF_STR_COMMENT, TAG_COMMENT },
{ SF_STR_DATE, TAG_DATE }, { SF_STR_DATE, TAG_DATE },
{ SF_STR_ALBUM, TAG_ALBUM },
{ SF_STR_TRACKNUMBER, TAG_TRACK },
{ SF_STR_GENRE, TAG_GENRE },
}; };
static bool static bool