Skip to content

Commit 841955a

Browse files
committed
Fix disabled likes/dislikes of SoundCloud
1 parent e9156ee commit 841955a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudStreamExtractor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,12 @@ public long getViewCount() {
128128

129129
@Override
130130
public long getLikeCount() {
131-
return track.getNumber("likes_count", 0).longValue();
131+
return track.getNumber("likes_count", -1).longValue();
132132
}
133133

134134
@Override
135135
public long getDislikeCount() {
136-
return 0;
136+
return -1;
137137
}
138138

139139
@Override

0 commit comments

Comments
 (0)