[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:
		
							parent
							
								
									0e4e6a9bac
								
							
						
					
					
						commit
						2a24d407d5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue