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
+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);