From 5deb6600d4c28daa8d11ff8e7a294bdd820a39b5 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Sat, 28 Jan 2017 18:28:37 +0100 Subject: [PATCH] Fix fetching lyrics from justsomelyrics.com --- NEWS | 1 + src/lyrics_fetcher.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 6559d298..050fe32d 100644 --- a/NEWS +++ b/NEWS @@ -22,6 +22,7 @@ ncmpcpp-0.8 (????-??-??) * Action 'jump_to_playing_song' is not runnable now if there is no playing song. * Fixed fetching artist info in language other than English. * Added test that checks if lyrics fetchers work (available via command line parameter --test-lyrics-fetchers). +* Fixed fetching lyrics from justsomelyrics.com. ncmpcpp-0.7.7 (2016-10-31) * Fixed compilation on 32bit platforms. diff --git a/src/lyrics_fetcher.h b/src/lyrics_fetcher.h index a6b7df79..5693a370 100644 --- a/src/lyrics_fetcher.h +++ b/src/lyrics_fetcher.h @@ -112,7 +112,7 @@ struct JustSomeLyricsFetcher : public GoogleLyricsFetcher virtual const char *name() const override { return "justsomelyrics.com"; } protected: - virtual const char *regex() const override { return "
\\s*
(.*?)(.*?)See also"; } }; struct AzLyricsFetcher : public GoogleLyricsFetcher