Mulberry 1.2.1: CD fixes, web links, lyrics priority, portable playlists

- Fix crash after CD ripping (running QThread was destroyed)
- Audio CDs always use mpv (bundled on Windows) even when Qt is the main engine
  — fixes 'several tracks failed to play' on Windows
- YouTube/SoundCloud/Bandcamp links resolved with bundled yt-dlp
- Lyrics: Auto prefers synced from any source (LRCLIB > NetEase > embedded >
  local); explicit choices no longer fall back; NetEase uses cloudsearch
  (search/get/web is encrypted outside China)
- Playlist export uses absolute paths by default; import remaps paths from
  other machines/OSes via the library
- HTTPS: certificate fallback (system bundles, certifi) for packaged builds;
  cover search shows real errors, more fallbacks, Last.fm covers
- MusicBrainz: retry without album, cleaner album artist, async genre
- CI self-tests require bundled libmpv (Windows), yt-dlp and TLS certs

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01J7imThHV9BMkG24GaxPDeq
This commit is contained in:
Claude 2026-10-10 00:45:03 -05:00
commit a0b83cd4e3
No known key found for this signature in database

View file

@ -56,6 +56,9 @@ jobs:
Get-Content selftest-windows.txt
if ([double]$r['visualizer_decoded_s'] -lt 5) { Write-Output "::error title=Windows self-test::audio decoding failed ($($r['visualizer_decoded_s']) s)"; exit 1 }
if ([double]$r['visualizer_peak'] -lt 0.05) { Write-Output "::error title=Windows self-test::visualizer silent"; exit 1 }
if ($r['mpv_available'] -ne 'True') { Write-Output "::error title=Windows self-test::bundled libmpv did not load (CD playback would fail)"; exit 1 }
if ($r['ytdlp'] -ne 'True') { Write-Output "::error title=Windows self-test::yt-dlp missing from the build"; exit 1 }
if ([int]$r['ssl_ca'] -lt 1) { Write-Output "::error title=Windows self-test::no TLS certificates"; exit 1 }
if ([double]$r['position'] -lt 1) { Write-Output "::warning title=Windows self-test::playback position did not advance (runner has no audio device?) state=$($r['state'])" }
- uses: actions/upload-artifact@v4
with:
@ -111,6 +114,8 @@ jobs:
get() { grep "^$1=" selftest-linux.txt | cut -d= -f2; }
awk "BEGIN{exit !($(get visualizer_decoded_s) >= 5)}" || { echo "::error title=Linux self-test::audio decoding failed::$(grep -i 'multimedia\|ffmpeg\|Failed' selftest-linux.log | head -5 | tr '\n' '|')"; exit 1; }
awk "BEGIN{exit !($(get visualizer_peak) >= 0.05)}" || { echo "::error title=Linux self-test::visualizer silent"; exit 1; }
[ "$(get ytdlp)" = "True" ] || { echo "::error title=Linux self-test::yt-dlp missing from the build"; exit 1; }
[ "$(get ssl_ca)" -ge 1 ] || { echo "::error title=Linux self-test::no TLS certificates"; exit 1; }
awk "BEGIN{exit !($(get position) >= 1)}" || echo "::warning title=Linux self-test::playback position did not advance (state=$(get state))"
- uses: actions/upload-artifact@v4
with: