Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yandex Music #12

Open
wileyfoxyx opened this issue Jun 5, 2024 · 3 comments
Open

Yandex Music #12

wileyfoxyx opened this issue Jun 5, 2024 · 3 comments
Labels
feature New feature or request provider Metadata provider

Comments

@wileyfoxyx
Copy link

(as suggested in #5)

Yandex Music is a Russian music streaming service developed by Yandex. Users select musical compositions, albums, collections of musical tracks to stream to their device on demand and receive personalized recommendations. The service is also available as web browser. Service is available in Armenia, Azerbaijan, Belarus, Georgia, Israel, Kazakhstan, Kyrgyzstan, Moldova, Russia, Tajikistan, Turkmenistan and Uzbekistan. Subscription can only be paid from supported countries above, but the service is then available in all other countries. (wiki)

Example of an album: https://music.yandex.ru/album/12353342
Open JSON API: https://api.music.yandex.net/albums/12353342/ (or https://api.music.yandex.net/albums/12353342/with-tracks for additional info on tracks from album, such as the distributor of release). VPN might be needed to open those (mirror for the "with-tracks" response: https://www.jsonkeeper.com/b/YKSE)

The API does not support neither GTAN nor ISRC. Also, the "label" section of response takes the info from the P-line of release and in most cases would remove words "Productions", "Music", "Publishing" and etc., as well as split one label onto multiple ones if there's a slash in its name (like here).

API supports showing whether it's an album, single, podcast or an audiobook (since they all have a link of https://music.yandex.ru/album/album_id).

There's also an unofficial implantation of an API at https://github.com/MarshalX/yandex-music-api/releases but token needed to use it

@kellnerd kellnerd added feature New feature or request provider Metadata provider labels Jun 5, 2024
@kellnerd kellnerd changed the title [Metadata Provider Suggestion] Yandex Music Yandex Music Jun 5, 2024
@kellnerd kellnerd mentioned this issue Jun 7, 2024
17 tasks
@wileyfoxyx
Copy link
Author

wileyfoxyx commented Jun 12, 2024

Worth to mention that there are multiple domains for Yandex Music, including:

  • music.yandex.ru - for Russia
  • music.yandex.by - for Belarus
  • music.yandex.kz - for Kazakhstan
  • music.yandex.com - international domain, but can be used anywhere (e.g. in Israel that doesn't have separate domain)

@wileyfoxyx
Copy link
Author

wileyfoxyx commented Jun 12, 2024

More digs into the API: the artist's ID from the API response could be used for autolinking with the MB page (in case if there is a link to Yandex on artist's MB page).

Also the API could spoil what distributor been used for publishing the release (e.g. "SYMPHONIC", "BELIEVE", "SONY" and etc) in the "major" section from the "with-tracks" version.

And if there's a "Independent Release" being used as label, it could be automatically turned into [no label] label on MB.

@wileyfoxyx
Copy link
Author

wileyfoxyx commented Jun 24, 2024

Asked service Lazy.AI to create some kind of Harmony-ish service to scrap data from Yandex, available here.

Some features that are missing:

  • direct MusicBrainz importer (sort of fixed by putting a button to copy the tracklist instead)
  • showing cover art (for whatever reason it simply doesn't appear)

If needed I can provide whatever files it generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request provider Metadata provider
Projects
None yet
Development

No branches or pull requests

2 participants