matteo27 downloadsView, search tracks and control the Spotify desktop app (Linux, MPRIS). Works with Spotify Free.
Control the Spotify desktop app from a panel in Obsidian on Linux: see what's playing, play/pause, skip, search tracks and replay your recent tracks. It talks to Spotify over MPRIS (D-Bus), so it works with Spotify Free and needs no Spotify account login or API key.


open.spotify.com/track/… or spotify:track:…) to play it directly.dbus-send, which ships with almost every Linux desktop (package dbus or dbus-bin).A Flatpak Obsidian can't reach Spotify until you allow it. On the first start the plugin shows the command to run; you can also find it under Settings → Spotify MPRIS → Check Spotify:
flatpak override --user --talk-name=org.mpris.MediaPlayer2.spotify md.obsidian.Obsidian
Then quit Obsidian completely and open it again (reloading isn't enough).
Search results come from Deezer's public catalog (Spotify's own search API requires a Premium account). Selecting a result opens that search in the Spotify app. Recent tracks and pasted track links play directly. After the chosen track ends, the plugin starts its song radio.
Fullscreen shows the cover across the whole Spotify panel (not the whole Obsidian window).
To enter
While in fullscreen
To leave
A left-click never closes fullscreen, so you can play and pause without leaving it by accident. The panel remembers the mode, so it reopens in fullscreen if you left it that way.
Tip: double-click the divider above the panel to fit its height to the cover, or the sidebar's edge to fit its width.
dbus-send to read the current track and send play/pause, next, previous and "open URI" commands. Nothing leaves your computer for this.api.deezer.com): only when you search, the text you typed is sent to Deezer's public search API to find tracks. No account or key is used./.flatpak-info (only present inside a Flatpak) to check whether Obsidian has permission to talk to Spotify.There is no telemetry. The recent tracks list is stored in the plugin's data.json inside your vault.
main.js, manifest.json and styles.css from the latest release into <vault>/.obsidian/plugins/spotify-mpris/, then enable the plugin in Settings → Community plugins.Spotify is a trademark of Spotify AB. This plugin is not affiliated with or endorsed by Spotify.
The themes embed these fonts, all under the SIL Open Font License 1.1: Newsreader (Production Type), IBM Plex Mono (IBM), Noto Sans (Google) and Literata (TypeTogether).