(en: bool)
| 104 | |
| 105 | #[tracing::instrument(level = "debug", skip(en))] |
| 106 | pub fn set_enabled(en: bool) { |
| 107 | *(ENABLED.lock().unwrap()) = en; |
| 108 | LibrespotPlayer::initialize_librespot(); |
| 109 | } |
| 110 | |
| 111 | #[tracing::instrument(level = "debug", skip(init))] |
| 112 | pub fn set_initialized(init: bool) { |
nothing calls this directly
no test coverage detected