(&mut self)
| 472 | |
| 473 | #[tracing::instrument(level = "debug", skip(self))] |
| 474 | pub fn next_song(&mut self) { |
| 475 | self.data.queue.current_index += 1; |
| 476 | if self.data.queue.current_index >= self.data.queue.song_queue.len() { |
| 477 | self.data.queue.current_index = 0; |
| 478 | } |
| 479 | self.update_current_song(true); |
| 480 | } |
| 481 | |
| 482 | #[tracing::instrument(level = "debug", skip(self))] |
| 483 | pub fn prev_song(&mut self) { |
no test coverage detected