Separate chunks of lyrics with a double newline
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
# ncmpcpp-0.10 (????-??-??)
|
# ncmpcpp-0.10 (????-??-??)
|
||||||
* Add the configuration option `mpd_password`.
|
* Add the configuration option `mpd_password`.
|
||||||
|
* Separate chunks of lyrics with a double newline.
|
||||||
|
|
||||||
# ncmpcpp-0.9.2 (2021-01-24)
|
# ncmpcpp-0.9.2 (2021-01-24)
|
||||||
* Revert suppression of output of all external commands as that makes e.g album
|
* Revert suppression of output of all external commands as that makes e.g album
|
||||||
|
|||||||
@@ -102,7 +102,11 @@ LyricsFetcher::Result LyricsFetcher::fetch(const std::string &artist,
|
|||||||
{
|
{
|
||||||
postProcess(*it);
|
postProcess(*it);
|
||||||
if (!it->empty())
|
if (!it->empty())
|
||||||
|
{
|
||||||
data += *it;
|
data += *it;
|
||||||
|
if (it != lyrics.end() - 1)
|
||||||
|
data += "\n\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
result.second = data;
|
result.second = data;
|
||||||
|
|||||||
Reference in New Issue
Block a user