Fix fetching lyrics from justsomelyrics.com
This commit is contained in:
1
NEWS
1
NEWS
@@ -22,6 +22,7 @@ ncmpcpp-0.8 (????-??-??)
|
|||||||
* Action 'jump_to_playing_song' is not runnable now if there is no playing song.
|
* Action 'jump_to_playing_song' is not runnable now if there is no playing song.
|
||||||
* Fixed fetching artist info in language other than English.
|
* 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).
|
* 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)
|
ncmpcpp-0.7.7 (2016-10-31)
|
||||||
* Fixed compilation on 32bit platforms.
|
* Fixed compilation on 32bit platforms.
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ struct JustSomeLyricsFetcher : public GoogleLyricsFetcher
|
|||||||
virtual const char *name() const override { return "justsomelyrics.com"; }
|
virtual const char *name() const override { return "justsomelyrics.com"; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual const char *regex() const override { return "<div class=\"content.*?</div>\\s*</div>(.*?)<div"; }
|
virtual const char *regex() const override { return "<div class=\"content.*?</div>(.*?)See also"; }
|
||||||
};
|
};
|
||||||
|
|
||||||
struct AzLyricsFetcher : public GoogleLyricsFetcher
|
struct AzLyricsFetcher : public GoogleLyricsFetcher
|
||||||
|
|||||||
Reference in New Issue
Block a user