MCPcopy Create free account
hub / github.com/Moosync/Moosync / play_next

Method play_next

src/store/player_store.rs:282–284  ·  view source on GitHub ↗
(&mut self, song: Song)

Source from the content-addressed store, hash-verified

280
281 #[tracing::instrument(level = "debug", skip(self, song))]
282 pub fn play_next(&mut self, song: Song) {
283 self.insert_song_at_index(song, self.data.queue.current_index + 1, true);
284 }
285
286 #[tracing::instrument(level = "debug", skip(self, songs))]
287 pub fn play_next_multiple(&mut self, songs: Vec<Song>) {

Callers 1

play_next_multipleMethod · 0.45

Calls 1

insert_song_at_indexMethod · 0.80

Tested by

no test coverage detected