[SoundCloud] Fix extraction of tracks like count

SoundCloud is using likes_count to return the like count of a track, like it
was the case before they switched to favoritings_count.
This commit is contained in:
AudricV 2023-01-29 01:00:49 +01:00
parent 0e4e6a9bac
commit 2a24d407d5
No known key found for this signature in database
GPG Key ID: DA92EC7905614198
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ public class SoundcloudStreamExtractor extends StreamExtractor {
@Override
public long getLikeCount() {
return track.getLong("favoritings_count", -1);
return track.getLong("likes_count", -1);
}
@Nonnull