Open jgarbellotto opened 7 years ago
Same issue as this guy. Plugin is displaying like the last 50 tracks. I got tired scrolling, lol.
Anybody here who can help?
I actually was able to resolve it on my own.
Look for this part and replace '6' with the number of tracks you want to show:
$lastfm_tracks = __( '6', 'lastfm_widget_tracks' );
If that doesn't work, try looking for the api part and replace &limit again with the number of tracks desired:
$lastfm_api = 'http://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user='.$lastfm_user.'&api_key=sdfsdfs0045495495454&limit=6'.$lastfm_tracks.'';
Brilliant Disharmonik! The api line did it! I hadn't realized it was empty before. Many thanks!!
For some strange reason the widget, instead of showing the last 5 songs, is showing 50 and no matter if I change it to 5 or 10 it always shows 50. Any ideas?