set default, in case playlist don't includes the category
This commit is contained in:
parent
bbc06fafb0
commit
89226e179c
@ -48,6 +48,7 @@ pub struct Media {
|
||||
pub out: f64,
|
||||
pub duration: f64,
|
||||
|
||||
#[serde(default)]
|
||||
pub category: String,
|
||||
pub source: String,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user