Repository navigation
fix shuffle track start time shift - #531
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (4)
Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughNative shuffle reloads now store a target index and seek position. Reload creation, synchronization, full-context completion, fixtures, and tests use the structured state. ChangesNative shuffle reload tracking
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to This change makes newly selected shuffle tracks start at their intended position instead of inheriting the previous song's progress, with behavior limited to native Spotify playback. No outstanding correctness or build concerns were found, so it looks ready to merge. 🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (3 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
✨ Simplify code
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
# Release v0.43.0 Version bump and changelog for v0.43.0. No application code changes. `cd.yml` gets an `announce-discord` job: after a stable release, it posts the release link to Discord and pings the Release Pings role. It reads the webhook URL from the `DISCORD_RELEASE_WEBHOOK` secret. The changelog also gets entries for six merged PRs that had none: #528, #536, #550, #551, #531 and #555. #523 (feature aliasing) is an internal refactor and has no entry. # Checklist - [x] `CHANGELOG.md`: `## [Unreleased]` renamed to `## [v0.43.0] 2026-09-23`, every user-facing PR since v0.42.0 has an entry - [x] `Cargo.toml` version bumped and `Cargo.lock` regenerated (`cargo update -p spotatui --offline`) - [x] `cargo metadata --locked` passes (every CI leg runs with `--locked`) - [x] `SECURITY.md`: supported version moved to 0.43 (it still named 0.40) # After merge ```bash git checkout main && git pull git tag -a v0.43.0 -m "Release v0.43.0" git push origin v0.43.0 ``` The tag push runs `cd.yml`. Check the release page once it finishes: the download links resolve and both `.deb` rows are present. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Version 0.43.0 fixes macOS media-key handling, opening other users’ Spotify playlists, artist pages when related-artist requests fail, non-ASCII keybindings, native-shuffle track starts, and `--help` text. * **Documentation** * Updated the supported-version policy: version 0.43 is supported, while versions below 0.43 are no longer marked as supported. * **Release** * Released as version 0.43.0 on September 23, 2026. Release announcements now include a link to the corresponding changelog entry. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Summary
Fix native Spotify shuffle carrying the previous song’s playback position into a newly selected song. Pending shuffle reloads now retain their intended seek position instead of reading potentially stale global playback progress.
Testing
cargo fmt --all -- --checkcargo clippy --locked --no-default-features --features telemetry,tui -- -D warningscargo test --locked --no-default-features --features telemetry,tuicargo clippy --locked -- -D warningscargo test --lockedcargo test --locked native_shuffletools/check_gates_ratchet.sh origin/mainAdditional notes
Only native Spotify playback with client-side shuffle is affected. External Spotify Connect devices and alternative-source players are unchanged.
Summary by CodeRabbit
Bug Fixes
Tests