pub(super) fn build_play( volume: f64, muted: bool, api_key: Arc<Mutex<Option<String>>>, ) -> Result<(Play, Paintable), String>