core_api: add Default for Playlist
Some checks failed
Build and test / test (push) Failing after 2m55s
Build and test / check (push) Successful in 10m43s
Build and test / build (push) Successful in 11m10s
Build and test / docs (push) Successful in 11m25s

This commit is contained in:
Oystein Kristoffer Tveit 2024-12-12 12:19:38 +01:00
parent 531de70b96
commit 21f8a043eb
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146

View File

@ -82,7 +82,7 @@ pub enum MpvDataType {
} }
/// A mpv playlist. /// A mpv playlist.
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] #[derive(Debug, Clone, PartialEq, Eq, Default, Serialize, Deserialize)]
pub struct Playlist(pub Vec<PlaylistEntry>); pub struct Playlist(pub Vec<PlaylistEntry>);
/// A single entry in the mpv playlist. /// A single entry in the mpv playlist.