diff options
author | Rasi <rasi@xssn.at> | 2010-07-23 23:07:36 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-07-23 23:13:03 +0200 |
commit | 31ab0b3df116652c1e42204d1f074670ffdc1623 (patch) | |
tree | 9034657e1190651b5b4fa6e6538dc7cd5f425fb0 /src/decoder/gme_decoder_plugin.c | |
parent | e598922133d11cc59994f35f62fe0f454ceb4173 (diff) | |
download | mpd-31ab0b3df116652c1e42204d1f074670ffdc1623.tar.gz mpd-31ab0b3df116652c1e42204d1f074670ffdc1623.tar.xz mpd-31ab0b3df116652c1e42204d1f074670ffdc1623.zip |
Added album tag support for libgme decoder
Diffstat (limited to 'src/decoder/gme_decoder_plugin.c')
-rw-r--r-- | src/decoder/gme_decoder_plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/decoder/gme_decoder_plugin.c b/src/decoder/gme_decoder_plugin.c index 54947c72c..4b6827a67 100644 --- a/src/decoder/gme_decoder_plugin.c +++ b/src/decoder/gme_decoder_plugin.c @@ -110,6 +110,8 @@ gme_tag_dup(const char *path_fs) tag_add_item(tag, TAG_TITLE, ti->song); if(ti->author != NULL) tag_add_item(tag, TAG_ARTIST, ti->author); + if(ti->game != NULL) + tag_add_item(tag, TAG_ALBUM, ti->game); if(ti->comment != NULL) tag_add_item(tag, TAG_COMMENT, ti->comment); if(ti->copyright != NULL) |