[1.4.2] getLastfmRecentTracks - queryObj is not defined #39
Answered
by
Chimildic
efremych
asked this question in
Помощь с ошибкой
-
Что-то у меня не взлетает данная функция. Опечатка где-то? function getRecentTracks(user, count) {
let tracks = getLastfmRecentTracks(user, count);
return Search.multisearchTracks(tracks, formatTrackNameLastfm);
}
function getLastfmRecentTracks(user, count) {
let queryObj = { method: 'user.getrecenttracks', user: user, limit: 200 };
let tracks = getTrackPages(queryObj, count);
if (isNowPlayling(tracks[0])) {
tracks.splice(0, 1);
}
return tracks;
} |
Beta Was this translation helpful? Give feedback.
Answered by
Chimildic
Feb 6, 2021
Replies: 1 comment 6 replies
-
Исправлено в версии 1.4.3, обновите код |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
Chimildic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Исправлено в версии 1.4.3, обновите код