Skip to content

Add option to always scrobble songs you add - #215

Open
ingoau wants to merge 1 commit into
mainfrom
scrobble-own-tracks
Open

ingoau wants to merge 1 commit into
mainfrom
scrobble-own-tracks

Conversation

@ingoau

@ingoau ingoau commented Nov 7, 2026

Copy link
Copy Markdown
Owner

Suggested in Slack: with an ask-before-scrobbling mode on, songs you queued yourself still asked for confirmation.

What changes

A new checkbox on the You tab of Settings, under the scrobbling default: Songs you add — Always scrobble songs I add. It's saved per user (user_scrobbling.scrobble_own_tracks, default off).

When it's on and the listener's mode is Ask every Huddle or Ask for every track:

  • A song they added to the queue scrobbles without asking, as though they'd confirmed it. They also get "now playing" for it, and in Ask for every track mode they get no prompt for it.
  • Songs added by others, and autoplay picks, still ask as before.
  • If they turned scrobbling off for the session, that still wins.
  • Always and Disabled modes don't change.

With the checkbox off, behaviour is exactly as before.

Testing

  • bun run check passes.
  • New test in scrobbling.test.ts covers: own song with the checkbox off (asked, not scrobbled); own, others' and autoplay songs with it on in Ask for every track mode; and Ask every Huddle mode before and after turning the session off. The test fails when the setting is ignored.
  • The You-tab save test in coordinator.test.ts and the field-order test in settings-schema.test.ts now include the checkbox.
  • bun test: 873 pass, 6 fail. The same 6 tests (3 in tracks.test.ts, 3 in chime-link.test.ts) also fail on unchanged main in this environment.

When scrobbling asks first (Ask every Huddle or Ask for every track), a new
"Always scrobble songs I add" checkbox on the You tab scrobbles songs the
listener queued themselves without asking. Songs others or autoplay added
still ask, turning scrobbling off for a session still wins, and with the
checkbox off nothing changes.

Amp-Thread-ID: https://ampcode.com/threads/T-01a1b441-6095-712e-a011-33d4f7e1eba0
Co-authored-by: Ingo <me@ingo.au>
@coderabbitai

coderabbitai Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 58 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b270caad-0033-45b4-a1cf-3d3ff5cdc42f
Commits

Reviewing files that changed from the base of the PR and between b18e62e and 2a741d9.

Files selected for processing: 10

  • src/coordinator.test.ts
  • src/coordinator.ts
  • src/scrobbling.test.ts
  • src/scrobbling.ts
  • src/settings-schema.test.ts
  • src/settings-schema.ts
  • src/settings-view.ts
  • src/store.test.ts
  • src/store.ts
  • src/user-settings.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

This branch has not been deployed

No deployments
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