summaryrefslogtreecommitdiff
path: root/src/helpers.cpp
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2014-11-10 00:31:53 +0100
committerAndrzej Rybczak <electricityispower@gmail.com>2014-11-11 00:08:23 +0100
commit8d24c42261c17d18ce723df5a65cc9d1e8dc3a9d (patch)
tree748e5215b607611a2d8c39625f5645e21bfa5d2c /src/helpers.cpp
parent25708093e6098a510b79dcbc715fa2fa465bd859 (diff)
format: implement generic format parser and printer
Diffstat (limited to 'src/helpers.cpp')
-rw-r--r--src/helpers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers.cpp b/src/helpers.cpp
index f9832376..a70a9fcd 100644
--- a/src/helpers.cpp
+++ b/src/helpers.cpp
@@ -54,7 +54,7 @@ bool addSongToPlaylist(const MPD::Song &s, bool play, int position)
if (id >= 0)
{
Statusbar::printf("Added to playlist: %s",
- s.toString(Config.song_status_format_no_colors, Config.tags_separator)
+ Format::stringify<char>(Config.song_status_format, &s)
);
if (play)
Mpd.PlayID(id);