lyrics fetcher: update metrolyrics.com fetcher

This commit is contained in:
Andrzej Rybczak
2016-01-15 15:32:26 +01:00
parent f482e97962
commit 9ea0cc3f48
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@@ -1,5 +1,6 @@
ncmpcpp-0.7.2 (????-??-??)
* Attempt to add non-song item to playlist from search engine doesn't trigger assertion failure anymore.
* Fetching lyrics from metrolyrics.com was fixed.
ncmpcpp-0.7.1 (2016-01-01)
* Selected songs in media library can now be added to playlists.

View File

@@ -79,7 +79,7 @@ struct MetrolyricsFetcher : public GoogleLyricsFetcher
virtual const char *name() const OVERRIDE { return "metrolyrics.com"; }
protected:
virtual const char *regex() const OVERRIDE { return "<div id=\"lyrics-body\">(.*?)</div>"; }
virtual const char *regex() const OVERRIDE { return "<div class=\"lyrics-body\">(.*?)</div>"; }
virtual bool isURLOk(const std::string &url) OVERRIDE;
virtual void postProcess(std::string &data) const OVERRIDE;