Skip to content

Improve library management, playlists, albums, playback controls and Windows builds - #273

Closed
Code-Explode-Studios wants to merge 56 commits into
timoncool:mainfrom
Code-Explode-Studios:main
Closed

Code-Explode-Studios wants to merge 56 commits into
timoncool:mainfrom
Code-Explode-Studios:main

Conversation

@Code-Explode-Studios

Copy link
Copy Markdown
Contributor

What changes / Что меняется

This PR proposes several quality-of-life improvements to YuE2 Studio, focusing on library organisation, music playback, and the Windows build process.

The goal is to make managing large music libraries easier while preserving the existing functionality and interface style.

1. Improved song selection and bulk deletion

  • Added multi-song selection using checkboxes.
  • Checkboxes appear on hover, similar to Suno.
  • Clicking a song normally opens its details panel.
  • Added bulk deletion with confirmation.
  • Added selection shortcuts and undo support.

2. Playlists and albums

  • Added dedicated playlist and album management.
  • Create, rename, edit and delete collections.
  • Add and remove songs from playlists and albums.
  • Removing a song from a collection does not delete its original audio.
  • Added custom artwork uploads for playlists and albums.
  • Collection metadata persists between sessions.

3. Library filtering

  • Added a filter for songs not assigned to any playlist or album.
  • Improved library organisation and navigation.
  • Existing search and filtering functionality remains available.

4. Playback speed and pitch

  • Improved playback rate controls with a DJ-style popup.
  • Added preset speeds from 0.25x to 2x.
  • Added a continuous slider for fine adjustments.
  • Speed and pitch change together instead of preserving the original pitch.
  • Added a quick reset to normal playback speed.

5. Lyrics transcription

  • Exposed the existing local lyrics recognition functionality in the Cover workflow.
  • Added an option to transcribe lyrics from a selected recording.
  • Added confirmation before replacing existing lyrics.
  • Recognition depends on the locally configured speech recognition engine.

6. Automatic Windows portable builds

  • Added a GitHub Actions workflow for building the Windows portable executable.
  • Packages the application and required native resources.
  • Allows contributors to download compiled builds without manually setting up the full development environment.

How it was checked / Как проверено

  • Frontend production build passed.
  • TypeScript checks passed.
  • Frontend automated tests passed.
  • Added regression tests for song selection and collection artwork persistence.
  • Windows portable builds are configured through GitHub Actions.

Manual testing on Windows is still recommended, particularly for playlist persistence, playback controls and lyrics recognition.

Checklist / Чек-лист

  • One change in this pull request — this PR contains several related library and usability improvements.
  • Checked on a real run, not only by building — full manual verification is still required.
  • New interface text is in every language — new strings currently require translation into the other supported languages.

Additional notes

These improvements were developed in a fork of YuE2 Studio, with the aim of contributing useful functionality back to the original project.

The PR also includes a Windows build workflow. I understand that the maintainer may prefer to review or merge the features separately.

I'm happy to discuss adjustments to the implementation or UI to better match the project's existing design and architecture.

Thanks for creating and maintaining YuE2 Studio!

…rtable-build

Build a Windows portable EXE automatically with GitHub Actions
…separation

Add spinning YuE2-branded turntables with a fixed tonearm, vertical pitch faders and explicit tempo/EQ/echo resets. Integrate HT-Demucs and RoFormer separation on playing decks with progress, acapella/instrumental/bass/drum presets, and better scratch grains. Update local builder for unified fork main; ignore and untrack machine-specific build logs. No GitHub Actions build.
…installs

Increase vinyl deck dimensions by 50%; show live BPM with the pitch percentage on the vertical fader and remove duplicate tempo reset. Expose independent HT-Demucs/RoFormer readiness in native separation status and use the existing native asset installer for missing models and runtimes directly from Live Stem Control. Show scoped download progress, switch to separation actions when ready, and expand API tests/docs. Build locally; skip cloud CI.
Synchronize the regular player's speed/pitch control with its HTML audio transport when a different song loads: both return to 1.00x, including defaultPlaybackRate. Keep same-track resume and metadata refresh unchanged. Add regression tests for accelerated and slowed playback. Skip cloud CI; build locally.
…builder

