Tweaked some changes

This commit is contained in:
2025-10-11 14:17:32 -04:00
parent fa8643e73a
commit 73c8fd2634

View File

@@ -90,6 +90,7 @@ impl Song {
}
}
// TODO: Make this available as a function
pub fn to_data(&self) -> Result<Vec<u8>, std::io::Error> {
let path_result = self.song_path();
@@ -109,6 +110,7 @@ impl Song {
}
}
// TODO: Make this available as a function
pub fn generate_filename(&self, typ: types::MusicTypes, randomize: bool) -> String {
let mut filename: String = String::new();
let filename_len = 10;