r/gnome • u/Primary-Kick7614 • 5h ago
LLM Assisted Extension feed2mpv: send browser media to MPV from the GNOME Shell menu, no browser extension needed
GNOME Shell extension that hands browser media off to MPV.
Many browser-to-MPV tools need a browser extension plus a native-messaging helper on the host, set up per browser. This one runs entirely in GNOME Shell: no browser extension, no host helper.
Why
If you already prefer MPV, this lets web videos use the same setup as your local media: your config, key bindings and scripts, plus queueing and audio-only playback.
What it does
- Detects media sessions over MPRIS (mainly browsers) and lets you pick one from the panel menu
- Keeps up to five recently copied media links in memory while enabled (direct media files, HLS/DASH manifests, YouTube videos, and recognized streaming sites)
- "Open Current Clipboard URL" sends a copied HTTP(S) link to MPV
- Audio-only mode, plus pause/resume/stop in the menu
- Pauses the browser when handing off; MPV starts from the browser's reported position when available
- Notifies you when MPV can't play a link, with MPV's error message when the extension launches it
- Uses MPV + `yt-dlp` for streaming sites like YouTube (direct media files may work without `yt-dlp`)
- YouTube extras: title lookup for copied links (via oEmbed), and URL recovery from thumbnail metadata when the browser omits the page URL
Requirements: GNOME Shell, MPV, `yt-dlp` (for streaming sites)
Notes
- Detection depends on the player publishing the page URL over MPRIS, and some sessions don't. If detection fails, copy the page URL and pick it from the menu.
- Not limited to YouTube.
- Runtime-tested on 51.1 with Zen Browser; other versions and browsers still need testing.
Install:
Gnome Extension
Github Latest Release
Feedback welcome, especially on browser/session detection, sites you've tried, and anything confusing in the menu.
My other extensions:
altf4-power-menu
(the vid was recorded using openscreen, it's a nice tool)


