diff --git a/src/event_parser.rs b/src/event_parser.rs index e751c0b..4aac655 100644 --- a/src/event_parser.rs +++ b/src/event_parser.rs @@ -88,8 +88,7 @@ pub(crate) fn parse_event(raw_event: MpvIpcEvent) -> Result { "metadata-update" => Ok(Event::MetadataUpdate), "seek" => Ok(Event::Seek), "playback-restart" => Ok(Event::PlaybackRestart), - "property-change" => parse_event_property(event) - .map(|(id, property)| Event::PropertyChange { id, property }), + "property-change" => parse_event_property(event).map(|(id, property)| Event::PropertyChange { id, property }), "chapter-change" => Ok(Event::ChapterChange), "client-message" => { let args = event