When a submit fails for a transient reason (no connection, bad gateway,
server error, rate limit) the scrobble is saved to a Room table and a
network-constrained WorkManager job sends it later, in batches of 50,
oldest first. Plays too old for the server are dropped, and a rejected
session or unexpected error leaves the queue untouched. Safe to retry as
the server dedupes on (user, played_at, artist, track).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>