Yandex Music for VS CodeListen to Yandex Music without leaving the editor: My Vibe, your liked tracks, playlists and search.
InstallInstall Yandex Music Player from the Visual Studio Marketplace, or search for it in the Extensions view, or run:
Builds are also attached to GitHub releases
as Controls
Every action is also available from the Command Palette under the Yandex Music category. Signing inRun Yandex Music: Sign In from the Command Palette.
The browser sign-in uses the same OAuth client as the Yandex Music desktop app
and asks only for music and basic account access. The token is kept in VS Code
SecretStorage, which is backed by the system keychain. On macOS the player
service also keeps a copy in the login keychain (item Full tracks need a Yandex Plus subscription; without it Yandex serves 30-second previews. Tracks stream as MP3 at up to 320 kbps, and the mini player shows the current codec and bitrate. Several VS Code windowsmacOS. Music plays in a small background process, not in a window, so closing or reloading a window doesn't interrupt it. Every window is a remote control showing the same track, queue and progress. The process starts the first time you play music and exits a few seconds after the last VS Code window closes. Windows and Linux. Music plays in one window at a time; the others act as remote controls. A command that starts playback moves the audio to the window it came from once you have clicked inside that window's player panel — the webview is only allowed to play sound after a click inside it. If the window that plays music closes, another one picks up from the same track and position. Fullscreen remote (macOS)Yandex Music Remote is a separate fullscreen app for a big screen: a large cover with a spinning record, a background in the cover's colors, a waveform progress bar and controls you can hit from across the room. It is a native macOS app of a few megabytes, which takes some 60 MB of memory with a video playing. It plays nothing itself: it controls the player service that the extension runs on macOS, the same way a VS Code window does, and starts that service itself when it isn't running, so it works without VS Code open. The music keeps playing while the app is open, even after VS Code is closed. The
The remote has the same Liked list and My Vibe settings: Liked opens the list in the side panel, and the button next to Vibe opens the settings. Media keys keep working through the player service's Now Playing. Videos and genres. Where a track has a video, the remote plays it without sound, in this order:
A video that fills the background brings up Video among the buttons at the
top: it shows the whole video, not dimmed, with the player over it, which fades
out with the pointer, and puts it back in the background when pressed again (or
with Next to the title, the album's genre starts that genre's radio. Videos and the
genre are looked up only while the remote's window is open and in sight, not
minimized or hidden. For the music videos the track's artist and title go to the
iTunes Search API, Wikidata and, once you give the extension a token, Genius,
which knows the most of them: create an API client at
genius.com/api-clients, generate its Client
Access Token and enter it with Yandex Music: Set Genius Token for Music
Videos (VS Code keeps it with its secrets, the player service a copy in the
login keychain). For the motion covers and the artists' videos the album and the
artist are looked up on the iTunes Search API and their pages on
music.apple.com. Turn these off with
AI-generated musicTracks that Yandex Music labels as AI-generated get a mark in the player panel,
the queue and search results, the status bar, the mini player and the fullscreen
remote. The extension doesn't skip or dislike them; it only shows the mark. The
label is Yandex Music's own, the one in its "About the track" card: AI when
the rights holder says the track was made fully or partly with AI, AI? when
Yandex's detector found it was possibly made with AI. Hover over the mark for
which. No mark means only that Yandex hasn't labeled the track. The playing
track, the next ones in the queue and search results are looked up; turn this
off with Settings
Source code, issues and building instructions are on GitHub; see DEVELOPMENT.md for building and testing. DisclaimerThis is an unofficial client and is not affiliated with Yandex. It uses the same undocumented API as the official apps, which may change at any time. |