Fix disabled likes/dislikes of SoundCloud
This commit is contained in:
parent
e9156ee499
commit
841955a85e
|
@ -128,12 +128,12 @@ public class SoundcloudStreamExtractor extends StreamExtractor {
|
|||
|
||||
@Override
|
||||
public long getLikeCount() {
|
||||
return track.getNumber("likes_count", 0).longValue();
|
||||
return track.getNumber("likes_count", -1).longValue();
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getDislikeCount() {
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue