set default, in case playlist don't includes the category

This commit is contained in:
jb-alvarado 2022-06-25 23:12:20 +02:00
parent bbc06fafb0
commit 89226e179c

View File

@ -48,6 +48,7 @@ pub struct Media {
pub out: f64, pub out: f64,
pub duration: f64, pub duration: f64,
#[serde(default)]
pub category: String, pub category: String,
pub source: String, pub source: String,