Disable now defunct chartlyrics lookups

master
Evan Harris 5 years ago committed by GitHub
parent 7bafdd1027
commit 2022e98df9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      airsonic-main/src/main/java/org/airsonic/player/ajax/LyricsService.java

@ -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);

Loading…
Cancel
Save