[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.
pull/1024/head
AudricV 2023-01-29 01:00:49 +01:00
rodzic 0e4e6a9bac
commit 2a24d407d5
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: DA92EC7905614198
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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