oirge/Mineradio
About
基于 Mineradio和Folia 二次修改的本地音乐播放器:纯本地播放,支持多格式音频、内嵌与外置歌词、本地封面、迷你播放器和桌面歌词。Mineradio 原项目: https://github.com/XxHuberrr/Mineradio | Folia 原项目: https://github.com/chthollyphile/folia-major
Design & MediaMeasured star growth
- in 24h
- +2
- in 7 days
- +3
- in 15 days
- +9
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README_EN.md
OriginalMineradio Local Player
中文 · English
This local music player is adapted from Mineradio and Folia. Mineradio manages the library and audio playback; Folia provides the local playback views and visual effects.
Original project: XxHuberrr/Mineradio
Main Changes
- Local playback without online music accounts or provider services.
- Support for importing local music folders.
- Support for importing individual local music files.
- Smart library categories in their own tab: artist / album / album artist / genre / decade, plus recently added, recently played, most played and never played.
- Automatic music folder monitoring: new files are indexed, deleted files are pruned, tag and cover edits refresh on their own, no restart required.
- Support for MP3 / MP2 / FLAC / M4A / M4B / WAV / OGG / OGA / AAC / Opus / WebM / WebA / AIFF / APE / DSD(.dsf) playback.
- Support for
.lrc/.txt/.srt/.vtt/.ass/.ssa/.yrc/.krc/.qrc/.ttmllyrics files with matching names. - Word-by-word lyrics from YRC, KRC (including
krc1encrypted binaries), QRC (including the XML container and encrypted payloads) and TTML. - Encrypted QRC lyrics are read directly, both as the hex text the API returns and as raw binary ciphertext.
- When one track has several same-named lyrics files, the best one is picked by format priority — and you can pick a different one yourself, which is remembered.
- Automatic lyrics encoding detection: UTF-8 / UTF-16 / GB18030 / Big5 / Shift_JIS / EUC-KR / Windows-1252.
- Support for MP3 / FLAC / OGG / OPUS / WAV / APE / DSF embedded lyrics tags, including timestamped LRC lyrics.
- Support for automatic lyrics translation recognition and display.
- Built-in default lyric translation in official release packages (via private release configuration; open-source source builds bundle no credentials) plus user-configured OpenAI-compatible endpoints, models, and API keys with connection testing (custom sources take priority when enabled).
- Support for cover images in the same directory and embedded audio covers.
- Visual rhythm effects share the host audio engine, using cached beat maps when available and real-time spectrum estimates otherwise.
- Mini player optimization with improved animations.
- Folia local playback with lyric, floating Polaroid record wall and Lattice cover mosaic views, 18 lyric effects and 5 backgrounds, sharing Mineradio's library and audio engine.
Usage
Source builds require Node.js 24 or newer.
git clone https://github.com/oirge/Mineradio.git
cd Mineradio
npm ci
npm ci --prefix vendor-src/folia --ignore-scripts
npm run build:folia
npm start
Build Windows installer:
npm run build:win
Build artifacts are located in dist/.
Run npm run audit:security to check both locked dependency trees. Unaccepted high and critical advisories block verification and release; see Security Policy for the narrowly reviewed unused upstream dependency exception.
Default & Custom Lyric Translation Sources (v2.7.0 / v2.7.1)
Open Custom translation source from Mineradio's Display & Translation controls or Folia's subtitle settings. Enter an OpenAI Chat Completions compatible endpoint (a /v1 base URL or a complete /chat/completions URL), model name and your own API key, then choose Save and test. Local services without authentication can leave the key empty. With custom translation enabled, untranslated lyrics are sent to your configured service first; when custom translation is disabled or unconfigured, official release packages fall back to privately injected default configuration (never exposed in settings, saves, or backups, and absent from the public source tree), while existing local translations remain available.
Custom API keys are encrypted with operating-system secure storage. If secure storage is unavailable, the key stays in memory for the current session only and the settings panel explains this. Saved keys are never filled back into the input: saving an empty input keeps the existing key, while Clear key removes it. Translation-source settings are excluded from whole-machine backups and must be configured again on another computer. Data handling by your chosen provider follows its privacy policy; see Privacy.
Features
Folia Local Playback and Visual Presets
Lyrics / visualization video export: use the title-bar video button to record a 30 / 60 / 90 / 120 fps constant-frame-rate landscape or portrait video (30 fps default), at 720p or 1080p, with song audio. Recording continues across track changes and seeks by default, or you can save the recorded segment on a transition. Choose the starting point, stop and save, or cancel. Background recording excludes your desktop.
Ctrl+K command palette: page through local song searches, browse playlists and run playback/settings actions. Right-click or hold either playback shortcut to customize it.
Subtitle shortcuts: group row layout, per-row content, translation/romanization, background and visibility; saved with visual presets.
Audio effects and output: edit Mineradio's 10-band EQ, presets, preamp, limiter, stereo width and output device directly in Folia, with live synchronization.
Switch between Mineradio / Folia in the title bar. Folia offers lyric playback, a floating Polaroid record wall, and a Lattice cover mosaic; music keeps playing as you change views.
18 built-in lyric effects: Classic, Partita, Tempera, Lumiere, Cadenza, Fume, Claddagh, Cappella, Tilt, Diorama, Monet, Pendolo, Sonnet, Still, Hanabi, Nebbia, Machi, and Metaphor.
Five local backgrounds: Common, Latent, Sora, Monet, and Nomand. Themes, typography, translations, image assets, and visual preferences can be saved.
Folia shares Mineradio's local library, favorites, playlists, queue, and audio engine.
Live previews, global resolution and antialiasing controls, per-effect quality overrides, random styles per song, and a configurable random pool.
In Folia's visual settings, save, apply, overwrite, rename, or delete named presets. Resetting defaults preserves saved presets.
Export
.mineradio-preset.jsonfiles and import them on another computer, optionally including shared images and Tempera layer images. Duplicate names are saved separately; click Apply to activate an imported preset.Images use a shared asset library. Importing a preset with images replaces the included shared image categories. Machine backups include Folia's interface, visual settings, presets, random pool, playlist bindings, and Lattice settings; preset files can also carry images.
Bind a visual preset to a playlist to apply it when entering that playlist. Manual adjustments within the same playlist are preserved; deleting a preset removes its bindings.
This integration includes Folia's local player and visuals, without its online music, accounts, or sync services. See the integration and source notes.
Audio Format Support
- ✅ MP3 (MPEG Audio Layer 3)
- ✅ MP2 (MPEG Audio Layer 2)
- ✅ FLAC (Free Lossless Audio Codec)
- ✅ M4A (MPEG-4 Audio, including AAC and ALAC)
- ✅ M4B (MPEG-4 audiobook audio)
- ✅ WAV (Waveform Audio File Format)
- ✅ OGG (Ogg Vorbis)
- ✅ OGA (Ogg audio)
- ✅ AAC (Advanced Audio Coding)
- ✅ Opus (Ogg Opus)
- ✅ WebM audio
- ✅ WebA (WebM audio)
- ✅ AIFF / AIFC (Audio Interchange File Format)
- ✅ APE (Monkey's Audio lossless)
- ✅ DSD (.dsf, DSD Stream File)
Lyrics Features
- Matching LRC/TXT/SRT/WebVTT/ASS/SSA/YRC/KRC/QRC/TTML lyrics files
- Word-by-word lyrics: YRC (NetEase), KRC (Kugou, plaintext and
krc1encrypted binary), QRC (QQ Music, XML container, bare body and encrypted payload), TTML (the Apple Music family) - Encrypted QRC: both the hex text the API returns verbatim and raw binary ciphertext are accepted; detection looks at content, not the file extension, so renamed files still work
- Several same-named lyrics files are ranked by format: word-level timing (
.qrc/.krc/.ttml/.yrc) > line-level.lrc> subtitles (.ass/.ssa/.srt/.vtt) >.txt - You can also pick the candidate yourself: the custom-lyrics dialog lists every match with its path and format, and your choice survives a re-import of the same files
- Automatic encoding detection: UTF-8 / UTF-16LE / UTF-16BE (with or without BOM) / GB18030 / Big5 / Shift_JIS / EUC-KR / Windows-1252, and valid UTF-8 is never second-guessed
- Timeline quirks handled:
[offset:±N]global shift,[mm:ss:cc],[hh:mm:ss.fff], and fractions scaled by their actual digit count - Matching JPG/JPEG/JPE/JFIF/PNG/WebP/AVIF/GIF/BMP/SVG cover files
- MP3 / FLAC / OGG / OPUS / WAV / APE / DSF embedded lyrics tags
- Automatic lyrics translation recognition
- Desktop lyrics display
- Dual-line lyrics support
Player Features
- Mini player (pinnable, draggable)
- Desktop lyrics window
- Local music library management
- Smart library categories in a dedicated tab (artist / album / album artist / genre / decade / recently added / recently played / most played / never played)
- Automatic music folder monitoring with a theme-aware synced-track indicator below the search box
- Playlist management
- Shuffle/repeat playback
- Per-track listening stats (play count, completed plays, accumulated listen time, last-played time)
- Resume playback (each track remembers where you stopped) plus a "resume last playback" action
- Two-tier clearing of recently-played records (recent only, or counts and listen time as well)
- Customizable global hotkeys, including the mouse middle button and both side buttons
- Gapless playback plus a
0~10second crossfade - Whole-machine backup: export a
mineradio.backup(library index / playlists / favourites / listening stats / theme / effects / player settings / music folders) and import it on another computer, where paths are rebuilt automatically; audio files and cover caches are excluded
Changelog
See the Releases page for the full history.
v2.8.1
- The Windows player binds its local service directly instead of probing the port first. If the port is occupied, it still tries the next available one.
- Folia keeps the latest language choice when a dictionary from an earlier switch finishes loading late.
v2.8.0
- Mineradio renders the Simple and DIY views fewer times at startup and creates the hotkey dialog when you open it.
- Folia preloads the resources for its standard lyrics view and loads only the full dictionary for the active language at startup.
- Folia prepares the last-used Record, Poster, or Radio Wall during startup so it appears sooner.
- Folia Cinema loads its controls and 3D assets in parallel. Settings also generate liquid-glass textures faster.
v2.7.9
- Folia opens sooner when it was the last interface used. The first switch from Mineradio to Folia is also faster.
- The library panel, visual settings, tools and theme icons load on demand, so Folia reads fewer files at startup.
- The Mineradio home page initializes before the 3D scene compiles its shaders.
- The local service clears expired installer caches in the background and can respond to the home page sooner.
v2.7.8
- Fixed colored seams, dark borders, and text ghosting around the Folia subtitle settings panel. Settings and dialogs in the main window also render their SVG glass refraction behind the controls.
v2.7.7
- Batched local library index reads/writes in SQLite transactions, switched list covers to streamed thumbnails, replaced $O(N^2)$ cross-list sync with linear batched propagation, and windowed large grouped library lists.
- Consolidated bundled Folia Lucide icons into 8 lazy chunks, reducing static Folia assets from 2,019 files to 166.
- Added edge-only SVG liquid-glass rim refraction across settings panels and dialogs in both Mineradio and Folia, and updated bilingual, bridge, security, and privacy documentation.
- Added local preference-scored Daily Mix, a listening activity heatmap report modal, and optional Silence Skip (Beta) in Advanced settings.
v2.7.6
- Metaphor closeup preserves upcoming lines with smoother camera motion; video export waits for the first rendered canvas frame before starting capture.
- Word-by-word highlight within a single timed TTML span progresses smoothly across that line's timing range; Monet song titles keep full shadow in daylight mode and Lattice dims non-active cards when lights are off.
- Updated Electron to 43.8.12 and resolved moderate dependency security advisories.
v2.7.5
- Added draggable Cinema Hall (Beta) lyric scene and Metaphor lyric style, plus expanded tuning options for Monet, Pendolo, and Ring/Nebbia.
- Added per-row subtitle selector (original, translation, or romaji) and toggleable upcoming-line preview fallback; added Lattice Radio Wall mode and live lyric-stage FPS checker.
v2.7.4
- Earlier local library restoration on startup and non-blocking background cleanup of old migration temp files while preserving startup continuity and SVG glass texture.
v2.7.3
- Windowed the main queue, mini queue, and large local library lists; reused DB indexes during startup recovery and incrementally persisted per-track assets.
- Added cursor/time-index lookup for long lyrics, Worker-based thumbnail decoding/encoding, and shared 3D stage frame state updates.
v2.7.2
- Fixed left-shift layout offset after closing the translation source modal via close button, Esc, or backdrop click, while keeping default translation fallback working.
v2.7.1
- Fixed control-bar positioning and glass displacement sizing during scale animations; Folia subtitles adapt dynamically to bar height.
- Restored default lyric translation via private release configuration (priority given to user-configured custom sources when enabled; private default excluded from UI, archives, and backups).
v2.7.0
- Added a shared custom translation source with endpoint/model/key settings, connection testing and explicit enable/disable controls; removed the built-in endpoint and default credentials.
- Encrypted API-key storage stays on this computer and is excluded from backups; unavailable secure storage falls back to session memory only.
- Reclaim persisted translation maps during long sessions and library changes, restoring translated songs from the local database when needed.
- Protected local translation and update operations with desktop-session authorization and separated retryable translation failures from permanent configuration errors.
- Updated Electron to 43.8.8, patched build dependencies and added a security-audit gate to verification and release.
v2.4.0 (2026-10-10)
- Added Folia local playback with lyric, floating Polaroid record wall, and Lattice cover mosaic views
- Added 14 lyric effects, 12 dedicated settings panels, and five local backgrounds with saved visual preferences
- Shared Mineradio's local library, favorites, playlists, queue, and audio engine across both interfaces without interrupting playback
- Fixed stale interface caching after an upgrade and the order of listening-stat and resume-position updates when changing tracks
v2.0.10 (2026-09-12)
- New "Display & Translation" controls: lyric line modes (single / dual / triple / cinema / custom), bilingual translation modes (off / current / dual / multi), plus translation gap / size / opacity
- Multi-line stage lyrics: smooth track scrolling, fading context rows and translation sub-lines, matching the original project
- This historical release supplied a built-in translation source; v2.7.0 replaces it with a user-configured source and retains local translation reuse.
- Fixed the Wallpaper Engine "Import" button being pushed out of the panel
Full Node regression suite: 1183/1183 passing.
v2.0.9 (2026-09-12)
- New "Glass & Side Rail" controls: window background transparency, frosted glass, rail blur / density, open & close durations
- The side rail gains a glass look: the sticky header and toolbar keep a frosted effect while scrolling, matching the original project
- Removed the "Home" house button in the top-right corner; the Home key still works
Full Node regression suite: 1168/1168 passing.
v2.0.8 (2026-09-11)
- Fixed the Wallpaper Engine import dialog losing all its styles: previews rendered at full size and the list could not scroll
- The dialog is back to its normal layout: four 16/9 wallpaper cards per row with a scrollable list
Full Node regression suite: 1139/1139 passing.
v2.0.7 (2026-09-11)
- The 3D playlist shelf gains a "Stage" mode: switch between "Side" and "Stage" from the visual console or the new button in the bottom bar, and the choice is remembered
- Stage reproduces the upstream motion: the detail panel tracks the camera, plus the original open/close timing, card stagger and parallax, and camera enter/exit speed
- Side keeps its original feel and position; the two modes store their settings separately, so they don't affect each other
Full Node regression suite: 1136/1136 passing.
v2.0.6 (2026-09-11)
- The main-bar volume popover is now a quick panel embedding playback speed and sleep timer, plus gapless and ReplayGain toggles
- These quick controls edit the same settings as the DIY panel and stay in sync both ways, so common tweaks no longer require opening the panel
- Added output device selection: choose which audio device plays the sound; the list refreshes on headphone/Bluetooth changes, and the choice is remembered
Full Node regression suite: 1103/1103 passing.
v2.0.5 (2026-09-11)
- Added playback speed: a "Playback Speed" section in settings offers six steps from 0.5× to 2.0× with pitch preserved, applied live without interrupting the current track
- Added a sleep timer: a "Sleep Timer" section in settings offers 15 / 30 / 60 minutes or "after this track", fading out and pausing without changing the play mode or queue
Full Node regression suite: 1101/1101 passing.
v2.0.4 (2026-09-11)
- The local library can now watch multiple music folders at once; the library is their union, and the "Music Folders" section in settings lists watched folders with per-folder removal
- Importing a folder is now additive: choosing a second folder no longer replaces the first, and a single folder saved by an older install migrates automatically without losing the library or settings
- Changing any watched folder rescans only that folder and merges in place; songs, play counts, and favorites from other folders are untouched, and full backups export/import all folders
Full Node regression suite: 1088/1088 passing.
v2.0.3 (2026-09-10)
- Added matching
.ssalyrics, sharing the ASS parser and subtitle priority while supporting the SSA v4Markedfield - Disabled electron-builder's implicit publishing; the release workflow now explicitly creates or reuses one draft Release for the tag and replaces same-name assets on reruns
- Upgraded GitHub Actions to
actions/checkout@v5andactions/setup-node@v5; SHA256 manifests now use LF line endings and UTF-8 without a BOM
Full Node regression suite: 1076/1076 passing; the Windows x64 installer is built remotely by GitHub Actions, and the Release is published with four assets and marked Latest.
v2.0.0 (2026-09-07)
- Fixed visual presets 7 and 8 not surviving a restart: switching worked immediately, but restarting the player or restoring the layout clamped the selection back to preset 6
- Two legacy restore paths still hard-coded the valid preset range as
0..6, while visual-archive imports already accepted0..8; all three restore paths now share one table-aware normalizer - Early startup can restore presets 7/8 before the preset table is initialized, while the legacy preset-3 schema migration remains unchanged
- Visual rendering, preset order, UI and the data directory are unchanged.
2.0.0is the user-requested release line and does not reset the library, settings or listening history - Full Node regression suite:
1063/1063passing; the Windows x64 installer is built remotely by GitHub Actions
v1.10.0 (2026-09-06)
- Can now be installed side by side with the original project XxHuberrr/Mineradio and run at the same time: both builds used to share an identical install identity, so Windows treated them as one program and whichever was installed last overwrote the other
- New install identity: Start menu, tray, taskbar and desktop shortcut show "Mineradio 二创", the process is
Mineradio-oirge.exe, the installer isMineradio-oirge-x.y.z-Setup.exe, and the default location isD:\Mineradio-oirge - Nothing inside the app changed: UI text, visuals and the data directory are untouched — your library, settings and history carry over as-is
- Upgrading from an older release installs into the new directory and then asks once whether to remove the old copy; the default is "No", and your data is safe either way. The check only recognises this repository's own previous releases — an installation of the original project is never touched
- The installer only closes its own process, so upgrading no longer kills the original project's player while it is playing
- Known and unavoidable interference: global hotkeys go to whichever instance registers first; mouse side buttons reach both players; the Wallpaper Engine wallpaper, desktop lyrics and desktop-icon layers share one desktop host, so only one instance can hold it
- Full Node regression suite:
1058/1058passing (11 new cases pin the install identity); a real local build was installed and uninstalled silently to verify the new directory, the separate uninstall entry and the legacy-install check
v1.9.3 (2026-09-05)
- Fixed the black screen and the stuttering: both symptoms come from one root cause — the desktop app used to unconditionally tell Chromium to ignore its own driver blocklist, and the driver combinations that render everything black are exactly what that list is for. On top of that it pinned the rendering backend and forced the discrete GPU on hybrid laptops. GPU process crashes → falls back to software compositing → crashes again, which is what the stutter looks like from outside
- There are now three GPU tiers and the app steps down on its own:
default→compatible(no longer overrides the blocklist, no longer forces the discrete GPU) →software. Two consecutive GPU-process crashes on the same tier drop it one step and relaunch once (GPU switches only take effect at startup and cannot be changed at runtime, so a relaunch is unavoidable). On healthy machines the default tier's switch list is byte-identical to the previous release, so nothing changes - Installing a new version retries the top tier automatically, so one transient driver hiccup cannot pin a machine to software rendering forever
- The main window finally has paint recovery: the mini player had it, the main window had none — when the main renderer died, the frameless transparent window was just black, permanently, with no way back. Load failures, renderer exits and a throwing initial load now retry automatically (up to 3 times, increasing backoff, cleared on a successful load), and the retry reloads the page rather than rebuilding the window, so window position and always-on-top survive
- A 6-second fallback shows the window if it never signals ready: previously, if the first load threw, the window existed but stayed hidden — which looks exactly like "I clicked the icon and nothing happened"
- Waking from sleep, unlocking the screen and display changes now force one repaint, another major source of black screens. The repaint does not interrupt playback (unlike a reload)
- No UI switch was added: someone staring at a black screen cannot click a settings toggle, so recovery is fully automatic. To pin a tier by hand there is
MINERADIO_GPU_MODE=default|compatible|software, and an explicitly chosen tier is never overridden by the automatic step-down - Full Node regression suite:
1032/1032passing (42 new cases: 11 for the GPU tier ladder, 9 for the main-process step-down wiring, 22 for main-window paint recovery)
v1.9.2 — preset 8 no longer renders pure black in the desktop client
- Fixed preset 8 "Sonic Echo · Wallpaper Engine" (original by CmzYa) rendering the whole window pure black in the desktop client: this is a different defect from the washed-out white the previous release fixed — the black happens one step earlier, because the wallpaper page was never allowed to load at all
- The root cause is in the desktop main process: to stop the window navigating to external pages, the main-window navigation guard was written to block every subframe navigation — and this preset's entire picture runs inside an iframe. So that iframe stayed on
about:blankand its black backdrop filled the window; with this preset selected the cover-particle layer is collapsed too, so the result looked like plain black - The guard predates the preset by four releases, which means this preset had never once rendered inside the packaged client (running the sources in a browser was fine), so the palette work of the last few releases was invisible there
- Subframes may now load only this preset's own bridge page (same port, exact path); every other subframe is still blocked, and the main frame is still restricted to the local
/or/index.html. Allowing the load grants no privilege — every privileged IPC path still rejects any sender frame that has a parent - Also fixed how the guard read its arguments: Electron puts the navigation details on the event object itself, while the old code read them from the second argument, which is the URL string — so its checks never matched and it fell through to "block". The old test called it with a signature Electron does not use, which is why it stayed green
- Verified by capturing frames from a real Electron window this time: before the fix the subframe sat on
about:blankwith no canvas and 4.4% lit pixels; after it, a 1280×720 WebGL2 canvas with 89% lit pixels and a normal picture - Full Node regression suite:
990/990passing (two new cases: the bridge-page allowlist, and keeping that allowlisted path in sync with preset 8's iframe source; the navigation-guard case now dispatches with Electron's real signature)
v1.9.1 — preset 8 no longer washes out to near-white
- Fixed preset 8 ("Sonic Echo · Wallpaper Engine", original by CmzYa) washing out into a flat, near-white haze while nothing is playing: switching it to the raw cover colours last release was right, but the fallback chain still ended on the lyric text colours — those are deliberately brightened so they stay readable on top of cover art, and their idle defaults are the near-white
#d6f8ff/#9cffdf/#eef7ff. So with no track playing, no cover art, or the cover scan not yet finished, all eight wallpaper colours were pushed to near-white, with the cool, ripple and peak roles collapsing onto the same value — leaving the picture with no light-and-dark structure at all - With no cover colours available it now uses the original's own fallback palette (coral-mirage: primary
#cb6c89, cool#99c4ff, ripple#f8d8ff, near-black base#16060f). When cover colours are available the chain matches upstream item for item, so the picture is unchanged from the previous release - Preset 7 ("ported from Ajin") is unaffected and untouched in this release
- Full Node regression suite:
988/988passing (one new case: it pins the palette's initial literals and forbids the colour chain from falling back to the lyric text colours again)
v1.9.0 — both Sonic Echo presets aligned with the original project
- Both "Sonic Echo" presets used to look different from the original project — this release aligns them: checked item by item against upstream XxHuberrr/Mineradio (commit
89c0d23); five discrepancies were found and all five now follow upstream - Preset 7 ("ported from Ajin") finally gets a real eight-band spectrum and kick envelope: upstream's audio monitor layer is now ported over (new file
public/sonic-audio-monitor.js), splitting bands by hertz (32–58 / 58–118 / 118–260 / 260–720 / 720–1800 / 1800–4200 / 4200–9000 / 9000–16000 Hz) and tracking the kick across six candidate windows with an adaptive noise floor. Previously the eight bands were inferred from five coarse values, which is why the terrain's rise-and-fall distribution and the ripple timing were the most visibly wrong part - Also fixed one stray amplification: the beat value fed to the terrain layer was multiplied by
1.35, firing ripples earlier than the original. It is now passed through unscaled - Seeking or switching tracks clears the beat detector's transient state, so a new song's first hit is no longer suppressed by the previous song's noise floor
- Preset 7's terrain colours are more vivid now: this repo's cover palette is legibility-adjusted for lyrics (lifted lightness, reduced saturation), so terrain following it came out a tier darker and greyer than the original. A second, high-saturation palette is now computed in parallel from the same cover scan purely for the terrain — the lyric text colours are byte-for-byte unchanged
- Preset 8 ("original by CmzYa") now uses the raw cover colours instead of the legibility-adjusted lyric ones. A second pass also picks colours by coverage area (sampled pixels are bucketed by colour, and the bucket's pixel count is its weight), so the primary is closer to the colour a person actually sees
- Preset 8's grid resolution is pinned back to the original
project.jsonvalue of320and no longer follows the quality tier — the original's terrain density, ripple radii and meteor scale are all tuned for 320, so changing the grid count changes the proportions of the whole picture - Preset 8 no longer reads the global theme tint; its colours follow the cover only, as in the original
- Full Node regression suite:
987/987passing (newtests/sonic-audio-monitor.test.jswith 12 cases andtests/lyric-cover-palette-split.test.jswith 9) - Known boundary: this release was verified item by item against upstream's source, not by comparing frames side by side with the original in a real window. If something still looks off, say which preset, which part of the picture, and whether the track is fast or slow
v1.8.9 — Sonic Echo gained the Wallpaper Engine original
- The one visual preset this repo was still missing from the original project is now here: the upstream fork XxHuberrr/Mineradio ships two "Sonic Echo" presets; v1.8.8 only brought over the three.js rewrite, and this release brings the other one
- New 9th visual preset, "Sonic Echo · Wallpaper Engine" (original by CmzYa):
public/vendor/sonic-workshop/holds the build output of CmzYa's Wallpaper Engine piece, embedded as-is in a full-window iframe. The entire picture is rendered by the original — this repo only feeds it data - Two "Sonic Echo" entries now sit side by side in the preset panel: preset 7 is labelled "ported from Ajin", preset 8 "original by CmzYa"
- The wallpaper layer cannot be clicked through (the layer and every element inside it are
pointer-events:none, plusinertandaria-hidden), so mouse, keyboard focus and screen readers all land on the player instead. Picking this preset folds the cover particle layer away and leaves only the wallpaper - It is fed live data from this app: a 512-band spectrum every 33 ms, track info and cover art every 250 ms, palette properties every 1000 ms — and immediately on a track or settings change
- Colours follow the current cover art (primary as the cool tone, secondary as the warm one, highlight as the ripples), falling back to the original's deep blue and warm orange when the cover yields nothing (v1.9.0 switched this to the raw cover colours)
- The quality tier picks the grid resolution (eco 224 / balanced 288 / high 320 / ultra 384); the default "high" is exactly the 320 in the original's
project.json(v1.9.0 pinned it to 320 for every tier) - All four vendored files are byte-identical to upstream commit
89c0d23; copyright and attribution are in NOTICE.md. The third-party bundle was audited — no network calls, no local storage writes, noeval— and that conclusion is now pinned by a regression test - Full Node regression suite:
965/965passing (newtests/sonic-workshop-preset.test.jswith 26 cases)
v1.8.8 — Sonic Topography became a port
- The "Sonic Topography" visual preset is now a port: a field of pillars rises with eight spectrum bands, kicks fire blue ripples, snares and highs fire thin white ones, meteors occasionally fall and burst into a ripple plus a spray of trails, and floating blocks above pulse and tumble with the kick envelope
- The visual algorithm is ported from the community fork XxHuberrr/Mineradio (GPL-3.0); the original concept is CmzYa's Wallpaper Engine piece. Attribution and licensing are in NOTICE.md
- The same-named preset shipped in v1.8.7 was my own spectrum ring and did not match the original project, so it has been replaced wholesale
- Clicking (not dragging) on the canvas drops a ripple at the pointer; hold longer for a stronger one
- Full Node regression suite:
939/939passing (newtests/sonic-topography-preset.test.jswith 16 cases)
v1.8.7 — New Sonic Echo visual preset, no more black flash when leaving fullscreen
- New 8th visual preset (at the time a self-written spectrum ring; replaced by the port in v1.8.8)
- It sits second in the preset panel; picking anything else costs nothing extra, and entering or leaving it never flashes the previous session's spectrum
- Leaving fullscreen no longer flashes black and stutters: the cover is laid down before the native exit is called, reveal fires as soon as the viewport has settled, later duplicate resize signals may only pull the reveal earlier — never push it back — and a 320 ms hard ceiling backs it up
- The transition no longer puts a
filteron the window shell that hosts the WebGL canvas (it forces the whole window to recomposite every frame) - Full Node regression suite:
932/932passing
v1.8.6 — Click the bottom-left thumbnail for song details
- The now-playing thumbnail in the bottom-left corner is clickable: it opens the song details. Previously only the track name beside it responded — the cover itself did nothing
- The cursor turns into a hand over the cover; the title and artist lines behave exactly as before (title opens song details, the artist line opens artist details)
- While nothing is playing the whole thumbnail still ignores clicks, unchanged
- Full Node regression suite:
916/916passing (newtests/now-playing-detail-click.test.js, 4 cases)
v1.8.5 — Play statistics no longer under-count
- Closing the window now settles the track you were on: previously the song playing at exit was never counted, so it could never reach the play statistics
- Edits made right before exit are no longer lost: user state is written 120 ms late, and that write never ran on window close; it is now flushed at unload. Play statistics, custom cover art / lyrics / beat maps and effect presets were all affected
- Files whose duration is not known yet (APE, DSF) are now timed: listening time used to stay at 0, so only playing a track to the very end counted as a play
- Listening while minimised is no longer under-counted: the timer does not run while the window is minimised and only 4.2 s were credited on return; the whole gap is now credited. Seeking, stalls and pauses still do not count as listening
- The three accounting gates — finished / 45 s listened / half the track — are unchanged, and there is no UI change
- Full Node regression suite:
912/912passing (newtests/listen-stats-accounting.test.js, 7 cases)
v1.8.4 Library maintenance: five checks that spell out what is missing
- The library home page gains a third card section, "Library maintenance": duplicates / missing files / no cover art / no lyrics / tag problems. Each one opens as an ordinary playlist — back, play all, lazy loading all unchanged. All five belong to the same family as the smart categories: computed live from the current library, never persisted, never written to SQLite, so results follow the library instead of leaving a stale "last scan result" behind
- Duplicate detection groups by normalised "title + artist" but deliberately does not strip
(Live)/(Remix)suffixes — stripping them would judge a live version and a studio version to be the same track, and under-reporting beats false alarms. After a title+artist collision it re-checks by file size or duration: identical size counts as a duplicate, and a duration differing by more than 2 seconds is dropped from the group — but nothing is dropped while duration has not been read yet - Missing files is the one check that must ask the disk, so it runs only when you open that entry or press "Re-scan". The desktop shell gains a status-code-only channel: the main process confirms each path one by one and returns just "still there / gone / not inside an authorised music folder" — not a single byte of file content. "Not authorised" and "deleted" are recorded separately. The renderer asks in batches of 400, so a library of tens of thousands never freezes the UI
- Every no-cover / no-lyrics / tag verdict is three-state: yes / no / not known yet. The "not known yet" share is reported separately as "N to scan" — never padded into the problem list, never quietly counted as fine. No image beside the file plus a format that cannot carry embedded art is a verdict with zero disk reads; a
.lrcthat sits right there but reads back empty or fails to decrypt still counts as "no lyrics" - Tag problems check title / artist / album / duration for absence, plus the format of year and track number; year and track number are only validated when they carry a value. Right after a fresh import, while tags are still unread, everything is recorded as "to scan" rather than reported as broken
- Card subtitles state the counts plainly ("12 tracks · 340 to scan · no embedded or folder cover art"); the missing-files card switches wording by scan state and offers neither "Play all" nor the card's ▶ — the files are gone, playing them would only error — showing "Re-scan" instead
- All four pure buckets are filled in a single pass and cached against a "library length + first/last key + asset epoch" signature, so a 20,000-track library is walked once; when background cover / lyric scanning reaches a verdict the numbers follow on their own
- Zero UI churn:
public/index.htmlandpublic/app.csswere not touched, the maintenance cards reuse the existing card, section-label and mini-button styles - Known limits: missing-file detection depends on the desktop shell's disk channel, so in plain browser mode that entry says "this environment does not support disk checks"; how the five cards look in a real window was not verified visually this round
- Full Node regression suite:
905/905passing (newtests/library-maintenance.test.js, 24 cases)
v1.8.3 — Encrypted QRC lyrics, and picking among same-named lyric files
- Encrypted QRC lyrics can now be read: both on-disk carriers are accepted — the hex text an API returns verbatim, and the raw binary ciphertext. Detection looks only at content features, so a renamed encrypted QRC is still recognised while existing plaintext QRC / LRC files are never mistaken for ciphertext
- The chain is 3DES but not standard 3DES: the DES port QQ Music uses carries several deviations from the spec (S-box typos, the PC-2 offset, little-endian 32-bit key words, 15 rounds plus a half round, no final swap of the halves), so it had to be transliterated from the in-the-wild implementation. Each block runs
D(K3) → E(K2) → D(K1), the result is a zlib stream, and the UTF-8 BOM is stripped after inflating. Inflating still usesDecompressionStream, which both Chromium and Node ship — no new dependency - When several lyric files share a track's name, the format now decides instead of whichever file was enumerated first: word-by-word timing (
.qrc/.krc/.ttml/.yrc) > line-based.lrc> subtitles (.ass/.srt/.vtt) >.txt> unknown extensions, with paths breaking ties, so the same batch of files imports identically every time - You can also pick by hand: when a track has two or more lyric files, the custom-lyrics dialog gains a row of candidate buttons labelled with path and format. The choice is remembered, so re-importing the same batch keeps the file you picked; if that file later disappears it falls back to the top-priority match. Switching clears the old lyric cache state and propagates to the same track in the play queue and playlists
- Lyric encoding is detected automatically: UTF-8 / UTF-16LE / UTF-16BE with a BOM are decoded by BOM and the BOM is stripped; BOM-less UTF-16 is sniffed from byte distribution; anything that is neither UTF-16 nor valid UTF-8 is tried as
gb18030→big5→shift_jis→euc-kr→windows-1252, keeping whichever produces the fewest garbage characters. Valid UTF-8 is never re-guessed, so existing UTF-8 lyrics are byte-for-byte unchanged - Several in-the-wild timestamp spellings are fixed: the
[offset:+500]global offset now applies per the LRC convention (positive is earlier, negative later, and a line pushed past zero clamps to 0 instead of going negative);[mm:ss:cc](the old colon-as-decimal-point form) and[hh:mm:ss.fff](with hours) are both accepted; fractional digits scale by their actual length, so[00:01.1234]is no longer read as ten times its value; and minutes widen to three digits, so audio longer than an hour is not truncated - Fixed a defect that only triggered on specific filenames: a track named
constructor.mp3(ortoString/valueOf/__proto__) made the candidate lookup pullObjectitself out as the candidate array and inject an empty candidate offObject.length === 1; lookups now check own properties first .qrcnow serves asapplication/octet-streaminstead ofapplication/xml; charset=utf-8(in both the local-file proxy and desktop library), otherwise an encrypted binary is mangled as text before decoding- Nearly no UI change:
public/index.htmlonly gained one candidate-button row inside the existing custom-lyrics dialog (reusing the existingbtn-rowclass), andpublic/app.csswas not touched - Known limits: no real encrypted QRC file was available to check against. Correctness of the chain rests on a big-integer reference implementation compared round by round, six known-answer vectors and one full-chain ciphertext; how real files look in the window was not verified visually this round
- Full Node regression suite:
881/881passing (newtests/lyric-format-hardening.test.js, 10 cases)
v1.8.2 — Multi-format lyrics: KRC / QRC / TTML all read, word timing unchanged
- Lyrics support grows from LRC / YRC / SRT / VTT / ASS into multi-format word-by-word lyrics: KRC (Kugou), QRC (QQ Music) and TTML (the Apple Music family) are now read directly into the existing lyric-line structure, so word highlighting, desktop lyrics, dual-line layout and translations all keep working unchanged
- KRC is read both as plaintext and as a
krc1encrypted binary: the encrypted form is XOR-restored with the format's published constant and then inflated usingDecompressionStream, which both Chromium and Node ship — no new dependency. Word times are offsets relative to the line start and are converted to absolute time on read - QRC accepts both carriers: the
<Lyric_1 LyricType="1" LyricContent="…"/>XML container (entities such as are expanded) and a bare text body. When an exporter omits the timing tag on the last word, the remaining text is carried to the end of the line — coarse timing beats losing words - TTML takes
<p begin= end=>as the line and the innermost<span begin= end=>as words, so a wrapping full-line span never duplicates the text;ttm:role="x-translation"/x-romanspans stay out of the main text; times accept bothhh:mm:ss.fffclocks and12.5s/500msoffsets - Routing is driven by format features, not file extensions: TTML and the QRC container are recognised by their tags, so square brackets in the text are never mistaken for LRC timestamps. KRC / QRC / YRC all share the
[start,duration]line head and can only be told apart by their word delimiters (<offset,dur,0>text/text(start,dur)/(start,dur,0)text), so KRC and QRC must be tried before YRC — otherwise YRC swallows them as lines with no word timing - A duration written in the line head is now honoured as-is instead of being clipped by the old LRC 12-second ceiling
.krc/.qrc/.ttmlwere added to all four extension lists: front-end lyric matching, desktop library scanning and MIME, the local-file proxy MIME, and both importacceptattributes..krcis served asapplication/octet-streamso an encrypted binary is not mangled as text before decoding- No UI change:
public/index.htmlonly gained three extensions in each of twoacceptattributes, andpublic/app.csswas not touched - Known limits: encrypted QRC network payloads (triple-DES + zlib) are not decrypted this round. A
.qrcon disk is usually already plaintext XML or a bare body, and both of those read directly - Full Node regression suite:
871/871passing (newtests/multi-format-lyrics.test.js, 7 cases)
v1.8.1 — Whole-machine backup: export mineradio.backup, move to a new computer in one go
- New "backup" section on the settings panel's "Advanced" page, with two buttons: export and import. Export writes a
mineradio.backupfile; import reads it back and overwrites the local data - The backup holds what you built up: the library index (paths, duration, format, album and artist, date added), every playlist, favourites, listening history and play statistics, plus the theme, lyrics layout, effect chain and effect archives, the 16 player settings covering volume / quality / gapless / crossfade / hotkeys / auto-hide, and the music folder paths
- Three things are deliberately left out: audio files, cover caches and temporary files. Not a single byte of audio goes in, regenerable covers and beat maps stay out, and so do the library snapshot / queue snapshot / resume positions that would point at old paths on another machine — a library of tens of thousands of tracks still backs up to a few MB, small enough for a cloud drive or a USB stick
- Moving to a new computer is the intended use, so track identity is stored as "folder + relative path", never an absolute path: there is no hard-coded drive letter anywhere in the file. On import the full paths are rebuilt against the music folder on the new machine, so playlists and favourites still resolve after
D:\MusicbecomesE:\NewDrive\Music - Import looks for the backup's music folder first and asks you to pick a new one if it is missing; cancelling that step abandons the whole import and leaves local data untouched
- Import overwrites, so it takes two clicks: the first click only warns that importing will overwrite local playlists / favourites / settings and restart, and a second click within 12 seconds actually starts it. The app restarts when it finishes and rescans the library against the new paths. No new dialogs were added
- Backup files use the
.backupextension on their own read/write channel, separate from the.json-only effect-archive and plugin imports; the version field is validated before anything is written, unknown files are rejected outright, and imports are capped at 64 MB - The only UI addition is one collapsible section in the settings panel (two button rows plus two hint rows);
public/app.csswas not touched - Known limits: per-track custom covers, custom beat maps and custom lyrics count as "cover cache" and are excluded by request this round
- Full Node regression suite:
864/864passing
v1.7.29 — Sync indicator moved below the search box, colours follow theme plugins
- The music-folder auto-sync indicator ("已同步 xx 首歌曲" / "synced xx tracks") moved from the bottom-right corner to below the search box: with nothing else under the search box it sits directly beneath it, and as soon as search results appear it slides below the result list instead of covering it — no existing layout is pushed around
- The indicator now follows theme plugins: background, border, shadow and text all read theme tokens first (the same family as the search box), falling back to the player's own glass material when no theme is installed, so it looks like the same material as the adjacent search box. Text stays readable on light themes; only the small accent dot keeps a semantic colour
- The top search bar only peeks out when the pointer is near the top, so the indicator holds it open for the few seconds it is visible and releases it on fade-out. A search bar you opened yourself is never taken over or closed for you, and it stays open while the input has focus, results or the import hint are showing, or the pointer is still up top
- No new UI elements;
public/index.htmlwas not touched - Fixed a library-pruning defect that could leave deleted tracks in the library forever: a full scan drops rows it did not see this pass, but "this pass" was marked with a millisecond timestamp, so two scans landing in the same clock tick made stale rows look like they had been seen. The per-root scan stamp is now strictly increasing
- Full Node regression suite:
846/846passing
v1.7.28 — Gapless playback and a 0~10 second crossfade
- New "gapless playback" toggle (on by default): the next track is decoded ahead of time during automatic advance and takes over the instant the previous one ends, so there is no audible gap between adjacent tracks
- New "crossfade" slider:
0 ~ 10seconds in0.5second steps. Above zero the outgoing and incoming tracks overlap along an equal-power curve, so the midpoint does not dip in loudness - With crossfade at
0the original playback logic is preserved. Manual track changes, previous, next, shuffle and autoplay are all unaffected — only automatic advance and single-track repeat may adopt the prefetched deck - No pops, no double playback and no sudden silence across state changes: two permanently wired
<audio>decks only ever have their gain adjusted, never their connections. A crossfade commits and advances the queue only once the next track is genuinely audible, and if the start is rejected everything rolls back and the current track keeps playing - The only UI addition is one collapsible section under the volume block on the settings panel's "Advanced" page (one toggle plus one slider); the stylesheet was not touched
- Full Node regression suite:
834/834passing
v1.7.27 — Listening stats, resume playback, mouse-button hotkeys
- Per-track listening stats: play count, completed plays, accumulated listen time and last-played time are kept per track. The "recently played / most played" lists show a summary under each row, and the song detail dialog has a full "playback stats" section
- Resume playback: each track remembers where you stopped and picks up there next time. A position is only remembered after 15 seconds of listening and only if at least 20 seconds remain, and it is cleared once the track finishes
- "Resume last playback": a button in the settings panel that can also be bound to a hotkey. It ignores the autoplay toggle — pressing it resumes the last track at the last position
- Clearing recently-played records is now two-tier: "clear recent only" keeps play counts and accumulated listen time, "clear everything" also zeroes counts, listen time and resume positions. Neither deletes local music files, and both also clear the stats mirror in the local SQLite library
- Global hotkeys accept the mouse middle button and both side buttons (combinable with
Ctrl/Alt/Shift/Win); the left and right buttons stay reserved for normal clicking. Note that a system-level mouse hook only listens, it cannot swallow the event, so back/forward still act normally in other applications; in-app-only bindings are unaffected - The mouse hook is loaded on demand: with no mouse binding the native module is never pulled into the process, and removing the last binding stops the hook immediately. It only reads button and modifier state — no input is recorded, stored or transmitted (see PRIVACY.md)
- Full Node regression suite:
807/807passing
v1.7.24 — Library became a top-level tab
- Library is now a top-level tab: the left panel's tab bar reads
当前队列 / 歌单 / 音乐库(Queue / Playlists / Library), so smart categories are one click away instead of hidden behind a card - Both tabs share one list and one selection, and switching repositions it: entering Library lands on the category home, returning to Playlists falls back to "All songs" — no cross-page bleed
- Sitting on an artist or a group and switching to Queue and back keeps you on that same level
- The Library tab's toolbar reads "音乐库智能分类" and hides "New playlist" (it only means something for standalone playlists); "Import" stays. The Playlists tab is unchanged: Liked → standalone playlists → all songs
- Smart library categories: five song views (
All songs / Recently added / Recently played / Most played / Never played) and five group browsers (Artist / Album / Album artist / Genre / Decade) - Three-level navigation — Library → group → songs — with a back button on the group and song levels and "play all" on the song level; any category can become the bottom-bar playback source
- Decades are bucketed by ten years (
1990s / 2000s / 2010s), unparseable years fall into "unknown decade" and sort last; a missing album artist falls back to the artist - Recently played / most played / never played are driven by local listening stats, ties broken by accumulated listen time and then last-played time
- Library-add timestamps, so "recently added" reflects real import order, capped at 200 tracks; editing tags or covers no longer makes a track look newly added, and a first full import is not stamped with one identical moment
- The whole library is indexed in a single pass, group cards reuse the panel's existing lazy-load budget, and no new CSS was added
- A real audio effect chain in a fixed order:
Preset → EQ → Preamp → Limiter → Spatial → Output, permanently wired into the audio graph so toggling it never clicks - 8 presets: Normal / Rock / Pop / Classical / Jazz / Bass Boost / Vocal / Custom; 10-band graphic EQ from
31 Hzto16 kHz, ±12 dB per band in 0.5 dB steps - Automatic preamp headroom derived from the largest boost, plus an end-of-chain limiter; stereo width uses a true mid/side matrix, width 1 reproduces the original channels sample for sample
- Effect profiles export and import as
xxx.eq.json, carrying the curve, preamp, limiter and spatial settings - Volume normalization (ReplayGain): existing loudness tags are read and applied, with Track/Album reference modes, a ±12 dB preamp and a clipping guard
- Automatic music folder monitoring: new tracks are indexed, deleted tracks are pruned, edited tags and covers refresh on their own — no restart needed, and syncing never interrupts playback
- Tag, cover, embedded lyrics and duration parsing for OGG / OGA / OPUS / WAV / APE / DSD(.dsf); APE and DSD play directly
- The local library moved to SQLite with file-fingerprint and path indexes, and the old 16000-track cap is gone
- Full Node regression suite:
655/655passing
Notice
This repository is a locally modified music player version, focused on personal local music library playback. It does not provide online music search, login, premium music sources, or music content distribution.
Please ensure that the music files you import and play are from legal sources.
License
This project follows the original project license, see LICENSE for details.
Folia's source, AGPL license, and packaged dependency notices are documented in THIRD-PARTY-NOTICES.md and the integration guide.
Explore related projects
Loading…