diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/strfsong.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/strfsong.c b/src/strfsong.c index 4c2bf38d2..3f60875ea 100644 --- a/src/strfsong.c +++ b/src/strfsong.c @@ -174,6 +174,10 @@ _strfsong(gchar *s, temp = song->track ? utf8_to_locale(song->track) : NULL; else if (strncmp("%name%", p, n) == 0) temp = song->name ? utf8_to_locale(song->name) : NULL; + else if (strncmp("%date%", p, n) == 0) + temp = song->date ? utf8_to_locale(song->date) : NULL; + else if (strncmp("%genre%", p, n) == 0) + temp = song->genre ? utf8_to_locale(song->genre) : NULL; else if (strncmp("%shortfile%", p, n) == 0) { if( strstr(song->file, "://") ) |