MCPcopy Index your code
hub / github.com/acherkashin/yandex-music-extension

github.com/acherkashin/yandex-music-extension @0.15.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.15.4 ↗ · + Follow
943 symbols 1,260 edges 46 files 315 documented · 33%

Browse by type

Functions 545 Types & classes 398
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Yandex Music Extension

Extension allows you enjoy listening to YandexMusic right in your favorite code editor. All operation systems are supported 🎉🎉🎉.

Extension Features

Requirements

To use this extension you should have Yandex Music account.

Extension Settings

This extension contributes the following settings:

  • yandexMusic.rewindTime - Rewind time (optional, by default is 15s)
  • yandexMusic.showElectronApp - shows electron app, which is used for playing audio (for debug purpose, by default is false)
{
    "yandexMusic.rewindTime": 15,
    "yandexMusic.showElectronApp": false,
}

Remote Development using SSH

When working on a remote machine via SSH, the extension attempts to download and run Electron on the remote machine by default. This is not the correct behavior. We need to instruct Visual Studio Code that the extension should run locally. This can be achieved by using the remote.extensionKind setting as explained in the VS Code documentation.

{
    "remote.extensionKind": {
        "acherkashin.yandex-music-extension": [ "ui" ]
    },
}

Keyboard Shortcuts

  • Shift + Alt + P - Play/pause track
  • Shift + Alt + N - Play next track
  • Shift + Alt + B - Play previous track
  • Shift + Alt + Y, Shift + Alt + M - Open Yandex Music extension bar

Contributing

You can open an issue on a GitHub page or contact me at cherkalexander@gmail.com with any additional questions or feedback.

Support

Running locally

  1. Ensure you have locally installed nodejs and npm.
  2. Ensure you have locally installed yarn as it is used as package manager for this project.
  3. Run yarn install in your terminal;
  4. Open Visual Studio Code and press F5.

Thanks

Thanks to MarshalX, his project was used as a foundation for yandex-music-extension and yandex-music-open-api.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 497
Interface 266
Class 131
Function 48
Enum 1

Languages

TypeScript100%

Modules by API surface

src/typings/electron.d.ts671 symbols
src/store.ts39 symbols
src/YandexMusicApi/YandexMusicApi.ts29 symbols
src/logging/TraceSource.ts19 symbols
src/settings.ts16 symbols
src/tree/searchTree.ts10 symbols
src/players/electronPlayer.ts10 symbols
src/YandexMusicApi/ApiUtils.ts10 symbols
src/electron/index.ts9 symbols
src/typings/mediaSession.ts8 symbols
src/tree/playListTree.ts7 symbols
src/logging/OutputTraceListener.ts7 symbols

For agents

$ claude mcp add yandex-music-extension \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page