hack to filter mpv's events