Automatically restart the player
When an error is detected have something to restart the player every five or ten seconds automatically for a certain number of attempts before requiring the user to manually restart the player. But of course allow the player to manually restart there too, with the condition being that if the player manually restarts during a wait time it will count as all attempts expired.
Why is that? I sleep to streams and sometimes the player encounters an error and halts the playback, so I wake up to absolute silence and need to restart the player manually.