+11
+23
−2
Loading
A user reported having to set the speed again at each launch. The
podcast settings already speak of "the player's global speed", but it
only lived in the playback controller, which starts at 1×.
The global speed is now saved in PlaybackSettings and restored at launch.
A change made while listening (player, mini bar, lock screen, keyboard)
becomes the global speed, through the controller's new onRateChange. On
a podcast with a speed of its own, the change stays with the episode and
nothing saved moves. Settings › Playback gains a picker, which applies
at once to an episode following the global speed; its label was already
translated.
Live streams now always start at 1×: the saved speed would otherwise
reach them at every launch.
This also fixes a leak: play() was passed nil for a podcast without a
speed, so it kept the speed of the podcast played before. Every episode
now starts at its podcast's speed or at the global one.
Tested on the iPhone Duo simulator: speed kept across a quit, a dedicated
speed leaves the global one alone, the Settings picker applies at once.
Co-Authored-By:
Claude Opus 5.5 <noreply@anthropic.com>