From 36718767215d5a12becbf3176d5e010a461a338b Mon Sep 17 00:00:00 2001 From: Fynn Godau Date: Tue, 13 Apr 2021 19:30:11 +0200 Subject: [PATCH] Fix bandcamp radio stream extractor --- .../bandcamp/extractors/BandcampRadioStreamExtractor.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/services/bandcamp/extractors/BandcampRadioStreamExtractor.java b/extractor/src/main/java/org/schabi/newpipe/extractor/services/bandcamp/extractors/BandcampRadioStreamExtractor.java index 92e37b71e..000f884b0 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/services/bandcamp/extractors/BandcampRadioStreamExtractor.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/services/bandcamp/extractors/BandcampRadioStreamExtractor.java @@ -14,6 +14,7 @@ import org.schabi.newpipe.extractor.exceptions.ExtractionException; import org.schabi.newpipe.extractor.exceptions.ParsingException; import org.schabi.newpipe.extractor.exceptions.ReCaptchaException; import org.schabi.newpipe.extractor.linkhandler.LinkHandler; +import org.schabi.newpipe.extractor.playlist.PlaylistInfoItemsCollector; import org.schabi.newpipe.extractor.stream.AudioStream; import org.schabi.newpipe.extractor.stream.Description; import org.schabi.newpipe.extractor.stream.StreamSegment; @@ -165,4 +166,10 @@ public class BandcampRadioStreamExtractor extends BandcampStreamExtractor { public Privacy getPrivacy() { return Privacy.PUBLIC; } + + @Override + public PlaylistInfoItemsCollector getRelatedItems() { + // Contrary to other Bandcamp streams, radio streams don't have related items + return null; + } }