Use vswhere to detect installed C++ Build Tools and call VsDevCmd before launching PowerShell so Rust can find link.exe. Check the linker before npm dependency installs, with a clear error when MSVC components are missing. Keep all builds local and skip GitHub Actions.
Look for VsDevCmd.bat directly at standard Visual Studio Build Tools and edition locations instead of relying on fragile FOR /F quoting around vswhere.exe. Initialize x64 MSVC and check link.exe before installing npm packages. No GitHub Actions build.
…power control

- Separate playlist and album destination filters, preserving create-new album with selected songs.
- Add Stop / Start engine beside Create's readiness display for a genuine GPU-generation-process shutdown while playback remains available.
- Respect manual pause in auto-restart watchdog and selected-model reload; protect active generation and training jobs.
- Add engine power API, localized labels, tests and documentation.

Run the build locally; skip GitHub Actions.
… deleting originals

Remove cascading trash of tracks linked via derived.from: delete only explicitly selected song records. Recycle only the selected track's unshared files so audio/artwork of remaining versions survives permanent deletion. Recover derived tracks that older builds automatically binned with their originals, without restoring deliberately deleted songs. Update delete confirmations across all UI languages. Add Rust regression tests for original vs extended re-render and cover, shared assets, legacy-bin recovery and recycle failures. No GitHub Actions build.
…back

Add reorderable album cards with keyboard move controls, and reorderable albums in the Add to Album chooser. Persist exact ordering through an additive SQLite album_order table and validated native PUT endpoint; reuse it in both screens and across restarts. Match New album plus-button styling with New Playlist. Use album-specific created/added/duplicate notifications in all six UI languages. Add TS and Rust regression tests and documentation. Skip GitHub Actions; build locally.
Render the existing editable RightSidebar next to collection song lists, open it with responsive song selection, and provide a details-only control per song. Put New Playlist before New Album. Cover both collection kinds with UI regression tests.
Count active tracks consistently in the add-to-collection picker. Identify songs in the Bin in collection cards and details; restore them in-place without changing their album membership. Keep full stored song IDs when adding, removing, or reordering visible tracks. Include translated notices and regression tests.
Share playback-rate limits, presets, and semitone conversion between the regular player and DJ mode. Replace the DJ fader's limited ±16/±50 percent UI with the full 0.25x–2x rate range, matching all eight standard presets and showing rate, percentage, BPM and semitone offsets. Preserve fine nudges and DJ sync behavior; add unit and fader tests.
timoncool added a commit that referenced this pull request Nov 20, 2026
Adapt the responsive collection details view from PR #273 (4829682).

Co-authored-by: Code-Explode-Studios <[email protected]>
timoncool added a commit that referenced this pull request Nov 20, 2026
Integrate album storage and compatibility cases from PR #273. Append imported albums in source order and preserve local edits on retry.

Co-authored-by: Code-Explode-Studios <[email protected]>
timoncool added a commit that referenced this pull request Nov 20, 2026
Adapt the collection editor from PR #273 with localized controls and protection against overlapping image selections.

Co-authored-by: Code-Explode-Studios <[email protected]>
…controls

* Add privacy promo opt-out, configurable music library location, and collection song controls

Suppress unsolicited Studio Hub banners/popups independently from telemetry, with an immediately applied local preference. Add Music location settings and a safe restart-only migration of the SQLite catalogue, albums, playlists, and media to a selected folder; preserve the original on failure. Use the common SongItem renderer and shared density setting in albums/playlists, including rename, cover/video, like, contextual actions, and collection-specific removal. Add client and Rust regression tests.

