$results = Slot::find()->select([
'slot.logo as `dir`',
'room.title as `room`',
'meeting.logo as `logo`',
'meeting.title as `title`',
'meeting.start as `start`',
'meeting.end as `end`'
])->joinWith(['meeting', 'room'])->where(
'slot.screen_id = :screen_id AND meeting.start < NOW() AND meeting.end > NOW()',
['screen_id' => $screen_id]
)->all();
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
sudo mdutil -a -i on