Skip to content

Commit

Permalink
Исправление опечаток
Browse files Browse the repository at this point in the history
  • Loading branch information
Chimildic committed Jul 18, 2021
1 parent b4539c6 commit 9fe3c17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/func.md
Original file line number Diff line number Diff line change
Expand Up @@ -1372,7 +1372,7 @@ let tracks = Search.multisearchTracks(items, (item) => {
});
```

## sendMusicRequest
### sendMusicRequest

Заполняет форму [music request](https://docs.google.com/forms/d/e/1FAIpQLScMGwTBnCz8nOPkM5g9IwwbpKolEWOXkhpAUSl8JjlkKcBGKw/viewform) данными из [getNoFound](/func?id=getnofound). То есть отправляет запрос на добавление исполнителей или треков, которых не удалось найти в Spotify.

Expand Down
6 changes: 3 additions & 3 deletions docs/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,13 +436,13 @@ function templateAritstsWithOneHit() {
}, {});

lastfmTracks = Object.values(artists).filter(items => items.length == 1 && items[0].countPlayed >= 20).flat(1);
let sporifyTracks = Lastfm.convertToSpotify(lastfmTracks, 'track');
Order.sort(sporifyTracks, 'meta.countPlayed', 'desc');
let spotifyTracks = Lastfm.convertToSpotify(lastfmTracks, 'track');
Order.sort(spotifyTracks, 'meta.countPlayed', 'desc');

Playlist.saveWithReplace({
// id: 'ваше id',
name: 'Исполнители одного хита',
tracks: sporifyTracks,
tracks: spotifyTracks,
randomCover: 'update',
});
}
Expand Down

0 comments on commit 9fe3c17

Please sign in to comment.