format: implement generic format parser and printer
This commit is contained in:
@@ -144,6 +144,6 @@ void SongInfo::PrepareSong(MPD::Song &s)
|
||||
for (const Metadata *m = Tags; m->Name; ++m)
|
||||
{
|
||||
w << NC::Format::Bold << '\n' << m->Name << ": " << NC::Format::NoBold;
|
||||
ShowTag(w, s.getTags(m->Get, Config.tags_separator));
|
||||
ShowTag(w, s.getTags(m->Get));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user