summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: baa0bfa)
raw | patch | inline | side by side (parent: baa0bfa)
author | Kalle Wallin <kaw@linux.se> | |
Sun, 5 Jun 2005 21:34:21 +0000 (21:34 +0000) | ||
committer | Kalle Wallin <kaw@linux.se> | |
Sun, 5 Jun 2005 21:34:21 +0000 (21:34 +0000) |
src/strfsong.c | patch | blob | history |
diff --git a/src/strfsong.c b/src/strfsong.c
index 4c2bf38d266fbe1ba9e1dca0b5828fc6d9dcc78a..3f60875ea455064247f9c638a40a8e133b930ae5 100644 (file)
--- a/src/strfsong.c
+++ b/src/strfsong.c
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, "://") )