Skip to main content

players_to_pause

Function players_to_pause 

Source
pub(crate) fn players_to_pause(
    statuses: &[(String, Option<PlaybackStatus>)],
) -> Vec<String>
Expand description

Given each player’s status, the bus names to pause: only those actively Playing. Pure, so the pause set is testable without a session bus.