A Material You music player for Linux, written in Rust.
  • Rust 39.8%
  • Java 36.2%
  • Swift 20.3%
  • Shell 2.7%
  • C 0.5%
  • Other 0.4%
Find a file

Mulberry

Mulberry

A Material You music player for Linux, written in Rust.

Your library, tabbed playlists, synced lyrics and a colour-matched "now playing" panel, in one small native app.

Download · Build from source · Shortcuts

Mulberry playing a song with synced lyrics

Highlights

  • Material You everywhere. Colours come from your system accent, the album art or a colour you pick, in light or dark. The cover is a spinning cookie wrapped in a live spectrum, the seek bar is wavy, the play button morphs.
  • Fix tags from the playlist. Select tracks, right-click the Album, Artist, Title… cell of one of them and choose Set album to “…”: the value is written into every selected file at once, with Undo.
  • Synced lyrics from LRCLIB, NetEase, embedded tags or .lrc files; click a line to jump there.
  • Gapless playback, crossfade, equalizer and ReplayGain through libmpv, plus YouTube/SoundCloud/Bandcamp links and internet radio.
  • Light on resources. One native binary, GPU-drawn UI, animations capped at 30 fps (adjustable), no repaints while paused.
  • Lives in the tray. Closing the window (or Ctrl+Q) keeps the music going; the tray icon brings the window back. Media keys and shell widgets work through MPRIS.

Set a tag on several tracks at once

Features

Library

  • Incremental background scanner over your music folders, stored in SQLite.
  • Browse by album artist, artist, genre, year or album; search with artist: album: genre: year:>2000 rating:>3.
  • Smart lists (recently added, most played, loved, never played, random…), play counts, skips and 0–5 star ratings.
  • Most audio formats (MP3, FLAC, Ogg/Opus, M4A/AAC/ALAC, WMA, APE, WavPack, WAV/AIFF, DSF, trackers, …); cue sheets play as separate tracks.

Playlists

  • Tabs with undo/redo, multi-select, drag and drop (within a list, between tabs, from the library or the file manager).
  • Column chooser, reordering, resizing, sorting and filtering; remove duplicates and missing files; saved playlists that reopen later.
  • Play queue, Play next, Stop after this track, shuffle, repeat.
  • Import M3U, M3U8, PLS, XSPF, WPL, ASX, CUE; export M3U, M3U8, PLS, XSPF, WPL, one list or all at once.

Metadata

  • Tag editor for one or many files, with cover embedding for every common format.
  • MusicBrainz lookup (pick a match, or auto-apply the best) and a cover manager (iTunes, Deezer, Cover Art Archive, Last.fm).
  • Last.fm and ListenBrainz scrobbling with an offline cache, and Love.

Audio CD: drive detection, track list with MusicBrainz names and cover, playback, and ripping to FLAC, ALAC, Opus, Vorbis, MP3 or WAV.

Desktop: MPRIS2, tray icon, notifications with cover art, single instance (files you open join the running player), focus mode (F11), compact and hidden now-playing layouts, a floating bass-reactive shape.

Focus mode Settings
Focus mode (F11)Settings

Install

From a release

Downloads are on the Releases page; check them against SHA256SUMS-<version>. The Linux builds are made on Arch Linux and need a recent glibc (the version is named in the packages and checked by the installer), so they run on Arch and other up-to-date distributions; on older ones, build from source.

  • Arch Linux: sudo pacman -U Mulberry-<version>-arch-x86_64.pkg.tar.zst (package mulberry-bin; remove it with sudo pacman -R mulberry-bin). packaging/arch/PKGBUILD builds the same package from the release.
  • Debian, Ubuntu and other apt systems: sudo apt install ./Mulberry-<version>-amd64.deb.
  • Nix: nix profile install git+https://astar76.com/git/astar76/Mulberry (this repo is a flake), or callPackage ./packaging/nix { }.
  • Any distribution: unpack Mulberry-<version>-Linux-x86_64.tar.gz and run sh install.sh inside (your home, ~/.local, no root) or sh install.sh --system (/usr/local). sh uninstall.sh removes it; --purge also deletes settings and data. installer.sh from this repo does the same next to a downloaded tar.gz or AppImage.
  • AppImage: chmod +x Mulberry-<version>-x86_64.AppImage and run it. libmpv is bundled in it.
  • Windows (x64): Mulberry-<version>-Setup.exe installs for your user only (no admin) with a Start menu entry and an uninstaller; Mulberry-<version>-Windows-portable.zip runs from any folder.

iPhone (jailbroken / TrollStore)

Mulberry-<version>-iOS.ipa on the Releases page installs with TrollStore. The iOS app lives in ios/ (SwiftUI, built on Linux without Xcode).

Build from source

You need Rust and libmpv (the mpv package).

