diff --git a/src/core_api.rs b/src/core_api.rs index 72e7a76..a529a85 100644 --- a/src/core_api.rs +++ b/src/core_api.rs @@ -82,7 +82,7 @@ pub enum MpvDataType { } /// A mpv playlist. -#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] +#[derive(Debug, Clone, PartialEq, Eq, Default, Serialize, Deserialize)] pub struct Playlist(pub Vec); /// A single entry in the mpv playlist.