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

Method play_now

src/utils/context_menu.rs:91–94  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

89
90 #[tracing::instrument(level = "debug", skip(self))]
91 pub fn play_now(&self) {
92 let player_store = use_context::<RwSignal<PlayerStore>>().unwrap();
93 player_store.update(|store| store.play_now_multiple(self.current_or_list()));
94 }
95
96 #[tracing::instrument(level = "debug", skip(self))]
97 pub fn add_to_queue(&self) {

Callers 9

SongListItemFunction · 0.45
SongListFunction · 0.45
TopBarFunction · 0.45
AllSongsFunction · 0.45
SingleAlbumFunction · 0.45
ExploreFunction · 0.45
SinglePlaylistFunction · 0.45
SingleArtistFunction · 0.45
SingleGenreFunction · 0.45

Calls 2

play_now_multipleMethod · 0.80
current_or_listMethod · 0.80

Tested by

no test coverage detected