(&self)
| 356 | |
| 357 | #[tracing::instrument(level = "debug", skip(self))] |
| 358 | fn get_song_key(&self) -> String { |
| 359 | if let Some(current_song) = &self.data.current_song { |
| 360 | return current_song |
| 361 | .song |
| 362 | .provider_extension |
| 363 | .clone() |
| 364 | .unwrap_or(current_song.song.type_.to_string()); |
| 365 | } |
| 366 | "".to_string() |
| 367 | } |
| 368 | |
| 369 | #[tracing::instrument(level = "debug", skip(self, volume))] |
| 370 | pub fn set_volume(&mut self, volume: f64) { |
no test coverage detected