The project's README from github.com/fzn0x/mixmusic. As one markdown file: README.md.
English · हिन्दी · 简体中文 · Bahasa Indonesia · اردو · Hausa · Português (Brasil) · বাংলা · Русский · አማርኛ
One player for YouTube Music and Spotify.
YouTube Music and Spotify client for macOS, Windows and Linux. YouTube Music works with no account. One search, one queue, mixed playlists, synced lyrics, podcasts, your own music files, casting, themes and plugins.
Website · Download · Docs · Every feature · Changelog
If your music is split between YouTube Music and Spotify, you usually need two apps, with two searches, two queues and two libraries. MixMusic puts both services in one player:
What MixMusic does, area by area, and where you find it in the app. Built in means it works by itself. Features lists all 363 features from 0.1.0 to 0.5.12, one line each, with the version each came in.
Choose in Settings › Playback › Spotify tracks.
mixmusic:// links and flags such as --next, for a Stream Deck key
or a script. Command linesettings.json in your data folder
(%AppData%\MixMusic on Windows, ~/Library/Application Support/MixMusic
on macOS, ~/.config/MixMusic on Linux), which you can keep with your
dotfiles. Save it while MixMusic runs, and it applies at once. Settings ›
Desktop › Settings file
Listen. In the middle, now playing アイドル by YOASOBI: each line lights up as it's sung, with romaji and a translation under it. On the left, an album; on the right, a podcast you follow.
Make it yours. In the middle, the four layouts: Blend, the default, Expressive, Crate and Tiles, under the themes. On the left, a Material theme that takes its colours from the cover that plays. On the right, community themes in the marketplace.
The guides are on the website, at
mixmusic.functionx.dev/docs, also
at fzn0x.github.io/mixmusic/docs,
where a search finds any of them, and in docs/ here.
Download the file for your system from the latest release:
| System | Download |
|---|---|
| macOS 12 and later (Apple silicon and Intel) | mixmusic-<version>-macos-universal.dmg |
| Windows 10 and 11 (x64, Arm), installer | mixmusic-<version>-windows-<arch>-setup.exe |
| Windows, portable, no installation | mixmusic-<version>-windows-<arch>-portable.zip |
| Debian, Ubuntu and derivatives | mixmusic-<version>-linux-<arch>.deb |
| Fedora, openSUSE and derivatives | mixmusic-<version>-linux-<arch>.rpm |
| Arch Linux and derivatives (coming soon) | mixmusic-bin on the AUR: yay -S mixmusic-bin |
| Any Linux, one file | mixmusic-<version>-linux-<arch>.AppImage |
| Any Linux, sandboxed (Flatpak) | mixmusic-<version>-linux-<arch>.flatpak |
| Any Linux, in your home folder | mixmusic-<version>-linux-<arch>.tar.gz, with install.sh |
| Android 8 and later, phones and tablets | mixmusic-<version>-android.apk, or the APK of your device's chip |
| Android TV and Google TV | mixmusic-<version>-android-tv.apk, or the APK of your TV's chip |
| iPhone and iPad, iOS and iPadOS 17 and later | No download yet: build it on a Mac, with a free Apple ID |
<arch> is amd64 for x64 and arm64 for Arm. Each release lists
SHA256SUMS to check the downloads with. You don't need the files named
update-…, ….delta, mixmusic-<version>-darwin-universal.tar.gz or
-windows-<arch>.tar.gz: installed apps update from them.
The installers, the portable zip and the Linux archive update themselves.
The .deb, the .rpm, the AppImage and the Flatpak can't replace their
own files, so MixMusic tells you when a new version is out and downloads
it for you. The AUR's mixmusic-bin updates with the rest of your
system. For the portable zip, unpack it anywhere and open
MixMusic.exe. For the AppImage, make it executable (chmod +x) and open
it. For the Flatpak, open it with your software center, or run
flatpak install ./mixmusic-<version>-linux-<arch>.flatpak; the first time,
Flatpak fetches the GNOME runtime from Flathub.
On a Mac, Homebrew installs MixMusic too, and
brew upgrade updates it:
brew install --cask fzn0x/tap/mixmusic
On Android, mixmusic-<version>-android.apk works on every phone and
tablet. The APK of your device's chip is smaller: -arm64-v8a.apk for
nearly every one since 2017, -armeabi-v7a.apk for older and low-cost
ones, -x86_64.apk for Chromebooks. Open the APK on the phone or tablet,
and let your browser install apps when Android asks. A new version
installs over it: Settings
› About says when one is out and offers its APK. iPhone and iPad have no
download yet: you build MixMusic for your own
device on a Mac.
On a TV with Android TV or Google TV, take
mixmusic-<version>-android-tv.apk, or the smaller APK of the TV's chip,
named the same way: -armeabi-v7a.apk for most TV boxes and sticks.
Install it with a file manager that installs apps, and MixMusic shows on
the TV's home screen.
Getting started walks through the install and the first launch on each system.
macOS: the app isn't notarized by Apple yet, so the first time you open it, macOS says it can't check it. Open it anyway from System Settings › Privacy & Security › Open Anyway, or run this once in Terminal:
xattr -dr com.apple.quarantine /Applications/MixMusic.app
Windows: the installer isn't signed yet, so SmartScreen may warn about it: choose More info, then Run anyway. Signing in to YouTube Music and playing Spotify in MixMusic need the WebView2 Runtime, which Windows 11 includes.
Linux: MixMusic needs GTK 3, and PulseAudio (PipeWire serves it too)
or ALSA. Signing in to YouTube Music needs WebKitGTK 4.1, the tray icon
needs libayatana-appindicator3, and keeping your sign-ins in the
system's keyring needs libsecret. The .deb and the .rpm install
them, and the Flatpak brings them with it; for the AppImage and the
archive:
# Debian and Ubuntu
sudo apt install libgtk-3-0 libpulse0 libwebkit2gtk-4.1-0 libayatana-appindicator3-1 libsecret-1-0
# Fedora
sudo dnf install gtk3 pulseaudio-libs webkit2gtk4.1 libayatana-appindicator-gtk3 libsecret
MixMusic carries no font for Chinese, Japanese and Korean letters, and on
Linux a letter that no installed font has shows as blank space. The
.deb and the .rpm ask for one; with the others, install one yourself
and restart MixMusic:
# Debian and Ubuntu
sudo apt install fonts-noto-cjk
# Fedora
sudo dnf install google-noto-sans-cjk-vf-fonts
# Arch
sudo pacman -S noto-fonts-cjk
Every system: MixMusic finds the audio of most YouTube Music tracks itself. For the rest, such as tracks made for children, it uses yt-dlp, which it installs for you from Settings › Playback and keeps up to date. yt-dlp needs a JavaScript runtime: Deno, Node.js, Bun or QuickJS. The Flatpak has Node.js.
The Flatpak runs MixMusic in a sandbox, which sees the network, the sound
server, the display and the GPU, and none of your home folder but the
profiles of browsers installed from Flathub, read only, which a YouTube
Music sign-in can be imported from. It comes for x64 and for Arm64, such
as the Raspberry Pi 5, Asahi Linux and Snapdragon laptops. MixMusic isn't
on Flathub for now: install the release's .flatpak.
The Flatpak keeps its settings and library in
~/.var/app/io.github.fzn0x.mixmusic, apart from a .deb, .rpm,
AppImage or archive copy, and both can run at once. To bring a copy's
settings and library over, back it up in Settings › Desktop › Backups and
restore the file in the Flatpak. To copy the files by hand instead, quit
both, then copy settings.json, library.json, plays.jsonl,
local-copies.json, queue.json, positions.json and the addons and
mix-covers folders from ~/.config/MixMusic into
~/.var/app/io.github.fzn0x.mixmusic/config/MixMusic. Quit both first:
a running MixMusic keeps library.json and most other files in memory
and writes over a copied one at its next save. Then sign in to your
accounts again: sign-ins stay in the other copy's keyring. The
data and privacy page says
what each file holds.
In the Flatpak, start at login goes through your desktop, which may ask
you first, and a yt-dlp of your own must be in
~/.var/app/io.github.fzn0x.mixmusic, as the sandbox sees no other
folder. A Discord app that isn't a Flatpak shows what plays only if it
was running when MixMusic started, until it restarts; Discord as a
Flatpak works either way. The Flatpak is new: tell us in an
issue how it runs on your
desktop.
Accounts tells each sign-in step by step.
mixmusic:// links.Something not working? Troubleshooting covers the common problems and the known issues.
You need Go 1.27.3 or later, Bun 1.4 or later, which runs MyGo's command line, and Git. MyGo needs no C compiler, so any system builds MixMusic for every system.
winget install GoLang.Go
winget install Oven-sh.Bun
winget install Git.Git
Open a new terminal, then:
git clone https://github.com/fzn0x/mixmusic
cd mixmusic
bun install
bun run dev
Signing in and Spotify playback need the WebView2 Runtime, which Windows 11 includes. On Windows 10, install it from Microsoft.
With Homebrew:
brew install go oven-sh/bun/bun
git clone https://github.com/fzn0x/mixmusic
cd mixmusic
bun install
bun run dev
Install Go from go.dev/dl (distribution packages are often older than 1.27.3), then Bun and the libraries MixMusic runs with:
curl -fsSL https://bun.sh/install | bash
# Debian and Ubuntu
sudo apt install git libgtk-3-0 libpulse0 libwebkit2gtk-4.1-0 libayatana-appindicator3-1 libsecret-1-0
# Fedora
sudo dnf install git gtk3 pulseaudio-libs webkit2gtk4.1 libayatana-appindicator-gtk3 libsecret
Then:
git clone https://github.com/fzn0x/mixmusic
cd mixmusic
bun install
bun run dev
With Nix, nix develop gives you the tools releases
are built with, at the versions flake.lock pins: Go 1.27, Bun,
GoReleaser, jq, zip and Zola, and on Linux NSIS, osslsigncode and
binutils. nix build builds MixMusic for Linux from source, into
result/, and nix run github:fzn0x/mixmusic runs it.
For Android, any system with the Android SDK, its NDK and a JDK from 17
on: bun run build -- -platform android/arm64 builds an APK for phones
and tablets, in build/android/. It is signed with the debug key, so
uninstall it before you install a release's APK, which MixMusic's own key
signs.
For an iPhone or iPad, a Mac with Xcode:
bunx mygo devices for its name, then
bun run dev -- -platform ios -device "<its name>", which builds
MixMusic for it, signs it for your Apple ID and installs it.A free Apple ID's apps stop opening after 7 days, until you build them again, and Apple lets a free account sign for only a few devices and apps (Apple's comparison of memberships). MixMusic hasn't been installed on an iPhone this way yet: tell us how it goes in an issue.
bunx mygo doctor says which of these tools a computer has, and how to
get those it lacks. Phones and tablets
tells how MixMusic builds for them.
bun run dev builds the app, starts it, and rebuilds it as you edit. Its
data stays apart from an installed MixMusic, under the name
MixMusic Dev.
bun run build:plugins # the plugins' JavaScript, from their TypeScript
go test ./... # the app's tests
bun run typecheck # the plugin SDK and the community's plugins
go run ./tools/registry -check # the community registry
bun run build # the packaged app for this system, in build/
bun run build -- -platform windows/amd64,linux/amd64,linux/arm64
In the Nix shell, build Linux downloads with
.github/scripts/build.sh linux/amd64,linux/arm64, as releases do. A plain
bun run build there makes a Linux program that asks for Nix's own loader,
and it starts only on NixOS. go run ./tools/elfloader build/linux-amd64
checks a build.
The website is in site/, built with
Zola, and the guides in docs/ are its
/docs/ pages. go run ./tools/sitedocs && zola --root site serve
previews it. Releases are built in the Nix shell and published by
GoReleaser (.goreleaser.yaml).
CONTRIBUTING.md has the checks to run before a pull request, and docs/architecture explains how the parts fit together, a page for each.
The app is the root package, with the packages of internal/ under it. The
packages outside internal/ are for anyone to import, and documented on
pkg.go.dev.
*.go the app and its windows: the pages, the player bar, the
mini player, the tray, media keys, deep links
fonts/ the typefaces the windows draw with
locales/ the app's words, in English and 66 other languages
internal/app the services the windows call, and the desktop integration
internal/player the queue, played by the audio engine or on Spotify's devices
internal/audio MixMusic's audio engine, and the system's audio output
internal/stream audio streams, from YouTube or yt-dlp, opened for the engine
internal/youtube YouTube Music's catalog, and your account there
internal/spotify the Spotify Web API, its sign-in and Spotify Connect
internal/match Spotify tracks matched to their YouTube Music recordings
internal/library liked and disliked songs, mixes, history and stats
internal/localfiles the music on this computer; tags and tagwrite, its tags
internal/romaji Japanese lyrics in romaji, kanji read by kagome;
romanize, the Latin letters of other scripts
internal/cast casting to Chromecasts; upnp, to DLNA renderers; fcast,
to FCast receivers; dnssd finds them on the network
internal/room Listen with friends; remote, remote control; portmap,
the router's forwarded port
internal/mcp AI assistants, over the Model Context Protocol
internal/lastfm scrobbling to Last.fm; listenbrainz and librefm, to
theirs; scrobble, which plays count
internal/discord what plays, on your Discord profile
internal/plugins plugins, each in a JavaScript engine of its own
internal/addons themes and plugins, and the community registry
internal/backup backups and restores; playlistio and export, the files
of lists and tracks in and out
internal/diag the log, without secrets, and the reports of crashes
internal/settings your preferences and their defaults
builtin/themes the themes MixMusic ships with
public/ the pages MyGo embeds: Spotify's player, on Windows and
macOS, and the picture of music videos
sdk/ the types of the plugin API
community/ community themes and plugins, and their registry
docs/ the guides, the website's /docs/ pages
site/ the website, built with Zola
tools/ the commands that build and check the repository's parts
packaging/, nix/ the Flatpak, Flathub, AUR and Homebrew packages, and Nix
changelog.d/ the changelog entries of what isn't released yet
docs/architecture tells of the other
packages of internal/, a page for each part of the app.
The packages you can import:
opus/ an Opus decoder in pure Go, a port of libopus's
aac/ an AAC-LC decoder in pure Go
ac3/ an AC-3 and E-AC-3 decoder in pure Go, written from ATSC A/52
flac/ a FLAC decoder in pure Go, as RFC 9639 has it
ogg/ the packets of Ogg files, as RFC 3533 has them
webm/ the audio of WebM files: packets, times and seeking
mp4/ the audio of MP4 files: packets, times and seeking
resample/ sample rate conversion, with Kaiser-windowed sincs
lyrics/ synced lyrics from Better Lyrics, Unison and LRCLIB, and translations
brand/ MixMusic's logo, for code that draws it
Anyone can install community themes and plugins from the marketplace, the store icon in the sidebar, and you can add yours.
A theme is a theme.json file that sets colors, fonts and corners, which
show in the layout the user chose.
docs/themes.md lists every token and shows a complete
theme. To try yours, put its folder in the themes folder (Settings ›
Appearance › open themes folder) and choose it in Settings › Appearance.
A plugin is a small module, written in TypeScript or JavaScript, that adds pages, commands, track actions and widgets. docs/plugins.md documents the API, with its types for your editor. The community's sleep timer and spectrum are working examples.
community/themes/<id>/ with its theme.json for a
theme, or community/plugins/<id>/ with its plugin.json and its
index.ts for a plugin.bun install, bun run build:plugins, go run ./tools/registry
and go run ./tools/registry -check.Once it is merged, CI publishes it to the registry branch, and it shows up in everyone's marketplace. community/README.md has the details.
MixMusic has no account, server, analytics or telemetry of its own. It talks to:
sdk.scdn.co, when Spotify plays in
MixMusic.Plugins can send what they like: a plugin's permissions are shown to you, not enforced, which is why MixMusic asks you to trust a plugin before it enables it. Your data and privacy has a table of what each feature sends where.
What it keeps on your computer:
The library's history page clears what you played, Settings › Playback
clears the cache and the covers, and signing out of a service deletes its
sign-in. Clear, move or reset
tells how to move your data, keep a portable copy with
MIXMUSIC_DATA_DIR, or start afresh.
On Windows, the visualizer hears the audio of Spotify playing on this computer, in MixMusic or in the Spotify app, through Windows' process loopback, which hears only that app. On macOS 14.2 and later, it hears Spotify playing in MixMusic through a process tap, once you allow it, as macOS asks. It analyzes the audio in memory and never records or sends it.
MixMusic is built on these projects:
flac and ogg
read.Credits names every project, paper and standard MixMusic builds on.
Fixes, features, themes, plugins and bug reports are all welcome.
Everyone taking part follows the code of conduct. CONTRIBUTORS.md thanks the people whose code, ideas and reports shaped MixMusic.
MixMusic is dual-licensed: use it under the MIT license or
the GNU General Public License, version 3, whichever you
prefer. Contributions are accepted under both. The typefaces in fonts are
under the SIL Open Font License: Selawik's,
Quicksand's,
Roboto Flex's and
Archivo's. The Opus decoder is a port of
libopus, under its BSD license, the AAC decoder
derives from SharpJaad, under its MIT license, and
the HCT color science is a port of Material Color Utilities, under
its Apache license. Other
parts keep the licenses of what they derive from, such as the filters of
Chromium's Web Audio, go-mp3, jfreymuth/vorbis, kagome and the Unihan
data: License lists each.
MixMusic is not affiliated with, endorsed by or sponsored by Spotify or Google. It plays what these services offer their users, through the services' own interfaces; use it as their terms allow. Spotify and YouTube Music are trademarks of their owners.