auto formatting
This commit is contained in:
parent
be2132735b
commit
71b148cce4
10
src/lib.rs
10
src/lib.rs
|
@ -54,7 +54,7 @@ pub enum MpvCommand {
|
|||
},
|
||||
Observe {
|
||||
id: isize,
|
||||
property: String
|
||||
property: String,
|
||||
},
|
||||
PlaylistNext,
|
||||
PlaylistPrev,
|
||||
|
@ -488,9 +488,7 @@ impl Mpv {
|
|||
},
|
||||
],
|
||||
),
|
||||
MpvCommand::Observe { id, property } => {
|
||||
observe_mpv_property(self, &id, &property)
|
||||
}
|
||||
MpvCommand::Observe { id, property } => observe_mpv_property(self, &id, &property),
|
||||
MpvCommand::PlaylistClear => run_mpv_command(self, "playlist-clear", &[]),
|
||||
MpvCommand::PlaylistMove { from, to } => {
|
||||
run_mpv_command(self, "playlist-move", &[&from.to_string(), &to.to_string()])
|
||||
|
@ -516,9 +514,7 @@ impl Mpv {
|
|||
],
|
||||
),
|
||||
MpvCommand::Stop => run_mpv_command(self, "stop", &[]),
|
||||
MpvCommand::Unobserve(id) => {
|
||||
unobserve_mpv_property(self, &id)
|
||||
}
|
||||
MpvCommand::Unobserve(id) => unobserve_mpv_property(self, &id),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue