Buscar pacotes, repositórios e categorias de apps

Repositório GitHubqier222/YesPlayMusic

YesPlayMusic

Um tocador de música para desktop com melhor aparência para arquivos locais, servidores de mídia e plugins. Para macOS, Windows e Linux.

Capa do projeto YesPlayMusic
Estrelas
33,9 mil
Forks
4,7 mil
Último push (UTC)
1 de dez. de 2026
Status do projeto
Ativo

README original

Texto original em inglês. Visite o GitHub para a versão atual.

YesPlayMusic

A good-looking desktop music player, with music sources provided by plugins

macOS · Windows · Linux

Release CI License

English | 简体中文

Download · Features · Screenshots · Installing plugins · Writing plugins · AI assistants (MCP) · Building from source

What is this

YesPlayMusic is a desktop music player rewritten from scratch in Flutter. The old Electron version is on the 1.x branch.

It ships with no online music service: it plays local music out of the box, and online catalogs, playlists, lyrics, comments and so on all come from plugins. Plugins run in a sandbox built into the app; their manifests declare which websites, local app channels and programs they can access.

Download

Download the package for your system from Releases:

System File Notes
macOS 12+ (Apple Silicon) YesPlayMusic-<version>-macos.dmg M-series chips
macOS 12+ (Intel) YesPlayMusic-<version>-macos-x64.dmg Separate Intel build
Windows 10/11 x64 -windows-x64-setup.exe or -portable.zip The installer is not code-signed; if SmartScreen warns, click "More info → Run anyway"
Linux x64 / arm64 -linux-x64.tar.gz or -linux-arm64.tar.gz Requires libmpv: sudo apt install libmpv2 (libmpv1 on older distributions). Plugin host.webSignIn also needs libwebkit2gtk-4.1-0; the app runs without it, but web sign-in is unavailable.

The official macOS and Windows builds use Sparkle and WinSparkle for updates. On Linux and in source builds without these updaters, new versions are shown in Settings → About.

Features

  • A record-shelf library: albums stand on a shelf like book spines, sorted by title or release date; songs are grouped by the month they were added, and artists are shown as bubbles.
  • 3D Coverflow: flip through albums, playlists, songs and artists by dragging, scrolling or using the arrow keys, and click to play. Open it at the right end of the Library tab row.
  • Colors from cover art: the album and Now Playing pages take their background from the cover's dominant color; choose from 6 accent colors (Lilac, Sky, Mint, Sun, Rose, Flame).
  • Now Playing: lyrics with translations, the play queue, similar songs and song comments, all on one page.
  • Playback: gapless playback, ReplayGain volume normalization, a 10-band equalizer with presets, and a sleep timer with fade-out.
  • Local music: scans your music folders — with progress and a cancel option — and reads tags, embedded cover art and .lrc lyrics; supports FLAC, MP3, M4A, WAV, AIFF, OGG, OPUS, APE and more.
  • Multiple music sources: local music and plugins that provide search or a library are separate music sources; click or right-click the avatar in the bottom-left corner to switch. Home, Explore, Search, albums, artists and playlists all come from the current source.
  • System integration: media controls and Now Playing in the macOS Control Center, lock screen and Dynamic Island mini player, Windows system media controls with taskbar thumbnail buttons and a tray icon, and Linux MPRIS; follows the system proxy.
  • Keyboard control: common actions have shortcuts, which won't fire while you're typing.
Screenshots
Library
Library: albums on a record shelf, with a release-date timeline below
Coverflow
3D Coverflow
Album
Album: background follows the cover's dominant color
Now Playing
Now Playing: lyrics and translations
Comments
Now Playing: song comments
Home
Home: provided by the current music source
Search
Search
Playlist
Playlist
Artist
Artist
Settings
Settings: 6 accent colors
Plugins
Settings: plugins

Installing plugins

Official plugins

Plugin For
Emby Emby servers
Jellyfin Jellyfin servers
Plex Plex servers
Subsonic Navidrome, Gonic, Airsonic, Ampache and other Subsonic-compatible servers
WebDAV WebDAV servers: a NAS, Nextcloud, OpenList / AList and more
Last.fm Scrobbling to Last.fm with your own API key
ListenBrainz Scrobbling to ListenBrainz and compatible servers
Discord Show what you're listening to on your Discord profile

Third-party plugins: search GitHub for the yesplaymusic-plugin topic. Please add this topic to your repository when you publish a plugin.

How to install: Settings → Plugins → Install Plugin. Official plugins install with one click; for third-party plugins, paste a GitHub repository, Release or .zip link, or install from a local folder. If the plugin provides a music source, click or right-click the avatar in the bottom-left corner to switch to it.

Security: installing a plugin means running someone else's code on your computer, so only install plugins you trust. The restrictions the app places on plugins are described in SECURITY.md; the main ones are:

  • each plugin runs in its own QuickJS sandbox, cannot read or write files or start processes directly, and has memory and time limits;
  • it can only access the websites declared in permissions.network;
  • it can only connect to local app channels declared in permissions.ipc;
  • launching a program on your computer (such as yt-dlp) must be declared in the manifest and separately allowed by you in Settings.

Writing plugins

A plugin is a plugin.json plus a JavaScript module; the app shows whatever features the exported functions provide.

Plugins lay out their own Home and Explore pages: the app has several built-in components (special-mode cards, horizontal card shelves, paged song grids, charts, card grids) that plugins can combine freely. If you need a different kind of component, please open an issue.

See the plugin development guide for the full API.

AI assistants (MCP)

The app has a built-in MCP server that lets AI agents such as Claude and Cursor search for songs, play music, and manage the queue and playlists for you. Turn it on in Settings → MCP. By default it only listens on 127.0.0.1:18888, and you can enable token authentication and read-only mode.

{
  "mcpServers": {
    "yesplaymusic": { "url": "http://127.0.0.1:18888/mcp" }
  }
}

Clients that only support stdio can use the bin/ypm_mcp_bridge.dart bridge in this repository; the settings page can copy the configuration for you.

Building from source

Requires Flutter 3.50.1 or later (Dart 3.14, which uses Build Hooks to compile the bundled QuickJS).

git clone https://github.com/qier222/YesPlayMusic.git
cd YesPlayMusic
flutter pub get
flutter run -d macos      # or windows / linux
flutter test

Additional requirements per platform:

  • macOS: Xcode and CocoaPods. See Releasing to build a package for a specific architecture.
  • Windows: Visual Studio 2022 with the "Desktop development with C++" workload
  • Linux: sudo apt install clang cmake ninja-build pkg-config libgtk-3-dev libwebkit2gtk-4.1-dev liblzma-dev libmpv-dev

On Linux arm64, install Flutter from its Git tag as CI does.

Feedback

  • Report problems and suggestions in Issues.
  • Report security issues privately; see SECURITY.md.

License

GPL-3.0. Third-party components and their licenses are listed in THIRD_PARTY_NOTICES.md; see CHANGELOG.md for version history (in Chinese).

qier222 GitHub avatar
Autor no GitHub

qier222 ↗

求职中:Design Engineer / 全栈工程师(上海 / Remote)

LinguagensDartCC++TypeScriptSwiftCMakePythonCSSAstroJavaScriptShellInno SetupRuby

Categorias

Dependências usadas

Lista de dependências 24 itens

Rankings

Como escolher um repositório para seu projeto?

Filtre pelo caso de uso, compare a atividade e confira o projeto original antes de adotá-lo.

  1. Busque por nome, autor ou descrição e filtre por tema.
  2. Compare estrelas, forks e envios recentes. Estrelas indicam interesse, mas não garantem qualidade.
  3. Confira o README, a licença e as issues no GitHub antes de usar o projeto.

Fontes e manutenção

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