Added function to make coverart init easier #24

Merged
phoenix merged 4 commits from add_coverart_init into devel 2025-04-04 02:21:31 +00:00
Showing only changes of commit caae91dad5 - Show all commits

View File

@@ -13,7 +13,7 @@ pub struct CoverArt {
pub mod init { pub mod init {
use crate::coverart::CoverArt; use crate::coverart::CoverArt;
pub fn init_coverart_only_path(path: &String) -> CoverArt { pub fn init_coverart_only_path(path: String) -> CoverArt {
CoverArt { CoverArt {
id: uuid::Uuid::new_v4(), id: uuid::Uuid::new_v4(),
title: String::new(), title: String::new(),