Music Assistant renews SoundCloud access tokens before they expire, or at startup if they have already expired. SoundCloud’s newer sign-in tokens can expire within a day, leaving the provider unable to connect until the owner pastes another one.

Rob Sonke adds an optional refresh-token setting and saves replacement tokens as soon as SoundCloud rotates them. The existing sign-in method for older tokens stays unchanged.