Disable now defunct chartlyrics lookups

This commit is contained in:
Evan Harris
2020-03-08 13:35:51 +00:00
committed by GitHub
parent 7bafdd1027
commit 2022e98df9
@@ -66,6 +66,13 @@ public class LyricsService {
*/
public LyricsInfo getLyrics(String artist, String song) {
LyricsInfo lyrics = new LyricsInfo();
// chartlyrics.com has been offline for more than a year and no indications it is coming back, so to avoid
// continual fetch attempts (and errors about them in the log), bypass this pending replacement or removal
if (true) {
return lyrics;
}
try {
artist = StringUtil.urlEncode(artist);