* Complete Studio Hub opt-out wiring and add privacy/music location regression coverage

Apply the saved promotional preference to app-level banner and popup selection, preserve on-demand news, restore all translated privacy labels, and cover the folder picker/restart staging flow with UI tests.
* Notify on Windows when song generation completes

Use the Windows Shell notification area so portable and installed builds can alert users without an installer-specific shortcut. Trigger a single alert after each successfully completed job (including re-renders and multi-track jobs), never on partial progress, failure or cancellation. Add a persistent Settings > Notifications switch, a test-notification button, localized messages, and UI/service/native tests.

* Keep portable Windows Cargo.lock in sync with notification API dependency

Register the existing locked windows-sys 0.61.2 crate as a direct desktop dependency so locked Rust builds can use Shell_NotifyIconW without re-resolving packages.

* Reset notification preferences between UI regression tests

Keep the in-memory preference fallback independent between test cases, including native rejection and disabled-notification scenarios.

* Register a Win32 notification callback message with the Shell icon

Use the documented NIF_MESSAGE flag when adding the portable notification-area icon so Windows reliably accepts and retains it while notification balloons are displayed.
@timoncool

Copy link
Copy Markdown
Owner

Thanks for the library and playback work. YuE2 Studio 5.0.0 includes the Unassigned filter and multi-track selection, playlist and album editing with artwork and manual order, linked speed and pitch, the two-deck DJ panel, and source-lyrics recognition in Cover with confirmation before replacement. The album and DJ changes shipped through #337 and #353. Local YuE2 pause/resume shipped through #333. Your Windows song-completion notifications were cherry-picked as 7ab3ac0 and shipped through #524. YuE2 Studio 5.0.0

This PR stays open. Its fork-specific Windows portable workflow and one-click builder scripts are still outside the release. The published portable ZIP uses the upstream release build.

@timoncool timoncool mentioned this pull request Nov 21, 2026
3 tasks
@timoncool

Copy link
Copy Markdown
Owner

Following up on the release summary above: we reviewed the remaining build and downloads-panel changes separately. We are keeping Studio’s existing Windows packaging process, which produced the signed installer and the 5.0.0 portable ZIP. We are also keeping completed save entries available so people can still use Show in folder after the save finishes; we aren't taking the fork’s two-second removal timer.

That settles the remaining differences in this combined branch. Closing it as superseded by the individually integrated changes listed above. Thank you for the album, playback and Windows notification work, and for offering to have the contributions reviewed separately.

@timoncool timoncool closed this Nov 21, 2026
philmcneely pushed a commit to philmcneely/YuE2-Studio that referenced this pull request Nov 21, 2026
Integrate the album selection, keyboard moves, drag ordering, and unassigned
track filter from PR timoncool#273. Reuse the migrated SQLite order endpoint, keep
current tracklist edits in the shared cache, and preserve the legacy library
import and workspace entry points.

Co-authored-by: Code-Explode-Studios <[email protected]>
philmcneely pushed a commit to philmcneely/YuE2-Studio that referenced this pull request Nov 21, 2026
Adapt the speed presets, slider, and new-track reset from PR timoncool#273. Apply
rate and pitch together to the HTML audio transport and keep same-track
resume and metadata refresh at the current rate.

Co-authored-by: Code-Explode-Studios <[email protected]>
philmcneely pushed a commit to philmcneely/YuE2-Studio that referenced this pull request Nov 21, 2026
Bring over the two decks, crossfader, pitch, stem controls and recording from
PR timoncool#273. Reuse the native separator without changing the user's saved engine,
and keep the existing player and output paths available.

Co-authored-by: Code-Explode-Studios <[email protected]>
philmcneely pushed a commit to philmcneely/YuE2-Studio that referenced this pull request Nov 21, 2026
Port the promotional preference from upstream commit 4551757 in timoncool#273.

Co-authored-by: Code-Explode-Studios <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants