Skip to content

Rate songs in half stars - #52

Merged
hatstand merged 1 commit into
mainfrom
claude/android-remote-issue-352-jq19tx
Oct 22, 2026
Merged

hatstand merged 1 commit into
mainfrom
claude/android-remote-issue-352-jq19tx

Conversation

@hatstand

@hatstand hatstand commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Requested by John · project thread

The iOS side of clementine-player/Android-Remote#353. Each rating star rated the song a whole number of stars, so the half stars Clementine stores couldn't be given.

  • A tap on a star's leading half rates half a star less (1.5 from the second star). The stars are still 44pt targets.
  • VoiceOver still reads one button per star ("Rate 2 stars"), and offers "Rate 1.5 stars" as an action on it.
  • RemoteSession.rate(stars:) takes a Float, rounded to half stars and clamped to 0–5.
  • The toast keeps "Rated %lld stars" (and its translations) for whole stars, and uses the new "Rated %@ stars" for halves.
  • New strings: Rate %@ stars and Rated %@ stars.
  • Same release note as the Android change.

Testing

Not yet tried on a device. The half-star tap relies on SwiftUI's local coordinates starting from the leading edge, so it's worth checking in a right-to-left language.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XFkkp5H5UZTWDyEMm6jnZH

Each rating star rated the song a whole number of stars, so the half
stars Clementine has couldn't be given. A tap on a star's leading half
now rates it half a star less, as on Android. VoiceOver still reads one
button per star, which rates the whole star, and offers the half star
as an action on it.

The two new strings are added to the catalog as a build's sync would
add them.

Release-note: You can rate songs in half stars: tap the left half of a star.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XFkkp5H5UZTWDyEMm6jnZH
@hatstand hatstand self-assigned this Oct 22, 2026
@github-actions

Copy link
Copy Markdown

Screenshots

From run 39798189865, against a real Clementine. Left: main. Right: this pull request, light and dark.

Screen main This PR This PR, dark
01_connect
02_queue
03_player
04_connection
05_settings
06_library –
07_library_album –
08_search –
09_outputs –
10_internet –
11_internet_radio –

@hatstand
hatstand marked this pull request as ready for review October 22, 2026 15:25
@hatstand
hatstand merged commit 92be287 into main Oct 22, 2026
4 checks passed
@hatstand
hatstand deleted the claude/android-remote-issue-352-jq19tx branch October 22, 2026 15:29
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