mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-09-10 03:42:00 +02:00
The sleep timer fades playback down to 10% over its last minute by setting the player's volume. CastPlayer.setVolume was an empty stub and getVolume returned zero, so while casting the fade did nothing at all. Both now go through the media stream volume the Cast SDK offers. That is the receiver's volume for this stream only: the device volume stays where the user put it, and on a cast group the balance between its members is untouched, because the receiver applies the stream volume to the group's output.