Get the complete discographies from all artists in a playlist #147
Answered
by
Chimildic
ffmusic
asked this question in
Помощь с алгоритмом
-
Hi everyone |
Beta Was this translation helpful? Give feedback.
Answered by
Chimildic
Nov 4, 2021
Replies: 1 comment 1 reply
-
Just insert playlist id and run function createDiscographyByArtists() {
let tracks = Source.getPlaylistTracks('', 'id');
let discographies = Source.getArtistsTracks({
artist: {
followed_include: false,
include: tracks.map(t => t.artists[0]),
},
album: {
groups: 'album,single',
},
});
Filter.dedupTracks(discographies);
Playlist.saveWithReplace({
name: 'Discographies',
tracks: discographies,
randomCover: 'update',
});
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ffmusic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just insert playlist id and run