From 8787c19666a0d10153c1dd0d98641f1f1884df72 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Tue, 25 Aug 2009 16:32:37 +0200 Subject: [PATCH] fix Playlist::SongInColumnsToString() which was broken since cbbabee0 --- src/playlist.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/playlist.cpp b/src/playlist.cpp index 6f19c874..ead8dd9d 100644 --- a/src/playlist.cpp +++ b/src/playlist.cpp @@ -460,8 +460,11 @@ std::string Playlist::SongInColumnsToString(const MPD::Song &s, void *) } else { - result += "%"; + // tags should be put in additional braces as if they are not, the + // tag that is not present within 'main' braces discards them all. + result += "{%"; result += it->type; + result += "}"; } result += " "; }