git clone forgejo:astar76/Mulberry.git   # or the https URL of this page
cd Mulberry
./install.sh                # builds in release mode, installs the binary, menu entry and icon
./install.sh --uninstall    # remove it again (keeps your data); --purge deletes data too

Optional tools unlock more: ffmpeg (visualizer analysis, CD encoding), cdparanoia (ripping), yt-dlp (web links), parec from PulseAudio/PipeWire (visualizer for radio streams). Arch: sudo pacman -S rust mpv ffmpeg cdparanoia yt-dlp libpulse.

Keyboard shortcuts

Keys Action
Space Play / pause
Ctrl+← / Ctrl+→ Previous / next
Alt+← / Alt+→ Seek −/+ 10 s
Ctrl+↑ / Ctrl+↓, Ctrl+M Volume, mute
Ctrl+D Queue / dequeue selected
Ctrl+J Jump to the playing track
Ctrl+F Filter the playlist
Ctrl+E Edit tags
Ctrl+T / Ctrl+W New / close playlist
Ctrl+I / Ctrl+S / Ctrl+Shift+S Import / export / export all playlists
Ctrl+Z / Ctrl+Shift+Z Undo / redo
Ctrl+L Love the current track
Ctrl+O / Ctrl+Shift+O / Ctrl+U Open files / folder / URL
Ctrl+H Shuffle on/off
Ctrl+Q Close (to the tray if enabled, else quit)
F5 / Ctrl+F5 Update library / full rescan
F11 Focus mode

Where your data lives

Settings ~/.config/mulberry/settings.json
Library, playlists, lyrics cache ~/.local/share/mulberry/library.db
Covers ~/.local/share/mulberry/covers
Thumbnails ~/.cache/mulberry

Settings from older Python versions (mulberry.conf) and the old library database are picked up automatically.

Development

src/player.rs      libmpv engine, gapless/crossfade, the monotonic position clock
src/library.rs     SQLite collection and scanner
src/playlist.rs    playlists, queue, shuffle, undo
src/tags.rs        tag reading/writing (lofty), covers
src/spectrum.rs    FFT visualizer
src/online.rs      lyrics, covers, MusicBrainz, web links
src/mpris.rs  src/tray.rs  src/scrobble.rs  src/cd.rs
src/ui/            hand-painted Material 3 widgets, hero, playlist view, sidebar, dialogs
tests/             tag round trips, playback clock, MPRIS/tray, offscreen UI tests
cargo run --release
cargo test --test tagwrite --test playback --test stop --test dbus
MULBERRY_DOCS=docs cargo test --test docs_shots     # regenerate the screenshots above

UI tests render offscreen with egui_kittest against a made-up library, so no window opens and your music is never touched.

Icons: Material Symbols (Apache 2.0). License: MIT.

Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-12-02 16:26:16 -06:00
android Android app: buildable project recovered from the 1.2.2 APK 2026-12-02 12:32:30 -06:00
assets Recolour app icon away from purple 2026-11-26 14:05:45 -06:00
docs Release notes 2.0.4: Android APK 2026-12-02 13:44:00 -06:00
ios Move Astar Hub links to astar76.com 2026-12-02 16:26:16 -06:00
packaging Move Astar Hub links to astar76.com 2026-12-02 16:26:16 -06:00
src Move Astar Hub links to astar76.com 2026-12-02 16:26:16 -06:00
tests 2.0.1: file drops land where hovered, release notes 2026-10-24 19:05:30 -05:00
tools Move Astar Hub links to astar76.com 2026-12-02 16:26:16 -06:00
vendor/winit 2.0.1: file drops land where hovered, release notes 2026-10-24 19:05:30 -05:00
.gitignore 2.0.4: Arch, apt and Nix packages, packaging/ restored; Windows opens links and folders in Explorer, no console windows 2026-11-26 18:23:08 -06:00
build.rs Windows port, AppImage and Windows installer packaging 2026-10-27 18:54:17 -05:00
Cargo.lock 2.0.4: Arch, apt and Nix packages, packaging/ restored; Windows opens links and folders in Explorer, no console windows 2026-11-26 18:23:08 -06:00
Cargo.toml 2.0.4: Arch, apt and Nix packages, packaging/ restored; Windows opens links and folders in Explorer, no console windows 2026-11-26 18:23:08 -06:00
flake.nix 2.0.4: Arch, apt and Nix packages, packaging/ restored; Windows opens links and folders in Explorer, no console windows 2026-11-26 18:23:08 -06:00
install.sh install.sh: fix libmpv check, keep old symlink launcher 2026-10-24 14:53:39 -05:00
installer.sh 2.0.4: Arch, apt and Nix packages, packaging/ restored; Windows opens links and folders in Explorer, no console windows 2026-11-26 18:23:08 -06:00
LICENSE Rewrite Mulberry in Rust (egui + libmpv) 2026-10-24 14:46:05 -05:00
README.md Move Astar Hub links to astar76.com 2026-12-02 16:26:16 -06:00