Refuse to load bandcamp playlists without content

This commit is contained in:
Fynn Godau 2020-01-03 12:25:59 +01:00
parent f0d36dfa7e
commit 46e1f3922c

View file

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