diff --git a/src/strfsong.c b/src/strfsong.c
index 5107ba0bd2606f9a8cc28fecf9159701b0b3988a..b64c350ba6dace76d83b8c70f0dd49d591b1eefc 100644 (file)
--- a/src/strfsong.c
+++ b/src/strfsong.c
/* ncmpc (Ncurses MPD Client)
/* ncmpc (Ncurses MPD Client)
- * (c) 2004-2010 The Music Player Daemon Project
+ * (c) 2004-2017 The Music Player Daemon Project
* Project homepage: http://musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* Project homepage: http://musicpd.org
*
* This program is free software; you can redistribute it and/or modify
#include "strfsong.h"
#include "charset.h"
#include "strfsong.h"
#include "charset.h"
-#include "utils.h"
+#include "time_format.h"
#include <mpd/client.h>
#include <mpd/client.h>
}
else if (strncmp("%track%", p, n) == 0)
temp = song_tag_locale(song, MPD_TAG_TRACK);
}
else if (strncmp("%track%", p, n) == 0)
temp = song_tag_locale(song, MPD_TAG_TRACK);
+ else if (strncmp("%disc%", p, n) == 0)
+ temp = song_tag_locale(song, MPD_TAG_DISC);
else if (strncmp("%name%", p, n) == 0)
temp = song_tag_locale(song, MPD_TAG_NAME);
else if (strncmp("%date%", p, n) == 0)
else if (strncmp("%name%", p, n) == 0)
temp = song_tag_locale(song, MPD_TAG_NAME);
else if (strncmp("%date%", p, n) == 0)