Mulberry/README.md
Mulberry 615b21d64a
Mulberry 1.1.0: Material You music player for Linux and Windows
- KDE/Windows accent-driven Material 3 theme, live updating
- Library, tabbed playlists, smart/saved lists, queue, ratings
- mpv and Qt Multimedia engines, EQ, ReplayGain, gapless
- Synced lyrics (LRCLIB, NetEase, local .lrc), covers, MusicBrainz tags
- Last.fm/ListenBrainz scrobbling, MPRIS, Windows media keys
- Audio CD playback and ripping
- PyInstaller, Inno Setup and AppImage builds via GitHub Actions

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01J7imThHV9BMkG24GaxPDeq
2026-10-09 23:00:48 -05:00

8.2 KiB

Mulberry 🫐

A full-featured Material You music player for Linux (KDE and others) and Windows, written in PyQt6. It combines Strawberry's layout (library sidebar, tabbed playlists, analyzer) with an expressive "now playing" panel: a cookie-shaped cover with a radial visualizer, a wavy seek bar, morphing buttons and synced lyrics. Its colours come live from your system: the KDE colour scheme and accent on Linux, the Windows accent colour and light/dark mode on Windows.

Mulberry

Download

Grab the latest build from the Releases page:

Platform File Notes
Windows 10/11 (x64) Mulberry-x.y.z-Windows-Setup.exe Installer with Start menu entry and "Open with" integration
Windows (portable) Mulberry-x.y.z-Windows-Portable.zip Unzip anywhere and run Mulberry.exe
Linux (any distro) Mulberry-x.y.z-x86_64.AppImage chmod +x it and run it
Linux Mulberry-x.y.z-Linux-x86_64.tar.gz Plain folder; run Mulberry/mulberry

The Windows builds include libmpv, so gapless playback, the EQ, CD playback and CD ripping work out of the box. On Linux, Mulberry uses your system's mpv (install it for those features); without it, the built-in Qt/FFmpeg engine still plays nearly everything.

Run from source

Linux

./install.sh          # venv + `mulberry` launcher + app-menu entry and icon
mulberry

Or run it straight from the folder: pip install -r requirements.txt && ./run.sh

Windows (Python 3.10+)

py -m pip install -r requirements.txt
run.bat

Build the packages yourself: pip install pyinstaller && python packaging/make_icons.py && pyinstaller packaging/mulberry.spec. GitHub Actions builds every format on each push, and pushing a tag like v1.1.0 publishes a Release automatically.

Optional Linux packages

Package What it enables
mpv / libmpv Gapless playback, 10-band EQ, ReplayGain, audio-CD playback
cdparanoia + ffmpeg Best-quality CD ripping (libmpv is used otherwise)
libdiscid Faster CD TOC reading
chromaprint (fpcalc) AcoustID audio fingerprint tag lookup

Platform differences

Linux Windows
Theme source KDE kdeglobals, live-updating (or the Qt palette on other desktops) Accent colour + light/dark mode from Windows settings, live-updating
Default engine mpv, falling back to Qt Qt (needed for the visualizer); mpv is selectable in Settings for EQ and gapless playback
Media keys / OS media controls MPRIS: Plasma widget, lock screen, KDE Connect, shells Global media keys
Notifications Desktop notifications with cover art Tray notifications

Features

Look and feel

  • Material 3 colour roles built from your KDE accent and window colours (~/.config/kdeglobals). Change your KDE colours and the player recolours instantly.
  • Other colour sources: dynamic colours taken from the album art, or a custom seed colour. Light/dark either follows KDE or can be forced.
  • Hero panel: a cookie-shaped cover with a slow-spinning radial spectrum, a wavy M3 Expressive progress bar, a play button that morphs shape, and a synced lyrics card where you can click a line to seek.
  • Three layouts: Large, Compact bar, or Hidden (a mini transport moves to the bottom bar). F11 or clicking the cover gives a Focus mode with a big cover and lyrics.
  • An optional floating bass shape in the bottom-left corner (Settings › Appearance, or View menu). It morphs between Material shapes on bass hits, spins, pulses in size and cycles through your theme colours. Click it to play or pause.
  • The playing track gets a gradient pill, and the album art shows faintly behind the playlist. The bottom bar has a block spectrum analyzer.

