Added function to make coverart init easier #24
@@ -13,7 +13,7 @@ pub struct CoverArt {
|
||||
pub mod init {
|
||||
use crate::coverart::CoverArt;
|
||||
|
||||
pub fn init_coverart_only_path(path: &String) -> CoverArt {
|
||||
pub fn init_coverart_only_path(path: String) -> CoverArt {
|
||||
CoverArt {
|
||||
id: uuid::Uuid::new_v4(),
|
||||
title: String::new(),
|
||||
|
Reference in New Issue
Block a user