ADMIN: Added track management
Build and Publish / Build and Publish Docker Image (push) Successful in 3m0s

This commit is contained in:
2026-05-29 01:23:14 +03:00
parent 66bb127d43
commit c3b70dc16c
2 changed files with 3 additions and 2 deletions
Generated
+1 -1
View File
@@ -1418,7 +1418,7 @@ checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c"
[[package]]
name = "furumusic"
version = "0.2.6"
version = "0.2.7"
dependencies = [
"anyhow",
"async-trait",
+2 -1
View File
@@ -370,7 +370,8 @@ pub async fn save_cover_to_storage(
}
let ext = extension_for_mime(&cover.mime_type);
let filename = format!("cover.{ext}");
let hash_prefix: String = hash.chars().take(12).collect();
let filename = format!("cover-{hash_prefix}.{ext}");
let artist_dir = sanitize_dir_name(artist_name);
let album_dir = sanitize_dir_name(release_title);