diff options
Diffstat (limited to 'src/watch/events/mod.rs')
-rw-r--r-- | src/watch/events/mod.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/watch/events/mod.rs b/src/watch/events/mod.rs index 1459147..41a7772 100644 --- a/src/watch/events/mod.rs +++ b/src/watch/events/mod.rs @@ -69,11 +69,7 @@ impl MpvEventHandler { let current_playlist = self.playlist_handler.playlist_ids(mpv)?; let play_things = play_things .into_iter() - .filter(|val| { - !current_playlist - .values() - .any(|a| a == &val.extractor_hash) - }) + .filter(|val| !current_playlist.values().any(|a| a == &val.extractor_hash)) .filter(|val| { if self .watch_later_block_list |