Skip to content

Commit d35f893

Browse files
committed
ignore spotify podcasts
1 parent 8420ed4 commit d35f893

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/src/main/java/com/github/topi314/lavasrc/spotify/SpotifySourceManager.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ public AudioItem getPlaylist(String id, boolean preview) throws IOException {
358358

359359
for (var value : page.get("items").values()) {
360360
var track = value.get("track");
361-
if (track.isNull() || track.get("is_local").asBoolean(false)) {
361+
if (track.isNull() || track.get("is_local").asBoolean(false) || track.get("type").text().equals("episode")) {
362362
continue;
363363
}
364364
tracks.add(this.parseTrack(track, preview));

0 commit comments

Comments
 (0)