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
|
@Override
|
||||||
public long getLikeCount() {
|
public long getLikeCount() {
|
||||||
return track.getNumber("likes_count", 0).longValue();
|
return track.getNumber("likes_count", -1).longValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public long getDislikeCount() {
|
public long getDislikeCount() {
|
||||||
return 0;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue