(&mut self, songs: Vec<Song>, index: usize)
| 219 | |
| 220 | #[tracing::instrument(level = "debug", skip(self, songs, index))] |
| 221 | fn add_to_queue_at_index(&mut self, songs: Vec<Song>, index: usize) { |
| 222 | let mut index = index; |
| 223 | for song in songs { |
| 224 | self.insert_song_at_index(song, index, false); |
| 225 | index += 1; |
| 226 | } |
| 227 | |
| 228 | self.dump_store(&[DumpType::QueueData, DumpType::SongQueue]); |
| 229 | } |
| 230 | |
| 231 | #[tracing::instrument(level = "debug", skip(self, index))] |
| 232 | pub fn remove_from_queue(&mut self, index: usize) { |
no test coverage detected