mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 15:11:58 +01:00
An existing token-auth source with an already-synced library would fail playback before any API call ran: stream and cover-art URLs are built by uri() and fetched by ExoPlayer/Coil, outside stream(). Probe the active source once when it uses token auth so the 41 flips and persists before any URL is built. Also base the retry on the flag the request actually used (concurrent requests no longer lose their retry), report the fallback from ping() so Add Source flips the toggle instead of reporting success and saving token auth on, and make the callback non-null.