logging for mpv commands

This commit is contained in:
Erica Z 2024-11-04 12:33:57 +01:00
parent ea31535bfb
commit e262d31261

View file

@ -103,6 +103,7 @@ impl Handle {
.map(CString::new) .map(CString::new)
.map(Result::unwrap) .map(Result::unwrap)
.collect(); .collect();
event!(Level::DEBUG, "sending command to mpv: {:?}", args);
let mut args: Vec<*const c_char> = args let mut args: Vec<*const c_char> = args
.iter() .iter()
.map(CString::as_c_str) .map(CString::as_c_str)