Refuse to load bandcamp playlists without content
This commit is contained in:
parent
f0d36dfa7e
commit
46e1f3922c
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue