PlayBar
MPRIS media in your VSCode status bar
![]()
A VSCode status-bar extension that shows the currently playing media from any MPRIS-compatible player (Spotify, mpv, VLC, browsers, …) and lets you control it without leaving the editor.
A small Rust sidecar talks to MPRIS over D-Bus and emits NDJSON; a thin TypeScript extension renders the result.
Features
- Live track info in the status bar:
artist - title(configurable format). - Optional prev / play-pause / next buttons next to the title.
- Tooltip with album, player, status, and album cover.
- Click the title to focus the player window (MPRIS
Raise). - Auto-picks the first available player, or pin a preferred one.
- Truncates long titles with an ellipsis.
Requirements
- Linux with D-Bus and an MPRIS-capable media player.
- VSCode
^1.85.0.
Note
Only tested on Linux (x86_64). MPRIS is a Linux/D-Bus protocol, so macOS and Windows are not supported.
Quick start
code --install-extension playbar-<version>.vsixSee Install for details and Configuration for settings.