(&self)
| 107 | |
| 108 | #[tracing::instrument(level = "debug", skip(self))] |
| 109 | pub fn clear_queue_and_play(&self) { |
| 110 | let player_store = use_context::<RwSignal<PlayerStore>>().unwrap(); |
| 111 | player_store.update(|store| { |
| 112 | store.clear_queue(); |
| 113 | store.play_now_multiple(self.current_or_list()) |
| 114 | }); |
| 115 | } |
| 116 | |
| 117 | #[tracing::instrument(level = "debug", skip(self))] |
| 118 | pub fn add_to_library(&self) { |
nothing calls this directly
no test coverage detected