Library and playback

  • SQLite collection with an incremental background scanner (only changed files are re-read). Group by album artist, artist, genre, year or album, and search with artist: album: genre: year:>2000 rating:>3.
  • Formats: MP3, FLAC, Ogg Vorbis/Opus/Speex, AAC/ALAC/M4A, WMA, APE, WavPack, Musepack, TTA, OptimFROG, TAK, AIFF, WAV, DSF/DFF, MKA, tracker modules, MIDI and more. Cue sheets play as separate tracks.
  • Tabbed playlists with undo/redo, drag and drop, column chooser, sort by column, filtering, duplicate and unavailable-file removal, and saved/pinned playlists.
  • A play queue with Play next, Stop after this track, shuffle, and repeat (track or playlist).
  • Smart playlists: Recently added, Most played, Recently played, Loved & top rated, Never played, Random 100, Most skipped.
  • Play counts, skip counts and 0–5 star ratings.
  • Playlist import: M3U, M3U8, PLS, XSPF, WPL, ASX, CUE. Export: M3U, M3U8, PLS, XSPF, WPL, with relative or absolute paths.
  • Internet radio with ICY now-playing titles. A few SomaFM, Radio Paradise and KEXP stations are included, and you can add your own.
  • Output device selection, a 10-band equalizer with presets, ReplayGain (track or album, with pre-amp), and resume where you left off.

Online and metadata

  • Last.fm scrobbling, now-playing updates and Love. Scrobbles are cached offline and batch-sent later.
  • ListenBrainz submissions and loved-track feedback.
  • Tag editor for single files or many at once, with cover embedding for MP3, FLAC, Ogg, M4A and APE/WavPack.
  • MusicBrainz tag lookup, either picking a match or auto-applying it in batch, plus AcoustID fingerprinting.
  • Automatic cover fetching (iTunes, Deezer, Cover Art Archive, Last.fm) and a cover manager with a grid of candidates.
  • Synced lyrics. In the lyrics card's ⋮ menu you can pick the source: Auto (local .lrc → embedded → LRCLIB → NetEase), LRCLIB, NetEase Cloud Music, Local .lrc files (such as those downloaded by LRCGET) or Embedded tags. You can also turn on Show as plain text. Click any synced line to jump there. You can also edit lyrics, nudge their timing, and switch the card to the artist bio.

Audio CD

  • Detects drives, reads the TOC (libdiscid, cdparanoia or cd-info), looks the disc up on MusicBrainz and fetches its cover.
  • Plays CD tracks (mpv backend).
  • Ripper: format, quality, folder and filename pattern are configurable. It tags the files, embeds the cover and adds the result to your library.

Desktop integration

  • Full MPRIS2 support, so Plasma's media controls, the lock screen, KDE Connect, media keys and shell widgets like Quickshell all see and control it.
  • Desktop notifications with the album art.
  • Tray icon (close to tray), single instance (opening files from Dolphin adds them to the running player), and native KDE file dialogs through the XDG portal.

Last.fm setup

In Settings › Scrobbling, click Log in with Last.fm. Your browser opens Last.fm's authorisation page. Click Yes, allow access there, and Mulberry detects it within a few seconds; no further clicks are needed.

Last.fm issues API keys per application, so the login button needs one key for this copy of Mulberry. You only have to add it once:

  • Simplest: tick Use my own API key, create a free key at https://www.last.fm/api/account/create, paste the key and secret, then press Log in.
  • Or for everyone on the machine: put the key in mulberry/lastfm_app.py, in ~/.config/mulberry/lastfm_app.json ({"key": "...", "secret": "..."}), or in the MULBERRY_LASTFM_KEY and MULBERRY_LASTFM_SECRET environment variables. After that the login button works without anyone touching keys.

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 Import / export playlist
Ctrl+Z / Ctrl+Shift+Z Undo / redo
Ctrl+L Love the current track
F5 / Ctrl+F5 Update library / full rescan
F11 Focus mode

Files (Linux; on Windows they live in %APPDATA%\Mulberry and %LOCALAPPDATA%\Mulberry)

  • Settings: ~/.config/mulberry/mulberry.conf
  • Library, playlists and lyrics cache: ~/.local/share/mulberry/library.db
  • Covers: ~/.local/share/mulberry/covers, thumbnails in ~/.cache/mulberry