update queued song (#28)

Reviewed-on: #28
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
phoenix
2025-06-28 23:23:41 +00:00
committed by phoenix
parent e138bf7a2e
commit 2f05c20d4e
6 changed files with 142 additions and 62 deletions
+6
View File
@@ -0,0 +1,6 @@
pub fn path_buf_to_string(path: &std::path::Path) -> String {
match path.to_str() {
Some(val) => String::from(val),
None => String::new(),
}
}