Skip to content

feat: like/unlike tracks from TUI#6

Merged
danfry1 merged 11 commits into
mainfrom
feat/like-track
Apr 8, 2026
Merged

feat: like/unlike tracks from TUI#6
danfry1 merged 11 commits into
mainfrom
feat/like-track

Conversation

@danfry1
Copy link
Copy Markdown
Owner

@danfry1 danfry1 commented Apr 8, 2026

Summary

  • Add ability to like/unlike tracks via f keybinding and context actions menu (o)
  • Show in status bar and now-playing overlay when the current track is liked
  • Check liked status automatically on track change
  • Add user-library-modify OAuth scope (existing users need to re-run waxon auth)
  • Invalidate Liked Songs cache after liking/unliking so the playlist view stays fresh

Also restores the auth callback path fix from v1.2.1 that was lost during the v1.2.2 history cleanup — uses /login for the default ncspot client ID and /callback for custom client IDs.

Test plan

  • Run waxon auth to pick up the new scope
  • Press f on a track in the tracklist — toast shows "Saved to Liked Songs"
  • Press f again on the same track while playing — toast shows "Removed from Liked Songs"
  • appears/disappears in status bar when playing a liked track
  • Press N then f — like works from now-playing overlay
  • Press o on a track — context menu shows "Save to Liked Songs" / "Remove from Liked Songs"
  • Navigate to Liked Songs after liking — newly liked track appears immediately
  • Press ? — help shows f favourite in ACTIONS
  • waxon auth works without redirect_uri mismatch (ncspot client ID fix)

@danfry1 danfry1 merged commit ed4588c into main Apr 8, 2026
2 checks passed
@danfry1 danfry1 deleted the feat/like-track branch April 8, 2026 21:11
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.

1 participant