Skip to content

Commit 3671876

Browse files
committed
Fix bandcamp radio stream extractor
1 parent 90b5c00 commit 3671876

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/bandcamp/extractors/BandcampRadioStreamExtractor.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import org.schabi.newpipe.extractor.exceptions.ParsingException;
1515
import org.schabi.newpipe.extractor.exceptions.ReCaptchaException;
1616
import org.schabi.newpipe.extractor.linkhandler.LinkHandler;
17+
import org.schabi.newpipe.extractor.playlist.PlaylistInfoItemsCollector;
1718
import org.schabi.newpipe.extractor.stream.AudioStream;
1819
import org.schabi.newpipe.extractor.stream.Description;
1920
import org.schabi.newpipe.extractor.stream.StreamSegment;
@@ -165,4 +166,10 @@ public List<String> getTags() {
165166
public Privacy getPrivacy() {
166167
return Privacy.PUBLIC;
167168
}
169+
170+
@Override
171+
public PlaylistInfoItemsCollector getRelatedItems() {
172+
// Contrary to other Bandcamp streams, radio streams don't have related items
173+
return null;
174+
}
168175
}

0 commit comments

Comments
 (0)