lyrics fetcher: update metrolyrics.com fetcher
This commit is contained in:
1
NEWS
1
NEWS
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user