aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
authorRasi <rasi@xssn.at>2010-07-23 23:07:36 +0200
committerMax Kellermann <max@duempel.org>2010-07-23 23:13:03 +0200
commit31ab0b3df116652c1e42204d1f074670ffdc1623 (patch)
tree9034657e1190651b5b4fa6e6538dc7cd5f425fb0 /src/decoder
parente598922133d11cc59994f35f62fe0f454ceb4173 (diff)
downloadmpd-31ab0b3df116652c1e42204d1f074670ffdc1623.tar.gz
mpd-31ab0b3df116652c1e42204d1f074670ffdc1623.tar.xz
mpd-31ab0b3df116652c1e42204d1f074670ffdc1623.zip
Added album tag support for libgme decoder
Diffstat (limited to 'src/decoder')
-rw-r--r--src/decoder/gme_decoder_plugin.c2
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)