Code

screen: remove unnecessary doupdate() call from screen_init()
[ncmpc.git] / src / strfsong.c
index 5107ba0bd2606f9a8cc28fecf9159701b0b3988a..8fe10160881ceb1930852d4d1999bdc3078d8c42 100644 (file)
@@ -1,5 +1,5 @@
 /* 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
@@ -232,6 +232,8 @@ _strfsong(gchar *s,
                }
                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)