From 46e1f3922c8869db7bef79573c5f86dde3ab9b4f Mon Sep 17 00:00:00 2001 From: Fynn Godau Date: Fri, 3 Jan 2020 12:25:59 +0100 Subject: [PATCH] Refuse to load bandcamp playlists without content --- .../services/bandcamp/extractors/BandcampPlaylistExtractor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/services/bandcamp/extractors/BandcampPlaylistExtractor.java b/extractor/src/main/java/org/schabi/newpipe/extractor/services/bandcamp/extractors/BandcampPlaylistExtractor.java index e24e603d..1886d4a9 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/services/bandcamp/extractors/BandcampPlaylistExtractor.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/services/bandcamp/extractors/BandcampPlaylistExtractor.java @@ -49,7 +49,7 @@ public class BandcampPlaylistExtractor extends PlaylistExtractor { - if (trackInfo.length() < 0) { + if (trackInfo.length() <= 0) { // Albums without trackInfo need to be purchased before they can be played throw new ContentNotAvailableException("Album needs to be purchased"); }