Skip to content

Лейблы #47

Answered by Chimildic
tupizm asked this question in Идея
Apr 19, 2022 · 6 comments · 13 replies
Discussion options

You must be logged in to vote

Вряд ли это имеет смысл для расширения YaMuTools. В одном лейбле может быть сотня другая альбомов. Толку от этой кучи треков никакого.

Самый простой и гибкий для вас вариант это goofy и импорт в Яндекс.

Можно поэкспериментировать в рамках Яндекс.Музыки через gooex. У него нет опрятных функций для этого дела. Потому что не вижу интереса к этому проекту. Но как пример:

// gooex build 2022.04.16
function collectLabelTracks() {
  let albumId = '12246669';
  let album = gooex.Album.getAlbumWithTracks(albumId);
  let labelAlbums = getLabelAlbums(album.labels[0].id, 0, 'rating');
  let tracks = getAlbumsTracks(labelAlbums);

  function getLabelAlbums(labelId, page, sortBy) {
    return gooex.cus…

Replies: 6 comments 13 replies

Comment options

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

Answer selected by Chimildic
Comment options

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

Comment options

You must be logged in to vote
9 replies
@LyokhaOhm
Comment options

@LyokhaOhm
Comment options

@LyokhaOhm
Comment options

@LyokhaOhm
Comment options

@Chimildic
Comment options

Comment options

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

Comment options

You must be logged in to vote
0 replies
Comment options

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

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