Skip to content

Узнать плейлист по треку #33

Answered by Chimildic
Bedmit asked this question in Идея
Discussion options

You must be logged in to vote

Для версии 1.4.2+. Переменная str содержит имена всех уникальных плейлистов.

let tracks = Source.getPlaylistTracks('', 'id');
let str = Array.from(new Set(tracks.map(t => t.origin.name))).join(', ');

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@Bedmit
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Chimildic
Comment options

You must be logged in to vote
4 replies
@Chimildic
Comment options

@efremych
Comment options

@Chimildic
Comment options

@efremych
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants